Search in sources :

Example 1 with ImportAttributesWizard

use of com.centurylink.mdw.plugin.designer.wizards.ImportAttributesWizard in project mdw-designer by CenturyLinkCloud.

the class WorkflowElementActionHandler method importAttributes.

public void importAttributes(String attributePrefix, WorkflowElement element) {
    if (element instanceof WorkflowPackage || element instanceof WorkflowProcess) {
        ImportAttributesWizard importAttributesWizard = new ImportAttributesWizard();
        importAttributesWizard.init(getWorkbench(), element);
        importAttributesWizard.setPrefix(attributePrefix);
        new WizardDialog(getShell(), importAttributesWizard).open();
    }
}
Also used : WorkflowPackage(com.centurylink.mdw.plugin.designer.model.WorkflowPackage) ImportAttributesWizard(com.centurylink.mdw.plugin.designer.wizards.ImportAttributesWizard) WorkflowProcess(com.centurylink.mdw.plugin.designer.model.WorkflowProcess) WizardDialog(org.eclipse.jface.wizard.WizardDialog)

Aggregations

WorkflowPackage (com.centurylink.mdw.plugin.designer.model.WorkflowPackage)1 WorkflowProcess (com.centurylink.mdw.plugin.designer.model.WorkflowProcess)1 ImportAttributesWizard (com.centurylink.mdw.plugin.designer.wizards.ImportAttributesWizard)1 WizardDialog (org.eclipse.jface.wizard.WizardDialog)1