1 19 20 package org.openharmonise.vfs.context; 21 22 29 public class ContextType { 30 31 34 private final String m_sName; 35 36 39 public static final ContextType CONTEXT_ALL = new ContextType("ALL"); 40 41 44 public static final ContextType CONTEXT_TABS = new ContextType("TABS"); 45 46 49 public static final ContextType CONTEXT_DIRS = new ContextType("DIRS"); 50 51 54 public static final ContextType CONTEXT_FILES = new ContextType("FILES"); 55 56 59 public static final ContextType CONTEXT_SHUTDOWN = new ContextType("SHUTDOWN"); 60 61 64 public static final ContextType CONTEXT_WAIT = new ContextType("WAIT"); 65 66 69 public static final ContextType CONTEXT_APP_FOCUS = new ContextType("APP_FOCUS"); 70 71 74 public static final ContextType CONTEXT_CLEAR_METADATA = new ContextType("CLEAR_METADATA"); 75 76 79 public static final ContextType CONTEXT_FILENAME_DISPLAY = new ContextType("FILENAME_DISPLAY"); 80 81 84 public static final ContextType CONTEXT_SYSTEM_PROP_CHANGED = new ContextType("SYSTEM_PROP_CHANGED"); 85 86 89 public static final ContextType CONTEXT_SESSION_EVENT = new ContextType("SESSION_EVENT"); 90 91 94 public static final ContextType CONTEXT_SYNC_ALL_FILES_AND_SHUTDOWN = new ContextType("SYNC_ALL_FILES_AND_SHUTDOWN"); 95 96 99 public static final ContextType CONTEXT_METADATA_DEFINITION_CHANGED = new ContextType("CONTEXT_METADATA_DEFINITION_CHANGED"); 100 101 106 protected ContextType(String sName) { 107 super(); 108 this.m_sName = sName; 109 } 110 111 114 public String toString() { 115 return this.m_sName; 116 } 117 118 } 119 | Popular Tags |