1 /*******************************************************************************
2 * Copyright (c) 2010 Ericsson
4 * All rights reserved. This program and the accompanying materials are
5 * made available under the terms of the Eclipse Public License v1.0 which
6 * accompanies this distribution, and is available at
7 * http://www.eclipse.org/legal/epl-v10.html
10 * Patrick Tasse - Initial API and implementation
11 *******************************************************************************/
13 package org
.eclipse
.linuxtools
.tmf
.filter
.model
;
15 import java
.util
.Arrays
;
16 import java
.util
.List
;
18 import org
.eclipse
.linuxtools
.tmf
.event
.TmfEvent
;
21 public class TmfFilterRootNode
extends TmfFilterTreeNode
{
23 public static final String NODE_NAME
= "ROOT"; //$NON-NLS-1$
25 private static final String
[] VALID_CHILDREN
= {
26 TmfFilterNode
.NODE_NAME
29 public TmfFilterRootNode() {
34 public String
getNodeName() {
39 public boolean matches(TmfEvent event
) {
40 for (ITmfFilterTreeNode node
: getChildren()) {
41 if (! node
.matches(event
)) {
49 public List
<String
> getValidChildren() {
50 return Arrays
.asList(VALID_CHILDREN
);
This page took 0.03317 seconds and 6 git commands to generate.