use of org.talend.designer.runprocess.ui.views.ProcessView in project tdi-studio-se by Talend.
the class RunProcessAction method run.
@Override
public void run() {
if ((ProcessComposite.getProcessContext() != null && !ProcessComposite.getProcessContext().isRunning())) {
IWorkbench workbench = PlatformUI.getWorkbench();
IWorkbenchPage page = workbench.getActiveWorkbenchWindow().getActivePage();
// TODO SML Use getInstance
ShowRunProcessViewAction action = new ShowRunProcessViewAction();
action.run();
// TODO SML Optimize
ProcessView view = (ProcessView) page.getActivePart();
view.runAction.run();
}
}
Aggregations