Package org.jbpm.ui.common.model

Examples of org.jbpm.ui.common.model.Delegable


        } 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) {
View Full Code Here


import org.jbpm.ui.custom.DelegableProvider;

public class OpenDelegableConfigurationDelegate extends BaseActionDelegate {

    public void run(IAction action) {
      Delegable delegable = (Delegable) selectedPart.getModel();
        DelegableProvider provider = CustomizationRegistry.getProvider(delegable.getDelegationClassName());
        String newConfig = provider.showConfigurationDialog(delegable);
        if (newConfig != null) {
            delegable.setDelegationConfiguration(newConfig);
        }
    }
View Full Code Here

TOP

Related Classes of org.jbpm.ui.common.model.Delegable

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.