tmf: Update Javadoc throughout tmf.ui
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.ui / src / org / eclipse / linuxtools / tmf / ui / views / filter / FilterDialog.java
index 5e04ce9ef358ebda6f05b49b9d1d3e13490f097e..5e83e058fef4ce61f75752cb069b8dc29233f386 100644 (file)
@@ -1,11 +1,11 @@
 /*******************************************************************************\r
  * Copyright (c) 2010 Ericsson\r
- * \r
+ *\r
  * All rights reserved. This program and the accompanying materials are\r
  * made available under the terms of the Eclipse Public License v1.0 which\r
  * accompanies this distribution, and is available at\r
  * http://www.eclipse.org/legal/epl-v10.html\r
- * \r
+ *\r
  * Contributors:\r
  *   Patrick Tasse - Initial API and implementation\r
  *******************************************************************************/\r
@@ -21,11 +21,23 @@ import org.eclipse.swt.widgets.Composite;
 import org.eclipse.swt.widgets.Control;\r
 import org.eclipse.swt.widgets.Shell;\r
 \r
+/**\r
+ * The dialog for user-defined filters.\r
+ *\r
+ * @version 1.0\r
+ * @author Patrick Tasse\r
+ */\r
 public class FilterDialog extends Dialog {\r
 \r
        TmfFilterNode fRoot;\r
        FilterViewer fViewer;\r
-       \r
+\r
+    /**\r
+     * Constructor.\r
+     *\r
+     * @param shell\r
+     *            The shell to which this dialog is attached\r
+     */\r
        public FilterDialog(Shell shell) {\r
                super(shell);\r
                setShellStyle(getShellStyle() | SWT.RESIZE | SWT.MAX);\r
@@ -39,7 +51,7 @@ public class FilterDialog extends Dialog {
         getShell().setText(Messages.FilterDialog_FilterDialogTitle);\r
                getShell().setMinimumSize(getShell().computeSize(500, 200));\r
         Composite composite = (Composite) super.createDialogArea(parent);\r
-        \r
+\r
         fViewer = new FilterViewer(composite, SWT.BORDER);\r
         fViewer.setInput(fRoot);\r
         return composite;\r
@@ -57,7 +69,7 @@ public class FilterDialog extends Dialog {
                        fViewer.setInput(fRoot);\r
                }\r
        }\r
-       \r
+\r
        /**\r
         * @return the filter\r
         */\r
This page took 0.033521 seconds and 5 git commands to generate.