use of org.knime.workbench.editor2.subnode.SubnodeLayoutWizard in project knime-core by knime.
the class SubnodeLayoutAction method runOnNodes.
/**
* {@inheritDoc}
*/
@Override
public void runOnNodes(final NodeContainerEditPart[] nodeParts) {
WorkflowManager manager = getManager();
SubNodeContainer subnode = (SubNodeContainer) manager.getDirectNCParent();
SubnodeLayoutWizard wizard = new SubnodeLayoutWizard(subnode);
WizardDialog dlg = new WizardDialog(Display.getCurrent().getActiveShell(), wizard);
dlg.create();
dlg.open();
}
Aggregations