public void run() {
IProject project = getDubProjectFromSelection();
DubProcessManager dubMgr = DeeCore.getWorkspaceModelManager().getProcessManager();
NullProgressMonitor monitor = new NullProgressMonitor(); // TODO: should create Job for this
dubMgr.submitDubCommand(dubMgr.newDubOperation(
DeeCoreMessages.RunningDubCommand, null, getCommands(project), monitor));
}
protected abstract String[] getCommands(IProject project);