Added some more JUnit tests
[deliverable/tracecompass.git] / org.eclipse.linuxtools.lttng.ui / src / org / eclipse / linuxtools / lttng / ui / views / control / dialogs / CreateSessionDialog.java
index ef66896e6c4c9ba1f8bbc38f42633321793966c4..ae9e88c972320de8341faabb219e79b7741a812f 100644 (file)
@@ -87,11 +87,9 @@ public class CreateSessionDialog extends Dialog implements ICreateSessionDialog
     /**
      * Constructor
      * @param shell - a shell for the display of the dialog
-     * @param parent - trace control parent for validation of session name
      */
-    public CreateSessionDialog(Shell shell, TraceSessionGroup parent) {
+    public CreateSessionDialog(Shell shell) {
         super(shell);
-        fParent = parent;
     }
 
     // ------------------------------------------------------------------------
@@ -124,6 +122,15 @@ public class CreateSessionDialog extends Dialog implements ICreateSessionDialog
         return fIsDefaultPath;
     }
 
+    /*
+     * (non-Javadoc)
+     * @see org.eclipse.linuxtools.lttng.ui.views.control.dialogs.ICreateSessionDialog#setTraceSessionGroup(org.eclipse.linuxtools.lttng.ui.views.control.model.impl.TraceSessionGroup)
+     */
+    @Override
+    public void setTraceSessionGroup(TraceSessionGroup group) {
+        fParent = group;
+    }
+
     // ------------------------------------------------------------------------
     // Operations
     // ------------------------------------------------------------------------
This page took 0.025797 seconds and 5 git commands to generate.