Examples of OrgFunctionDefinition


Examples of org.jbpm.ui.orgfunctions.OrgFunctionDefinition

                    dialog.setItems(getAsTree());
                    if (dialog.open() == IDialogConstants.OK_ID) {
                        TreeItem treeItem = dialog.getSelectedItem();
                        selectionText.setText(treeItem.getLabel());
                        selectionText.setForeground(treeItem.getColor());
                        OrgFunctionDefinition definition = createNew();
                        definition.getParameters().get(0).setValue((String) treeItem.getTag());
                        fireCompletedEvent(definition);
                    }
                } catch (Exception ex) {
                    DesignerLogger.logError("Unable to load executors", ex);
                }
View Full Code Here

Examples of org.jbpm.ui.orgfunctions.OrgFunctionDefinition

                if (path.startsWith(swimlaneElement.getName())) {
                    int index = swimlaneElements.indexOf(swimlaneElement);
                    if (index > 1) {
                        orgFunctionsTabFolder.setSelection(index-1);
                    }
                    OrgFunctionDefinition definition = OrgFunctionsRegistry.parseSwimlaneConfiguration(configuration);
                    swimlaneElement.open(path, swimlane.getName(), definition);
                } else {
                    swimlaneElement.close();
                }
            }
View Full Code Here

Examples of org.jbpm.ui.orgfunctions.OrgFunctionDefinition

    @Override
    protected void validate() {
        super.validate();
        try {
            OrgFunctionDefinition definition = OrgFunctionsRegistry.parseSwimlaneConfiguration(getDelegationConfiguration());
            if (definition != null) {
                List<String> errors = definition.getErrors(getProcessDefinition());
                for (String errorKey : errors) {
                    addError(errorKey);
                }
            }
        } catch (RuntimeException 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.