]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.browsing.ui.swt/src/org/simantics/browsing/ui/swt/RootFilterArea.java
Fixed all line endings of the repository
[simantics/platform.git] / bundles / org.simantics.browsing.ui.swt / src / org / simantics / browsing / ui / swt / RootFilterArea.java
index 11184d335fe2c78cea6ce25c26d305604eb70926..dac993bc513d082d24b61b9b762df8edcfe00d52 100644 (file)
@@ -1,49 +1,49 @@
-/*******************************************************************************\r
- * Copyright (c) 2007, 2012 Association for Decentralized Information Management\r
- * in Industry THTH ry.\r
- * All rights reserved. This program and the accompanying materials\r
- * are made available under the terms of the Eclipse Public License v1.0\r
- * which accompanies this distribution, and is available at\r
- * http://www.eclipse.org/legal/epl-v10.html\r
- *\r
- * Contributors:\r
- *     VTT Technical Research Centre of Finland - initial API and implementation\r
- *******************************************************************************/\r
-package org.simantics.browsing.ui.swt;\r
-\r
-import org.eclipse.swt.widgets.Composite;\r
-import org.simantics.browsing.ui.GraphExplorer;\r
-import org.simantics.browsing.ui.NodeContext;\r
-import org.simantics.browsing.ui.common.processors.FilterSelectionRequestQueryProcessor;\r
-\r
-/**\r
- * A FilterArea variant that always filters the explorer root node instead of\r
- * the currently selected one.\r
- * \r
- * @author Tuukka Lehtonen\r
- */\r
-public class RootFilterArea extends FilterArea {\r
-\r
-    /**\r
-     * Construct the filter area UI component.\r
-     * \r
-     * @param explorer\r
-     * @param queryProcessor\r
-     * @param parent\r
-     * @param style\r
-     */\r
-    public RootFilterArea(final GraphExplorer explorer, final FilterSelectionRequestQueryProcessor queryProcessor, Composite parent, int style) {\r
-        super(explorer, queryProcessor, parent, style);\r
-    }\r
-\r
-    @Override\r
-    protected void addExplorerSelectionListener() {\r
-        // Intentional NOP.\r
-    }\r
-\r
-    @Override\r
-    protected NodeContext getFilteredNode() {\r
-        return explorer.getRoot();\r
-    }\r
-\r
-}\r
+/*******************************************************************************
+ * Copyright (c) 2007, 2012 Association for Decentralized Information Management
+ * in Industry THTH ry.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ *     VTT Technical Research Centre of Finland - initial API and implementation
+ *******************************************************************************/
+package org.simantics.browsing.ui.swt;
+
+import org.eclipse.swt.widgets.Composite;
+import org.simantics.browsing.ui.GraphExplorer;
+import org.simantics.browsing.ui.NodeContext;
+import org.simantics.browsing.ui.common.processors.FilterSelectionRequestQueryProcessor;
+
+/**
+ * A FilterArea variant that always filters the explorer root node instead of
+ * the currently selected one.
+ * 
+ * @author Tuukka Lehtonen
+ */
+public class RootFilterArea extends FilterArea {
+
+    /**
+     * Construct the filter area UI component.
+     * 
+     * @param explorer
+     * @param queryProcessor
+     * @param parent
+     * @param style
+     */
+    public RootFilterArea(final GraphExplorer explorer, final FilterSelectionRequestQueryProcessor queryProcessor, Composite parent, int style) {
+        super(explorer, queryProcessor, parent, style);
+    }
+
+    @Override
+    protected void addExplorerSelectionListener() {
+        // Intentional NOP.
+    }
+
+    @Override
+    protected NodeContext getFilteredNode() {
+        return explorer.getRoot();
+    }
+
+}