Package org.jbpm.ui.common.action

Examples of org.jbpm.ui.common.action.OpenFormValidationDelegate


            } catch (CoreException e) {
                DesignerLogger.logError(e);
            }
        } else if (ElementMatch.CONTEXT_FORM_VALIDATION.equals(elementMatch.getContext())) {
            FormNode formNode = (FormNode) elementMatch.getGraphElement();
            OpenFormValidationDelegate delegate = new OpenFormValidationDelegate();
            delegate.openValidationFile(formNode, elementMatch.getFile());
        } else if (elementMatch.getGraphElement() instanceof Delegable) {
            Delegable delegable = (Delegable) elementMatch.getGraphElement();
            DelegableProvider provider = CustomizationRegistry.getProvider(delegable.getDelegationClassName());
            String newConfig = provider.showConfigurationDialog(delegable);
            if (newConfig != null) {
                delegable.setDelegationConfiguration(newConfig);
            }
        } 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) {
View Full Code Here

TOP

Related Classes of org.jbpm.ui.common.action.OpenFormValidationDelegate

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.