-/*******************************************************************************\r
- * Copyright (c) 2010 Ericsson\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
- * Contributors:\r
- * Patrick Tasse - Initial API and implementation\r
- *******************************************************************************/\r
-\r
-package org.eclipse.linuxtools.tmf.core.filter.model;\r
-\r
-import java.util.Arrays;\r
-import java.util.List;\r
-\r
-import org.eclipse.linuxtools.tmf.core.event.ITmfEvent;\r
-\r
-/**\r
- * The Filter tree root node\r
- *\r
- * @version 1.0\r
- * @author Patrick Tasse\r
- */\r
-public class TmfFilterRootNode extends TmfFilterTreeNode {\r
-\r
- @SuppressWarnings("javadoc")\r
- public static final String NODE_NAME = "ROOT"; //$NON-NLS-1$\r
-\r
- private static final String[] VALID_CHILDREN = {\r
- TmfFilterNode.NODE_NAME\r
- };\r
-\r
- /**\r
- * Default constructor\r
- */\r
- public TmfFilterRootNode() {\r
- super(null);\r
- }\r
-\r
- @Override\r
- public String getNodeName() {\r
- return NODE_NAME;\r
- }\r
-\r
- @Override\r
- public boolean matches(ITmfEvent event) {\r
- for (ITmfFilterTreeNode node : getChildren()) {\r
- if (! node.matches(event)) {\r
- return false;\r
- }\r
- }\r
- return true;\r
- }\r
-\r
- @Override\r
- public List<String> getValidChildren() {\r
- return Arrays.asList(VALID_CHILDREN);\r
- }\r
-\r
-}\r
+/*******************************************************************************
+ * Copyright (c) 2010 Ericsson
+ *
+ * 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:
+ * Patrick Tasse - Initial API and implementation
+ *******************************************************************************/
+
+package org.eclipse.linuxtools.tmf.core.filter.model;
+
+import java.util.Arrays;
+import java.util.List;
+
+import org.eclipse.linuxtools.tmf.core.event.ITmfEvent;
+
+/**
+ * The Filter tree root node
+ *
+ * @version 1.0
+ * @author Patrick Tasse
+ */
+public class TmfFilterRootNode extends TmfFilterTreeNode {
+
+ @SuppressWarnings("javadoc")
+ public static final String NODE_NAME = "ROOT"; //$NON-NLS-1$
+
+ private static final String[] VALID_CHILDREN = {
+ TmfFilterNode.NODE_NAME
+ };
+
+ /**
+ * Default constructor
+ */
+ public TmfFilterRootNode() {
+ super(null);
+ }
+
+ @Override
+ public String getNodeName() {
+ return NODE_NAME;
+ }
+
+ @Override
+ public boolean matches(ITmfEvent event) {
+ for (ITmfFilterTreeNode node : getChildren()) {
+ if (! node.matches(event)) {
+ return false;
+ }
+ }
+ return true;
+ }
+
+ @Override
+ public List<String> getValidChildren() {
+ return Arrays.asList(VALID_CHILDREN);
+ }
+
+}