Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Aeschlimann2006-09-27 16:26:02 +0000
committerMartin Aeschlimann2006-09-27 16:26:02 +0000
commitfd5e2502bf9b42e86b35eadfb02318f6dfce7bd9 (patch)
treedb23c926a174bb76c538dd14c75a4b04b2bea64b /org.eclipse.search/new search/org/eclipse/search/ui/text/MatchFilter.java
parent06dd6cb58e15fd1f9178f140cbf1c2020f25e83d (diff)
downloadeclipse.platform.text-fd5e2502bf9b42e86b35eadfb02318f6dfce7bd9.tar.gz
eclipse.platform.text-fd5e2502bf9b42e86b35eadfb02318f6dfce7bd9.tar.xz
eclipse.platform.text-fd5e2502bf9b42e86b35eadfb02318f6dfce7bd9.zip
MatchFilterActions moved down to search
Diffstat (limited to 'org.eclipse.search/new search/org/eclipse/search/ui/text/MatchFilter.java')
-rw-r--r--org.eclipse.search/new search/org/eclipse/search/ui/text/MatchFilter.java14
1 files changed, 14 insertions, 0 deletions
diff --git a/org.eclipse.search/new search/org/eclipse/search/ui/text/MatchFilter.java b/org.eclipse.search/new search/org/eclipse/search/ui/text/MatchFilter.java
index a1485d2eb2d..eb98e31d622 100644
--- a/org.eclipse.search/new search/org/eclipse/search/ui/text/MatchFilter.java
+++ b/org.eclipse.search/new search/org/eclipse/search/ui/text/MatchFilter.java
@@ -40,4 +40,18 @@ public abstract class MatchFilter {
*/
public abstract String getDescription();
+ /**
+ * Returns the label of the filter as shown by the filter action.
+ *
+ * @return the label of the filter as shown by the filter action.
+ */
+ public abstract String getActionLabel();
+
+ /**
+ * Returns an ID of this filter.
+ *
+ * @return the id of the filter to be used when persisting this filter.
+ */
+ public abstract String getID();
+
}

Back to the top