1 20 21 package org.apache.directory.ldapstudio.schemas; 22 23 24 import org.apache.directory.ldapstudio.schemas.view.preferences.HierarchyViewPreferencePage; 25 import org.apache.directory.ldapstudio.schemas.view.preferences.SchemaElementsViewPreferencePage; 26 import org.apache.directory.ldapstudio.schemas.view.preferences.SchemasViewPreferencePage; 27 28 29 35 public interface PluginConstants 36 { 37 39 public static final String PREFS_SCHEMA_ELEMENTS_VIEW_LABEL = SchemaElementsViewPreferencePage.ID 40 + ".label.labelValue"; 42 43 public static final int PREFS_SCHEMA_ELEMENTS_VIEW_LABEL_FIRST_NAME = 0; 44 45 46 public static final int PREFS_SCHEMA_ELEMENTS_VIEW_LABEL_ALL_ALIASES = 1; 47 48 49 public static final int PREFS_SCHEMA_ELEMENTS_VIEW_LABEL_OID = 2; 50 51 52 public static final String PREFS_SCHEMA_ELEMENTS_VIEW_ABBREVIATE = SchemaElementsViewPreferencePage.ID 53 + ".label.abbreviate"; 55 56 public static final String PREFS_SCHEMA_ELEMENTS_VIEW_ABBREVIATE_MAX_LENGTH = SchemaElementsViewPreferencePage.ID 57 + ".label.abbreviate.maxLength"; 59 60 public static final String PREFS_SCHEMA_ELEMENTS_VIEW_SECONDARY_LABEL_DISPLAY = SchemaElementsViewPreferencePage.ID 61 + ".secondaryLabel.display"; 63 64 public static final String PREFS_SCHEMA_ELEMENTS_VIEW_SECONDARY_LABEL = SchemaElementsViewPreferencePage.ID 65 + ".secondaryLabel.labelValue"; 67 68 public static final String PREFS_SCHEMA_ELEMENTS_VIEW_SECONDARY_LABEL_ABBREVIATE = SchemaElementsViewPreferencePage.ID 69 + ".secondaryLabel.abbreviate"; 71 72 public static final String PREFS_SCHEMA_ELEMENTS_VIEW_SECONDARY_LABEL_ABBREVIATE_MAX_LENGTH = SchemaElementsViewPreferencePage.ID 73 + ".secondaryLabel.abbreviate.maxLength"; 75 76 public static final String PREFS_SCHEMA_ELEMENTS_VIEW_GROUPING = Activator.PLUGIN_ID 77 + ".preferences.SchemaElementsView.grouping"; 79 80 public static final int PREFS_SCHEMA_ELEMENTS_VIEW_GROUPING_ATFIRST = 0; 81 82 83 public static final int PREFS_SCHEMA_ELEMENTS_VIEW_GROUPING_OCFIRST = 1; 84 85 86 public static final int PREFS_SCHEMA_ELEMENTS_VIEW_GROUPING_MIXED = 2; 87 88 89 public static final String PREFS_SCHEMA_ELEMENTS_VIEW_SORTING_BY = Activator.PLUGIN_ID 90 + ".preferences.SchemaElementsView.sortingBy"; 92 93 public static final int PREFS_SCHEMA_ELEMENTS_VIEW_SORTING_BY_FIRSTNAME = 0; 94 95 96 public static final int PREFS_SCHEMA_ELEMENTS_VIEW_SORTING_BY_OID = 1; 97 98 99 public static final String PREFS_SCHEMA_ELEMENTS_VIEW_SORTING_ORDER = Activator.PLUGIN_ID 100 + ".preferences.SchemaElementsView.sortingOrder"; 102 103 public static final int PREFS_SCHEMA_ELEMENTS_VIEW_SORTING_ORDER_ASCENDING = 0; 104 105 106 public static final int PREFS_SCHEMA_ELEMENTS_VIEW_SORTING_ORDER_DESCENDING = 1; 107 108 110 public static final String PREFS_SCHEMAS_VIEW_LABEL = SchemasViewPreferencePage.ID + ".label.labelValue"; 112 113 public static final int PREFS_SCHEMAS_VIEW_LABEL_FIRST_NAME = 0; 114 115 116 public static final int PREFS_SCHEMAS_VIEW_LABEL_ALL_ALIASES = 1; 117 118 119 public static final int PREFS_SCHEMAS_VIEW_LABEL_OID = 2; 120 121 122 public static final String PREFS_SCHEMAS_VIEW_ABBREVIATE = SchemasViewPreferencePage.ID + ".label.abbreviate"; 124 125 public static final String PREFS_SCHEMAS_VIEW_ABBREVIATE_MAX_LENGTH = SchemasViewPreferencePage.ID 126 + ".label.abbreviate.maxLength"; 128 129 public static final String PREFS_SCHEMAS_VIEW_GROUPING = Activator.PLUGIN_ID + ".preferences.SchemasView.grouping"; 131 132 public static final int PREFS_SCHEMAS_VIEW_GROUPING_FOLDERS = 0; 133 134 135 public static final int PREFS_SCHEMAS_VIEW_GROUPING_MIXED = 1; 136 137 138 public static final String PREFS_SCHEMAS_VIEW_SORTING_BY = Activator.PLUGIN_ID 139 + ".preferences.SchemasView.sortingBy"; 141 142 public static final int PREFS_SCHEMAS_VIEW_SORTING_BY_FIRSTNAME = 0; 143 144 145 public static final int PREFS_SCHEMAS_VIEW_SORTING_BY_OID = 1; 146 147 148 public static final String PREFS_SCHEMAS_VIEW_SORTING_ORDER = Activator.PLUGIN_ID 149 + ".preferences.SchemasView.sortingOrder"; 151 152 public static final int PREFS_SCHEMAS_VIEW_SORTING_ORDER_ASCENDING = 0; 153 154 155 public static final int PREFS_SCHEMAS_VIEW_SORTING_ORDER_DESCENDING = 1; 156 157 159 public static final String PREFS_SEARCH_VIEW_SEARCH_HISTORY = Activator.PLUGIN_ID 160 + ".preferences.SearchView.searchHistory"; 162 164 public static final String PREFS_HIERARCHY_VIEW_MODE = Activator.PLUGIN_ID + ".preferences.HierarchyView.mode"; 166 167 public static final int PREFS_HIERARCHY_VIEW_MODE_SUPERTYPE = 0; 168 169 170 public static final int PREFS_HIERARCHY_VIEW_MODE_SUBTYPE = 1; 171 172 173 public static final String PREFS_HIERARCHY_VIEW_LABEL = HierarchyViewPreferencePage.ID + ".label.labelValue"; 175 176 public static final int PREFS_HIERARCHY_VIEW_LABEL_FIRST_NAME = 0; 177 178 179 public static final int PREFS_HIERARCHY_VIEW_LABEL_ALL_ALIASES = 1; 180 181 182 public static final int PREFS_HIERARCHY_VIEW_LABEL_OID = 2; 183 184 185 public static final String PREFS_HIERARCHY_VIEW_ABBREVIATE = HierarchyViewPreferencePage.ID + ".label.abbreviate"; 187 188 public static final String PREFS_HIERARCHY_VIEW_ABBREVIATE_MAX_LENGTH = HierarchyViewPreferencePage.ID 189 + ".label.abbreviate.maxLength"; 191 192 public static final String PREFS_HIERARCHY_VIEW_SECONDARY_LABEL_DISPLAY = HierarchyViewPreferencePage.ID 193 + ".secondaryLabel.display"; 195 196 public static final String PREFS_HIERARCHY_VIEW_SECONDARY_LABEL = HierarchyViewPreferencePage.ID 197 + ".secondaryLabel.labelValue"; 199 200 public static final String PREFS_HIERARCHY_VIEW_SECONDARY_LABEL_ABBREVIATE = HierarchyViewPreferencePage.ID 201 + ".secondaryLabel.abbreviate"; 203 204 public static final String PREFS_HIERARCHY_VIEW_SECONDARY_LABEL_ABBREVIATE_MAX_LENGTH = HierarchyViewPreferencePage.ID 205 + ".secondaryLabel.abbreviate.maxLength"; 207 209 public static final String PREFS_SCHEMAS_EDITOR_SPECIFIC_CORE = Activator.PLUGIN_ID 210 + ".preferences.SchemasEditor.specificCore"; 212 213 public static final String PREFS_SCHEMAS_EDITOR_SPECIFIC_CORE_DIRECTORY = Activator.PLUGIN_ID 214 + ".preferences.SchemasEditor.specificCoreDirectory"; 216 217 public static final String PREFS_SCHEMAS_EDITOR_AUTO_OID = Activator.PLUGIN_ID 218 + ".preferences.SchemasEditor.autoOID"; 220 221 public static final String PREFS_SCHEMAS_EDITOR_COMPANY_OID = Activator.PLUGIN_ID 222 + ".preferences.SchemasEditor.companyOID"; 224 225 public static final String PREFS_OPEN_FILE_DIALOG = Activator.PLUGIN_ID + ".preferences.OpenFileDialog"; 227 228 public static final String PREFS_SAVE_FILE_DIALOG = Activator.PLUGIN_ID + ".preferences.SaveFileDialog"; 230 231 public static final String IMG_CREATE_A_NEW_ATTRIBUTETYPE = "ressources/icons/attribute_type_new.gif"; public static final String IMG_CREATE_A_NEW_OBJECTCLASS = "ressources/icons/object_class_new.gif"; public static final String IMG_CREATE_A_NEW_SCHEMA = "ressources/icons/schema_new.png"; public static final String IMG_DELETE = "ressources/icons/delete.gif"; public static final String IMG_ERASE_SEARCH = "ressources/icons/erase_search.gif"; public static final String IMG_EXPORT_SCHEMA_FOR_ADS = "ressources/icons/export_schema_for_ads.png"; public static final String IMG_HIDE_OBJECT_CLASSES = "ressources/icons/hide_object_classes.png"; public static final String IMG_HIDE_ATTRIBUTE_TYPES = "ressources/icons/hide_attribute_types.png"; public static final String IMG_LINK_WITH_EDITOR = "ressources/icons/link_with_editor.gif"; public static final String IMG_COLLAPSE_ALL = "ressources/icons/collapse_all.gif"; public static final String IMG_OPEN = "ressources/icons/open.png"; public static final String IMG_REMOVE_SCHEMA = "ressources/icons/schema_remove.png"; public static final String IMG_SAVE = "ressources/icons/save.gif"; public static final String IMG_SAVE_AS = "ressources/icons/save_as.png"; public static final String IMG_SAVE_ALL = "ressources/icons/save_all.png"; public static final String IMG_SHOW_PREFERENCES = "ressources/icons/preferences.png"; public static final String IMG_SHOW_SUBTYPE_HIERARCHY = "ressources/icons/hierarchy_subtype.png"; public static final String IMG_SHOW_SUPERTYPE_HIERARCHY = "ressources/icons/hierarchy_supertype.png"; public static final String IMG_SORT = "ressources/icons/sort.gif"; 252 public static final String IMG_ATTRIBUTE_TYPE = "ressources/icons/attribute_type.gif"; public static final String IMG_ATTRIBUTE_TYPE_OVERLAY_OPERATION = "ressources/icons/attribute_type_overlay_operation.gif"; public static final String IMG_ATTRIBUTE_TYPE_OVERLAY_USER_APPLICATION = "ressources/icons/attribute_type_overlay_userApplication.gif"; public static final String IMG_FOLDER_ATTRIBUTE_TYPE = "ressources/icons/folder_at.gif"; public static final String IMG_FOLDER_OBJECT_CLASS = "ressources/icons/folder_oc.gif"; public static final String IMG_OBJECT_CLASS = "ressources/icons/object_class.gif"; public static final String IMG_OBJECT_CLASS_OVERLAY_ABSTRACT = "ressources/icons/object_class_overlay_abstract.gif"; public static final String IMG_OBJECT_CLASS_OVERLAY_AUXILIARY = "ressources/icons/object_class_overlay_auxiliary.gif"; public static final String IMG_OBJECT_CLASS_OVERLAY_STRUCTURAL = "ressources/icons/object_class_overlay_structural.gif"; public static final String IMG_OBJECT_CLASS_WARNING = "ressources/icons/object_class_warning.gif"; public static final String IMG_SCHEMA = "ressources/icons/schema.gif"; public static final String IMG_SCHEMA_CORE = "ressources/icons/schema_core.gif"; public static final String IMG_WARNING_OVERLAY = "ressources/icons/warning_overlay.gif"; 267 public static final String IMG_ATTRIBUTE_TYPE_NEW_WIZARD = "ressources/icons/attribute_type_new_wizard.png"; public static final String IMG_OBJECT_CLASS_NEW_WIZARD = "ressources/icons/object_class_new_wizard.png"; public static final String IMG_SCHEMA_NEW_WIZARD = "ressources/icons/schema_new_wizard.png"; 272 public static final String CMD_COLLAPSE_ALL = Activator.PLUGIN_ID + ".cmd.CollapseAll"; public static final String CMD_CREATE_A_NEW_ATTRIBUTETYPE = Activator.PLUGIN_ID + ".cmd.CreateANewAttributeAype"; public static final String CMD_CREATE_A_NEW_OBJECTCLASS = Activator.PLUGIN_ID + ".cmd.CreateANewObjectClass"; public static final String CMD_CREATE_A_NEW_SCHEMA = Activator.PLUGIN_ID + ".cmd.CreateANewSchema"; public static final String CMD_DELETE = Activator.PLUGIN_ID + ".cmd.Delete"; public static final String CMD_ERASE_SEARCH = Activator.PLUGIN_ID + ".cmd.EraseSearch"; public static final String CMD_EXPORT_FOR_ADS = Activator.PLUGIN_ID + ".cmd.ExportForADS"; public static final String CMD_HIDE_ATTRIBUTE_TYPES = Activator.PLUGIN_ID + ".cmd.HideAttributesTypes"; public static final String CMD_HIDE_OBJECT_CLASSES = Activator.PLUGIN_ID + ".cmd.HideObjectClasses"; public static final String CMD_LINK_WITH_EDITOR_SCHEMA_ELEMENTS_VIEW = Activator.PLUGIN_ID 283 + ".cmd.LinkWithEditorSchemaElementsView"; public static final String CMD_LINK_WITH_EDITOR_SCHEMA_VIEW = Activator.PLUGIN_ID 285 + ".cmd.LinkWithEditorSchemasView"; public static final String CMD_OPEN_LOCAL = Activator.PLUGIN_ID + ".cmd.OpenLocal"; public static final String CMD_SCHEMA_ELEMENTS_VIEW_PREFERENCES = Activator.PLUGIN_ID 288 + ".cmd.OpenSchemaElementsViewPreferences"; public static final String CMD_SCHEMA_ELEMENTS_VIEW_SORT_DIALOG = Activator.PLUGIN_ID 290 + ".cmd.OpenSchemaElementsViewSortDialog"; public static final String CMD_OPEN_SCHEMA_SOURCE_CODE = Activator.PLUGIN_ID + ".cmd.OpenSchemaSourceSode"; public static final String CMD_SCHEMAS_VIEW_PREFERENCES = Activator.PLUGIN_ID + ".cmd.OpenSchemasViewPreferences"; public static final String CMD_SCHEMAS_VIEW_SORT_DIALOG = Activator.PLUGIN_ID + ".cmd.OpenSchemasViewSortDialog"; public static final String CMD_REMOVE_SCHEMA = Activator.PLUGIN_ID + ".cmd.RemoveSchema"; public static final String CMD_SAVE = Activator.PLUGIN_ID + ".cmd.Save"; public static final String CMD_SAVE_AS = Activator.PLUGIN_ID + ".cmd.SaveAs"; public static final String CMD_SAVE_ALL = Activator.PLUGIN_ID + ".cmd.SaveAll"; public static final String CMD_SHOW_SUBTYPE_HIERARCHY = Activator.PLUGIN_ID + ".cmd.ShowSubtypeHierarchy"; public static final String CMD_SHOW_SUPERTYPE_HIERARCHY = Activator.PLUGIN_ID + ".cmd.ShowSupertypeHierarchy"; public static final String CMD_OPEN_TYPE_HIERARCHY = Activator.PLUGIN_ID + ".cmd.OpenTypeHierarchy"; public static final String CMD_HIERARCHY_VIEW_PREFERENCES = Activator.PLUGIN_ID 302 + ".cmd.OpenHierarchyViewPreferences"; } 304 | Popular Tags |