Examples of openDialog()


Examples of org.jbpm.ui.dialog.ChooseVariableDialog.openDialog()

            hl3.setText(Messages.getString("button.insert_variable"));
            hl3.addHyperlinkListener(new HyperlinkAdapter() {
                @Override
                public void linkActivated(HyperlinkEvent e) {
                    ChooseVariableDialog dialog = new ChooseVariableDialog(variableNames);
                    String variableName = dialog.openDialog();
                    if (variableName != null) {
                        if (variableName.indexOf(" ") > 0)
                            variableName = "'" + variableName + "'";
                        styledText.insert(variableName);
                        styledText.setFocus();
View Full Code Here

Examples of org.jbpm.ui.dialog.ChooseVariableDialog.openDialog()

            hl3.setText(Messages.getString("button.insert_variable"));
            hl3.addHyperlinkListener(new HyperlinkAdapter() {
                @Override
                public void linkActivated(HyperlinkEvent e) {
                    ChooseVariableDialog dialog = new ChooseVariableDialog(variableNames);
                    String variableName = dialog.openDialog();
                    if (variableName != null) {
                        styledText.insert(variableName);
                        styledText.setFocus();
                        styledText.setCaretOffset(styledText.getCaretOffset() + variableName.length());
                    }
View Full Code Here

Examples of org.jbpm.ui.dialog.DurationEditDialog.openDialog()

        }

        @Override
        protected Object openDialogBox(Control cellEditorWindow) {
            DurationEditDialog dialog = new DurationEditDialog(((GraphElement) timed).getProcessDefinition(), timed.getDuration());
            return dialog.openDialog();
        }
    }
}
View Full Code Here

Examples of org.jbpm.ui.dialog.TimerActionEditDialog.openDialog()

        }

        @Override
        protected Object openDialogBox(Control cellEditorWindow) {
            TimerActionEditDialog dialog = new TimerActionEditDialog(element);
            return dialog.openDialog();
        }
    }
}
View Full Code Here

Examples of org.pdtextensions.core.ui.refactoring.RenameSupport.openDialog()

    //XXX workaround bug 31998
    if (ActionUtil.mustDisableScriptModelAction(getShell(), element)) return;

    final RenameSupport support = createRenameSupport(element, null, RenameSupport.UPDATE_REFERENCES);
    if (support != null && support.preCheck().isOK()) {
      support.openDialog(getShell());
    }
  }

  private static boolean isRenameAvailable(IModelElement element) throws CoreException {
    switch (element.getElementType()) {
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.