*/
private ICreateSessionDialog fCreateSessionDialog;
+ /**
+ * The command script selection dialog.
+ */
+ private ISelectCommandScriptDialog fCommandScriptDialog;
+
/**
* The enable events dialog.
*/
return fCreateSessionDialog;
}
+ /**
+ * @return command script selection dialog implementation
+ */
+ public ISelectCommandScriptDialog getCommandScriptDialog() {
+ if (fCommandScriptDialog == null) {
+ fCommandScriptDialog = new OpenCommandScriptDialog(PlatformUI.getWorkbench().getActiveWorkbenchWindow().getShell());
+ }
+ return fCommandScriptDialog;
+ }
+
/**
* Sets a create session dialog implementation.
* @param createSessionDialog - a create session implementation.