Examples of RightClickHandler


Examples of org.jbpm.formapi.common.handler.RightClickHandler

    private boolean saved = false;
    private long lastModified = 0L;
   
    public FBForm() {
        super();
        EventHelper.addRightClickHandler(this, new RightClickHandler() {
            @Override
            public void onRightClick(RightClickEvent event) {
                popup.setPopupPosition(event.getX(), event.getY());
                popup.show();
            }
View Full Code Here

Examples of org.jbpm.formapi.common.handler.RightClickHandler

    }
   
    @Override
    public TaskRow newTaskRow(final TaskRef task, boolean even) {
        TaskRow row = view.createTaskRow(task, even);
        row.addRightClickHandler(new RightClickHandler() {
            @Override
            public void onRightClick(RightClickEvent event) {
                final CommandPopupPanel panel = new CommandPopupPanel(true);
                panel.setPopupPosition(event.getX(), event.getY());
                panel.addItem(i18n.SelectIOObjectCommand(), new Command() {
View Full Code Here

Examples of org.jbpm.formapi.common.handler.RightClickHandler

        return row;
    }
   
    @Override
    public void addQuickFormHandling(final TaskRow row) {
        row.addRightClickHandler(new RightClickHandler() {
            @Override
            public void onRightClick(final RightClickEvent event) {
                final CommandPopupPanel panel = new CommandPopupPanel(true);
                panel.setPopupPosition(event.getX(), event.getY());
                panel.addItem(i18n.QuickFormIOObjectCommand(), new Command() {
View Full Code Here

Examples of org.jbpm.formapi.common.handler.RightClickHandler

    private ExternalData external = null;

    public FBFormItem(List<FBFormEffect> formEffects) {
        this.effects.addAll(formEffects);
        addStyleName("fbFormItemThinBorder");
        EventHelper.addRightClickHandler(this, new RightClickHandler() {
            @Override
            public void onRightClick(RightClickEvent event) {
                EffectsPopupPanel popupPanel = new EffectsPopupPanel(
                        FBFormItem.this, true);
                if (getFormEffects() != null && !getFormEffects().isEmpty()) {
View Full Code Here

Examples of org.jbpm.formapi.common.handler.RightClickHandler

                    bus.fireEvent(new FormItemSelectionEvent(item, true));
                }
            }
        });
        add(panel);
        addRightClickHandler(new RightClickHandler() {
            @Override
            public void onRightClick(RightClickEvent event) {
                if (item != null) {
                    EffectsPopupPanel popupPanel = new EffectsPopupPanel(item, true);
                    if (item.getFormEffects() != null && !item.getFormEffects().isEmpty()) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.