Package org.jbpm.ui.dialog

Examples of org.jbpm.ui.dialog.ChooseVariableDialog


            bshCodeText.addLineStyleListener(new JavaHighlightTextStyling(bshVariableNames));

            hl3.addHyperlinkListener(new HyperlinkAdapter() {
                @Override
                public void linkActivated(HyperlinkEvent e) {
                    ChooseVariableDialog dialog = new ChooseVariableDialog(bshVariableNames);
                    String variableName = dialog.openDialog();
                    if (variableName != null) {
                        bshCodeText.insert(variableName);
                        bshCodeText.setFocus();
                        bshCodeText.setCaretOffset(bshCodeText.getCaretOffset() + variableName.length());
                    }
View Full Code Here


            hl3.setLayoutData(new GridData(GridData.HORIZONTAL_ALIGN_END));
            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

            hl3.setLayoutData(new GridData(GridData.FILL_HORIZONTAL | GridData.HORIZONTAL_ALIGN_END));
            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

TOP

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

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.