Package org.jbpm.ui.dialog

Examples of org.jbpm.ui.dialog.UpdateVariableNameDialog


        @Override
        public void widgetSelected(SelectionEvent e) {
            IStructuredSelection selection = (IStructuredSelection) viewer.getSelection();
            Variable variable = (Variable) selection.getFirstElement();

            UpdateVariableNameDialog dialog = new UpdateVariableNameDialog(editor.getDefinition());
            dialog.setName(variable.getName());
            int result = dialog.open();
            if (result != IDialogConstants.OK_ID) {
                return;
            }
            String replacement = dialog.getName();

            IResource projectRoot = editor.getDefinitionFile().getParent();
            PortabilityRefactoring ref = new PortabilityRefactoring(
                    editor.getDefinitionFile(), editor.getDefinition(),
                    variable.getName(), replacement);
View Full Code Here

TOP

Related Classes of org.jbpm.ui.dialog.UpdateVariableNameDialog

Copyright © 2018 www.massapicom. 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.