Package org.jbpm.ui.editor

Examples of org.jbpm.ui.editor.DesignerEditor.select()


        } else if (elementMatch.getGraphElement() instanceof Subprocess) {
            SubprocessDelegate delegate = new SubprocessDelegate();
            delegate.openDetails((Subprocess) elementMatch.getGraphElement());
        } else if (elementMatch.getGraphElement() != null) {
            DesignerEditor designerEditor = (DesignerEditor) IDE.openEditor(getSite().getPage(), elementMatch.getFile());
            designerEditor.select(elementMatch.getGraphElement());
        }
        if (editor == null) {
            return;
        }
        if (offset != 0 && length != 0) {
View Full Code Here


    private void editSwimlane() {
        DesignerEditor editor = ((DesignerGraphicalEditorPart) targetPart).getEditor();
        editor.openPage(1);
        if (currentNode.getSwimlane() != null) {
            editor.select(currentNode.getSwimlane());
        }
    }

    public class SetSwimlaneAction extends Action {
        @Override
View Full Code Here

                List<? extends Action> activeActions = active.getActions();
                graphElement = activeActions.get(actionIndex);
            }

            if (graphElement != null) {
                designerEditor.select(graphElement);
            }

        } catch (Exception e) {
            // don't display error to user
            DesignerLogger.logErrorWithoutDialog("Unable select element", e);
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.