Search in sources :

Example 1 with ExportAttributesWizard

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

the class WorkflowElementActionHandler method exportAttributes.

public void exportAttributes(String attributePrefix, WorkflowElement element) {
    if (element instanceof WorkflowPackage || element instanceof WorkflowProcess) {
        ExportAttributesWizard exportAttributesWizard = new ExportAttributesWizard();
        exportAttributesWizard.init(getWorkbench(), element);
        exportAttributesWizard.setPrefix(attributePrefix);
        new WizardDialog(getShell(), exportAttributesWizard).open();
    }
}
Also used : WorkflowPackage(com.centurylink.mdw.plugin.designer.model.WorkflowPackage) ExportAttributesWizard(com.centurylink.mdw.plugin.designer.wizards.ExportAttributesWizard) 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 ExportAttributesWizard (com.centurylink.mdw.plugin.designer.wizards.ExportAttributesWizard)1 WizardDialog (org.eclipse.jface.wizard.WizardDialog)1