View Javadoc

1   /* ===================================================================
2    * Copyright 2002-06 SRI International.
3    * Released under the MOZILLA PUBLIC LICENSE Version 1.1
4    * which can be obtained at http://www.mozilla.org/MPL/MPL-1.1.html
5    * This software is distributed on an "AS IS"
6    * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied.
7    * See the License for the specific language governing rights and
8    * limitations under the License.
9    * =================================================================== */
10  
11  package com.sri.emo.controller.nodefilter;
12  
13  
14  /***
15   * Key constants used by node filtering.  Note that this interface
16   * and its constants are purposefully set at package level access.  We
17   * may change it to public if it turns out the constants are needed elsewhere.
18   * @author Michael Rimov
19   */
20  interface FilterKeyConstants {
21  	
22  	/***
23  	 * Key for storage of the filter map of info.
24  	 */
25  	public static final String FILTER_KEY = "FILTER_KEY";
26  
27      public static final String TAG_OR_LAST_EDITOR_RADIO = "TAG_OR_LAST_ED_RADIO";
28  	public static final String FILTER_GROUP = "FILTER_GROUP";
29  	public static final String FILTER_TAGS = "FILTER_TAG";
30      public static final String FILTER_LAST_EDITOR = "FILTER_LAST_EDITOR";
31      public static final String FILTER_WORDS = "FILTER_WORD";
32  
33      public static final String[] ALL_FILTER_KEYS = {
34              FILTER_LAST_EDITOR,
35              FILTER_GROUP,
36              FILTER_TAGS,
37              FILTER_WORDS
38      };
39  }