1
/*******************************************************************************
2
* Copyright (c) 2014 Red Hat, Inc.
3
* All rights reserved. This program and the accompanying materials
4
* are made available under the terms of the Eclipse Public License v1.0
5
* which accompanies this distribution, and is available at
6
* http://www.eclipse.org/legal/epl-v10.html
9
* Red Hat - initial API and implementation
10
*******************************************************************************/
12
package org.eclipse.linuxtools.internal.systemtap.ui.ide.structures.nodedata;
15
* An interface for a data object that stores a <code>String</code> token
16
* that should be searched for in a text file.
18
public interface ISearchableNode {
20
* @return The token to search a text file for.
22
String getSearchToken();
25
* @return <code>true</code> if {@link #getSearchToken()} is a regular expression,
26
* or <code>false</code> if it is a plain-text search token.
28
boolean isRegexSearch();