directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1806665 - in /directory/studio/branches/studio-value/plugins/schemaeditor: ./ src/main/java/org/apache/directory/studio/schemaeditor/
Date Wed, 30 Aug 2017 05:02:32 GMT
Author: elecharny
Date: Wed Aug 30 05:02:31 2017
New Revision: 1806665

URL: http://svn.apache.org/viewvc?rev=1806665&view=rev
Log:
o Get rid of Plugin_id in plugin.properties
o Removed the various ID defined in plugin.properties that are used only once

Modified:
    directory/studio/branches/studio-value/plugins/schemaeditor/plugin.properties
    directory/studio/branches/studio-value/plugins/schemaeditor/plugin.xml
    directory/studio/branches/studio-value/plugins/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/PluginConstants.java
    directory/studio/branches/studio-value/plugins/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/PluginUtils.java

Modified: directory/studio/branches/studio-value/plugins/schemaeditor/plugin.properties
URL: http://svn.apache.org/viewvc/directory/studio/branches/studio-value/plugins/schemaeditor/plugin.properties?rev=1806665&r1=1806664&r2=1806665&view=diff
==============================================================================
--- directory/studio/branches/studio-value/plugins/schemaeditor/plugin.properties (original)
+++ directory/studio/branches/studio-value/plugins/schemaeditor/plugin.properties Wed Aug 30 05:02:31 2017
@@ -14,171 +14,161 @@
 # KIND, either express or implied.  See the License for the
 # specific language governing permissions and limitations
 # under the License.
+#---------------------------------------------------------------------------------------------------
+# The IDs used more than once
+#---------------------------------------------------------------------------------------------------
+Perspective_SchemaEditor_id=org.apache.directory.studio.schemaeditor.perspective
 
-Plugin_id=org.apache.directory.studio.schemaeditor
+Views_Category_id=org.apache.directory.studio.schemaeditor.view.category
+View_SchemaView_id=org.apache.directory.studio.schemaeditor.view.SchemaView
+View_HierarchyView_id=org.apache.directory.studio.schemaeditor.view.HierarchyView
+View_ProblemsView_id=org.apache.directory.studio.schemaeditor.view.ProblemsView
+View_ProjectsView_id=org.apache.directory.studio.schemaeditor.view.ProjectsView
+View_SearchView_id=org.apache.directory.studio.schemaeditor.view.SearchView
 
-ExtensionPoint_SchemaConnectors_id=org.apache.directory.studio.schemaeditor.schemaConnectors
+NewWizards_Category_id=org.apache.directory.studio.schemaeditor.newWizardCategory
+NewWizard_NewProjectWizard_id=org.apache.directory.studio.schemaeditor.wizards.NewProjectWizard
+NewWizard_NewSchemaWizard_id=org.apache.directory.studio.schemaeditor.wizards.NewSchemaWizard
+NewWizard_NewAttributeTypeWizard_id=org.apache.directory.studio.schemaeditor.wizards.NewAttributeTypeWizard
+NewWizard_NewObjectClassWizard_id=org.apache.directory.studio.schemaeditor.wizards.NewObjectClassWizard
 
-Perspective_SchemaEditor_id=org.apache.directory.studio.schemaeditor.perspective
-Perspective_SchemaEditor_name=Schema Editor
+Editor_ObjectClassEditor_id=org.apache.directory.studio.schemaeditor.view.objectClassEditor
+Editor_AttributeTypeEditor_id=org.apache.directory.studio.schemaeditor.view.attributeTypeEditor
+Editor_SchemaEditor_id=org.apache.directory.studio.schemaeditor.view.schemaEditor
+
+ExportWizards_Category_id=org.apache.directory.studio.schemaeditor.exportWizardCategory
 
-Perspective_LdapBrowser_id=org.apache.directory.studio.ldapbrowser.ui.perspective.BrowserPerspective
+ImportWizards_Category_id=org.apache.directory.studio.schemaeditor.importWizardCategory
+
+PrefPage_SchemaEditor_id=org.apache.directory.studio.schemaeditor.preferences.plugin
+PrefPage_HierarchyView_id=org.apache.directory.studio.schemaeditor.preferences.hierarchyView
+PrefPage_SchemaView_id=org.apache.directory.studio.schemaeditor.preferences.schemaView
+PrefPage_SearchView_id=org.apache.directory.studio.schemaeditor.preferences.searchView
 
-Perspective_TopLeftFolder_id=org.apache.directory.studio.schemaeditor.topleftfolder
-Perspective_BottomFolder_id=org.apache.directory.studio.schemaeditor.bottomfolder
+Ctx_ProjectsView_id=org.apache.directory.studio.schemaeditor.contexts.projectsView
+Ctx_SchemaView_id=org.apache.directory.studio.schemaeditor.contexts.schemaView
+
+Cmd_Category_id=org.apache.directory.studio.schemaeditor.commands
+Cmd_NewProject_id=org.apache.directory.studio.schemaeditor.commands.newProject
+Cmd_RenameProject_id=org.apache.directory.studio.schemaeditor.commands.renameProject
+Cmd_DeleteProject_id=org.apache.directory.studio.schemaeditor.commands.deleteProject
+Cmd_NewSchema_id=org.apache.directory.studio.schemaeditor.commands.newSchema
+Cmd_NewAttributeType_id=org.apache.directory.studio.schemaeditor.commands.newAttributeType
+Cmd_NewObjectClass_id=org.apache.directory.studio.schemaeditor.commands.newObjectClass
+Cmd_OpenElement_id=org.apache.directory.studio.schemaeditor.commands.openElement
+Cmd_OpenTypeHierarchy_id=org.apache.directory.studio.schemaeditor.commands.openTypeHierarchy
+Cmd_DeleteSchemaElement_id=org.apache.directory.studio.schemaeditor.commands.deleteSchemaElement
+Cmd_RenameSchemaElement_id=org.apache.directory.studio.schemaeditor.commands.renameSchemaElement
+
+#---------------------------------------------------------------------------------------------------
+# The I18n Strings
+#---------------------------------------------------------------------------------------------------
+Perspective_SchemaEditor_name=Schema Editor
 
-Views_Category_id=org.apache.directory.studio.schemaeditor.view.category
 Views_Category_name=Schema Editor
 
-View_SchemaView_id=org.apache.directory.studio.schemaeditor.view.SchemaView
 View_SchemaView_name=Schema
 
-View_HierarchyView_id=org.apache.directory.studio.schemaeditor.view.HierarchyView
 View_HierarchyView_name=Hierarchy
 
-View_ProblemsView_id=org.apache.directory.studio.schemaeditor.view.ProblemsView
 View_ProblemsView_name=Problems
 
-View_ProjectsView_id=org.apache.directory.studio.schemaeditor.view.ProjectsView
 View_ProjectsView_name=Projects
 
-View_SearchView_id=org.apache.directory.studio.schemaeditor.view.SearchView
 View_SearchView_name=Search
 
-NewWizards_Category_id=org.apache.directory.studio.schemaeditor.newWizardCategory
 NewWizards_Category_name=Schema Editor
 
-NewWizard_NewProjectWizard_id=org.apache.directory.studio.schemaeditor.wizards.NewProjectWizard
 NewWizard_NewProjectWizard_name=New Schema Project
 
-NewWizard_NewSchemaWizard_id=org.apache.directory.studio.schemaeditor.wizards.NewSchemaWizard
 NewWizard_NewSchemaWizard_name=New Schema
 
-NewWizard_NewAttributeTypeWizard_id=org.apache.directory.studio.schemaeditor.wizards.NewAttributeTypeWizard
 NewWizard_NewAttributeTypeWizard_name=New Attribute Type
 
-NewWizard_NewObjectClassWizard_id=org.apache.directory.studio.schemaeditor.wizards.NewObjectClassWizard
 NewWizard_NewObjectClassWizard_name=New Object Class
 
-Editor_ObjectClassEditor_id=org.apache.directory.studio.schemaeditor.view.objectClassEditor
 Editor_ObjectClassEditor_name=Object Class Editor
 
-Editor_AttributeTypeEditor_id=org.apache.directory.studio.schemaeditor.view.attributeTypeEditor
 Editor_AttributeTypeEditor_name=Attribute Type Editor
 
-Editor_SchemaEditor_id=org.apache.directory.studio.schemaeditor.view.schemaEditor
 Editor_SchemaEditor_name=Schema Editor
 
-ExportWizards_Category_id=org.apache.directory.studio.schemaeditor.exportWizardCategory
 ExportWizards_Category_name=Schema Editor
 
-ExportWizard_ExportSchemasAsXmlWizard_id=org.apache.directory.studio.schemaeditor.wizards.ExportSchemasAsXmlWizard
 ExportWizard_ExportSchemasAsXmlWizard_name=Schemas as XML file(s)
 
-ExportWizard_ExportSchemasAsOpenLdapWizard_id=org.apache.directory.studio.schemaeditor.wizards.ExportSchemasAsOpenLdapWizard
 ExportWizard_ExportSchemasAsOpenLdapWizard_name=Schemas as OpenLDAP files
 
-ExportWizard_ExportSchemasForADSWizard_id=org.apache.directory.studio.schemaeditor.wizards.ExportSchemasForADSWizard
 ExportWizard_ExportSchemasForADSWizard_name=Schemas for ApacheDS
 
-ExportWizard_ExportProjectsWizard_id=org.apache.directory.studio.schemaeditor.wizards.ExportProjectsWizard
 ExportWizard_ExportProjectsWizard_name=Schema Projects
 
-ImportWizards_Category_id=org.apache.directory.studio.schemaeditor.importWizardCategory
 ImportWizards_Category_name=Schema Editor
 
-ImportWizard_ImportCoreSchemasWizard_id=org.apache.directory.studio.schemaeditor.wizards.ImportCoreSchemasWizard
 ImportWizard_ImportCoreSchemasWizard_name=Core schemas files
 
-ImportWizard_ImportSchemasFromXmlWizard_id=org.apache.directory.studio.schemaeditor.wizards.ImportSchemasFromXmlWizard
 ImportWizard_ImportSchemasFromXmlWizard_name=Schemas from XML file(s)
 
-ImportWizard_ImportSchemasFromOpenLdapWizard_id=org.apache.directory.studio.schemaeditor.wizards.ImportSchemasFromOpenLdapWizard
 ImportWizard_ImportSchemasFromOpenLdapWizard_name=Schemas from OpenLDAP files
 
-ImportWizard_ImportProjectsWizard_id=org.apache.directory.studio.schemaeditor.wizards.ImportProjectsWizard
 ImportWizard_ImportProjectsWizard_name=Schema Projects
 
-PrefPage_StudioPage_id=org.apache.directory.studio.StudioPreferencePage
-
-PrefPage_SchemaEditor_id=org.apache.directory.studio.schemaeditor.preferences.plugin
 PrefPage_SchemaEditor_name=Schema Editor
 
-PrefPage_HierarchyView_id=org.apache.directory.studio.schemaeditor.preferences.hierarchyView
 PrefPage_HierarchyView_name=Hierarchy View
 
-PrefPage_SchemaView_id=org.apache.directory.studio.schemaeditor.preferences.schemaView
 PrefPage_SchemaView_name=Schema View
 
-PrefPage_SearchView_id=org.apache.directory.studio.schemaeditor.preferences.searchView
 PrefPage_SearchView_name=Search View
 
-Decorator_SchemaEditorTypeDecorator_id=org.apache.directory.studio.schemas.typeDecorator
 Decorator_SchemaEditorTypeDecorator_label=Schema Editor Type Decorator
 Decorator_SchemaEditorTypeDecorator_description=Decorates Schema Editor icons with type information
 
-Decorator_SchemaEditorSchemaCheckerDecorator_id=org.apache.directory.studio.schemas.schemaCheckerDecorator
 Decorator_SchemaEditorSchemaCheckerDecorator_label=Schema Editor Schema Checker Decorator
 Decorator_SchemaEditorSchemaCheckerDecorator_description=Decorates Schema Editor icons with schema checker information
 
-SearchPage_SchemaEditorSearch_id=org.apache.directory.studio.schemaeditor.search
 SearchPage_SchemaEditorSearch_label=Schema Editor Search
 
-Ctx_ProjectsView_id=org.apache.directory.studio.schemaeditor.contexts.projectsView
 Ctx_ProjectsView_name=In Projects View of Schema Editor
 Ctx_ProjectsView_description=In Projects View of Schema Editor
 
-Ctx_SchemaView_id=org.apache.directory.studio.schemaeditor.contexts.schemaView
 Ctx_SchemaView_name=In Schema View of Schema Editor
 Ctx_SchemaView_description=In Schema View of Schema Editor
 
-Cmd_Category_id=org.apache.directory.studio.schemaeditor.commands
 Cmd_Category_name=Schema Editor
 
-Cmd_NewProject_id=org.apache.directory.studio.schemaeditor.commands.newProject
 Cmd_NewProject_name=New Project
 Cmd_NewProject_description=Creates a new project
 
-Cmd_RenameProject_id=org.apache.directory.studio.schemaeditor.commands.renameProject
 Cmd_RenameProject_name=Rename Project
 Cmd_RenameProject_description=Renames the selected project
 
-Cmd_DeleteProject_id=org.apache.directory.studio.schemaeditor.commands.deleteProject
 Cmd_DeleteProject_name=Delete Project
 Cmd_DeleteProject_description=Deletes the selected project(s)
 
-Cmd_NewSchema_id=org.apache.directory.studio.schemaeditor.commands.newSchema
 Cmd_NewSchema_name=New Schema
 Cmd_NewSchema_description=Creates a new schema
 
-Cmd_NewAttributeType_id=org.apache.directory.studio.schemaeditor.commands.newAttributeType
 Cmd_NewAttributeType_name=New Attribute Type
 Cmd_NewAttributeType_description=Creates a new attribute type
 
-Cmd_NewObjectClass_id=org.apache.directory.studio.schemaeditor.commands.newObjectClass
 Cmd_NewObjectClass_name=New Object Class
 Cmd_NewObjectClass_description=Creates a new object class
 
-Cmd_OpenElement_id=org.apache.directory.studio.schemaeditor.commands.openElement
 Cmd_OpenElement_name=Open Element
 Cmd_OpenElement_description=Opens the selected element
 
-Cmd_OpenTypeHierarchy_id=org.apache.directory.studio.schemaeditor.commands.openTypeHierarchy
 Cmd_OpenTypeHierarchy_name=Open Type Hierarchy
 Cmd_OpenTypeHierarchy_description=Opens the selected element in Type Hierarchy
 
-Cmd_DeleteSchemaElement_id=org.apache.directory.studio.schemaeditor.commands.deleteSchemaElement
 Cmd_DeleteSchemaElement_name=Delete Schema Element
 Cmd_DeleteSchemaElement_description=Delete the selected schema elements
 
-Cmd_RenameSchemaElement_id=org.apache.directory.studio.schemaeditor.commands.renameSchemaElement
 Cmd_RenameSchemaElement_name=Rename Schema Element
 Cmd_RenameSchemaElement_description=Renames the selected schema element
 
-SchemaConnector_ApacheDS_id=org.apache.directory.studio.schemaeditor.model.io.ApacheDsSchemaConnector
 SchemaConnector_ApacheDS_name=ApacheDS Schema Connector
 SchemaConnector_ApacheDS_description=The ApacheDS Schema Connector is compatible with ApacheDS (version 1.5 or later)
 
-SchemaConnector_Generic_id=org.apache.directory.studio.schemaeditor.model.io.GenericSchemaConnector
 SchemaConnector_Generic_name=Generic Schema Connector
 SchemaConnector_Generic_description=The Generic Schema Connector is compatible with almost any Directory Server (if the schema is accessible via the 'subschemaSubentry' attribute DN value of the Root DSE)

Modified: directory/studio/branches/studio-value/plugins/schemaeditor/plugin.xml
URL: http://svn.apache.org/viewvc/directory/studio/branches/studio-value/plugins/schemaeditor/plugin.xml?rev=1806665&r1=1806664&r2=1806665&view=diff
==============================================================================
--- directory/studio/branches/studio-value/plugins/schemaeditor/plugin.xml (original)
+++ directory/studio/branches/studio-value/plugins/schemaeditor/plugin.xml Wed Aug 30 05:02:31 2017
@@ -19,440 +19,460 @@
   under the License.
 -->
 <plugin>
-   <extension-point id="org.apache.directory.studio.schemaeditor.schemaConnectors" name="Schema Connectors" schema="src/main/resources/org.apache.directory.studio.schemaeditor.schemaConnectors.exsd"/>
-   	<extension
-         point="org.eclipse.ui.perspectives">
-      <perspective
-            class="org.apache.directory.studio.schemaeditor.view.Perspective"
-            icon="resources/icons/schemaeditor_perspective.gif"
-            id="%Perspective_SchemaEditor_id"
-            name="%Perspective_SchemaEditor_name"/>
-   </extension>
-	<extension
-         point="org.eclipse.ui.views">
-      <category
-            id="%Views_Category_id"
-            name="%Views_Category_name"/>
-      <view
-            allowMultiple="false"
-            category="%Views_Category_id"
-            class="org.apache.directory.studio.schemaeditor.view.views.SchemaView"
-            icon="resources/icons/schemas_view.png"
-            id="%View_SchemaView_id"
-            name="%View_SchemaView_name"/>
-	  <view
-            allowMultiple="false"
-            category="%Views_Category_id"
-            class="org.apache.directory.studio.schemaeditor.view.views.HierarchyView"
-            icon="resources/icons/hierarchy_view.gif"
-            id="%View_HierarchyView_id"
-            name="%View_HierarchyView_name"/>
-	  <view
-            allowMultiple="false"
-            category="%Views_Category_id"
-            class="org.apache.directory.studio.schemaeditor.view.views.ProblemsView"
-            icon="resources/icons/problems_view.gif"
-            id="%View_ProblemsView_id"
-            name="%View_ProblemsView_name"/>
-	  <view
-            allowMultiple="false"
-            category="%Views_Category_id"
-            class="org.apache.directory.studio.schemaeditor.view.views.ProjectsView"
-            icon="resources/icons/projects_view.gif"
-            id="%View_ProjectsView_id"
-            name="%View_ProjectsView_name"/>
-	<view
-            allowMultiple="false"
-            category="%Views_Category_id"
-            class="org.apache.directory.studio.schemaeditor.view.views.SearchView"
-            icon="resources/icons/search_view.gif"
-            id="%View_SearchView_id"
-            name="%View_SearchView_name"/>
-   </extension>
- <extension
-       point="org.eclipse.core.runtime.preferences">
+  <extension-point id="org.apache.directory.studio.schemaeditor.schemaConnectors" name="Schema Connectors" schema="src/main/resources/org.apache.directory.studio.schemaeditor.schemaConnectors.exsd"/>
+    <extension
+        point="org.eclipse.ui.perspectives">
+    <perspective
+        class="org.apache.directory.studio.schemaeditor.view.Perspective"
+        icon="resources/icons/schemaeditor_perspective.gif"
+        id="%Perspective_SchemaEditor_id"
+        name="%Perspective_SchemaEditor_name"/>
+  </extension>
+  
+  <extension
+      point="org.eclipse.ui.views">
+    <category
+        id="%Views_Category_id"
+        name="%Views_Category_name"/>
+
+    <view
+        allowMultiple="false"
+        category="%Views_Category_id"
+        class="org.apache.directory.studio.schemaeditor.view.views.SchemaView"
+        icon="resources/icons/schemas_view.png"
+        id="%View_SchemaView_id"
+        name="%View_SchemaView_name"/>
+
+    <view
+        allowMultiple="false"
+        category="%Views_Category_id"
+        class="org.apache.directory.studio.schemaeditor.view.views.HierarchyView"
+        icon="resources/icons/hierarchy_view.gif"
+        id="%View_HierarchyView_id"
+        name="%View_HierarchyView_name"/>
+
+    <view
+        allowMultiple="false"
+        category="%Views_Category_id"
+        class="org.apache.directory.studio.schemaeditor.view.views.ProblemsView"
+        icon="resources/icons/problems_view.gif"
+        id="%View_ProblemsView_id"
+        name="%View_ProblemsView_name"/>
+
+    <view
+        allowMultiple="false"
+        category="%Views_Category_id"
+        class="org.apache.directory.studio.schemaeditor.view.views.ProjectsView"
+        icon="resources/icons/projects_view.gif"
+        id="%View_ProjectsView_id"
+        name="%View_ProjectsView_name"/>
+
+    <view
+        allowMultiple="false"
+        category="%Views_Category_id"
+        class="org.apache.directory.studio.schemaeditor.view.views.SearchView"
+        icon="resources/icons/search_view.gif"
+        id="%View_SearchView_id"
+        name="%View_SearchView_name"/>
+  </extension>
+
+  <extension
+      point="org.eclipse.core.runtime.preferences">
     <initializer class="org.apache.directory.studio.schemaeditor.PreferenceInitializer"/>
- </extension>
- <extension
-       point="org.eclipse.ui.newWizards">
+  </extension>
+
+  <extension
+      point="org.eclipse.ui.newWizards">
     <category
-          id="%NewWizards_Category_id"
-          name="%NewWizards_Category_name"/>
-	<wizard
-          category="%NewWizards_Category_id"
-          class="org.apache.directory.studio.schemaeditor.view.wizards.NewProjectWizard"
-          hasPages="true"
-          icon="resources/icons/project_new.gif"
-          id="%NewWizard_NewProjectWizard_id"
-          name="%NewWizard_NewProjectWizard_name"
-          project="true"/>
-    <wizard
-          category="%NewWizards_Category_id"
-          class="org.apache.directory.studio.schemaeditor.view.wizards.NewSchemaWizard"
-          hasPages="true"
-          icon="resources/icons/schema_new.gif"
-          id="%NewWizard_NewSchemaWizard_id"
-          name="%NewWizard_NewSchemaWizard_name"
-          project="false"/>
-    <wizard
-          category="%NewWizards_Category_id"
-          class="org.apache.directory.studio.schemaeditor.view.wizards.NewAttributeTypeWizard"
-          hasPages="true"
-          icon="resources/icons/attribute_type_new.gif"
-          id="%NewWizard_NewAttributeTypeWizard_id"
-          name="%NewWizard_NewAttributeTypeWizard_name"
-          project="false"/>
-	<wizard
-          category="%NewWizards_Category_id"
-          class="org.apache.directory.studio.schemaeditor.view.wizards.NewObjectClassWizard"
-          hasPages="true"
-          icon="resources/icons/object_class_new.gif"
-          id="%NewWizard_NewObjectClassWizard_id"
-          name="%NewWizard_NewObjectClassWizard_name"
-          project="false"/>
- </extension>
- <extension
-		point="org.eclipse.ui.editors">
-	<editor
-		class="org.apache.directory.studio.schemaeditor.view.editors.objectclass.ObjectClassEditor"
-		default="false"
-		icon="resources/icons/object_class.gif"
-		id="%Editor_ObjectClassEditor_id"
-		name="%Editor_ObjectClassEditor_name"/>
-      <editor
- 		class="org.apache.directory.studio.schemaeditor.view.editors.attributetype.AttributeTypeEditor"
-		default="false"
-		icon="resources/icons/attribute_type.gif"
-		id="%Editor_AttributeTypeEditor_id"
-		name="%Editor_AttributeTypeEditor_name"/>
-      <editor
-		class="org.apache.directory.studio.schemaeditor.view.editors.schema.SchemaEditor"
-		default="false"
-		icon="resources/icons/schema.gif"
-		id="%Editor_SchemaEditor_id"
-		name="%Editor_SchemaEditor_name"/>
-</extension>
- <extension
-       point="org.eclipse.ui.exportWizards">
+        id="%NewWizards_Category_id"
+        name="%NewWizards_Category_name"/>
+    
+    <wizard
+        category="%NewWizards_Category_id"
+        class="org.apache.directory.studio.schemaeditor.view.wizards.NewProjectWizard"
+        hasPages="true"
+        icon="resources/icons/project_new.gif"
+        id="%NewWizard_NewProjectWizard_id"
+        name="%NewWizard_NewProjectWizard_name"
+        project="true"/>
+    
+    <wizard
+        category="%NewWizards_Category_id"
+        class="org.apache.directory.studio.schemaeditor.view.wizards.NewSchemaWizard"
+        hasPages="true"
+        icon="resources/icons/schema_new.gif"
+        id="%NewWizard_NewSchemaWizard_id"
+        name="%NewWizard_NewSchemaWizard_name"
+        project="false"/>
+    
+    <wizard
+        category="%NewWizards_Category_id"
+        class="org.apache.directory.studio.schemaeditor.view.wizards.NewAttributeTypeWizard"
+        hasPages="true"
+        icon="resources/icons/attribute_type_new.gif"
+        id="%NewWizard_NewAttributeTypeWizard_id"
+        name="%NewWizard_NewAttributeTypeWizard_name"
+        project="false"/>
+
+    <wizard
+        category="%NewWizards_Category_id"
+        class="org.apache.directory.studio.schemaeditor.view.wizards.NewObjectClassWizard"
+        hasPages="true"
+        icon="resources/icons/object_class_new.gif"
+        id="%NewWizard_NewObjectClassWizard_id"
+        name="%NewWizard_NewObjectClassWizard_name"
+        project="false"/>
+  </extension>
+  <extension
+      point="org.eclipse.ui.editors">
+    <editor
+        class="org.apache.directory.studio.schemaeditor.view.editors.objectclass.ObjectClassEditor"
+        default="false"
+        icon="resources/icons/object_class.gif"
+        id="%Editor_ObjectClassEditor_id"
+        name="%Editor_ObjectClassEditor_name"/>
+
+    <editor
+        class="org.apache.directory.studio.schemaeditor.view.editors.attributetype.AttributeTypeEditor"
+        default="false"
+        icon="resources/icons/attribute_type.gif"
+        id="%Editor_AttributeTypeEditor_id"
+        name="%Editor_AttributeTypeEditor_name"/>
+    
+    <editor
+        class="org.apache.directory.studio.schemaeditor.view.editors.schema.SchemaEditor"
+        default="false"
+        icon="resources/icons/schema.gif"
+        id="%Editor_SchemaEditor_id"
+        name="%Editor_SchemaEditor_name"/>
+  </extension>
+
+  <extension
+      point="org.eclipse.ui.exportWizards">
     <category
-          id="%ExportWizards_Category_id"
-          name="%ExportWizards_Category_name">
-    </category>
-    <wizard
-          category="%ExportWizards_Category_id"
-          class="org.apache.directory.studio.schemaeditor.view.wizards.ExportSchemasAsXmlWizard"
-          icon="resources/icons/schemas_export.gif"
-          id="%ExportWizard_ExportSchemasAsXmlWizard_id"
-          name="%ExportWizard_ExportSchemasAsXmlWizard_name">
-    </wizard>
-    <wizard
-          category="%ExportWizards_Category_id"
-          class="org.apache.directory.studio.schemaeditor.view.wizards.ExportSchemasAsOpenLdapWizard"
-          icon="resources/icons/schemas_export.gif"
-          id="%ExportWizard_ExportSchemasAsOpenLdapWizard_id"
-          name="%ExportWizard_ExportSchemasAsOpenLdapWizard_name">
-    </wizard>
-	<wizard
-          category="%ExportWizards_Category_id"
-          class="org.apache.directory.studio.schemaeditor.view.wizards.ExportSchemasForADSWizard"
-          icon="resources/icons/schemas_export_for_ads.gif"
-          id="%ExportWizard_ExportSchemasForADSWizard_id"
-          name="%ExportWizard_ExportSchemasForADSWizard_name">
-    </wizard>
-	<wizard
-          category="%ExportWizards_Category_id"
-          class="org.apache.directory.studio.schemaeditor.view.wizards.ExportProjectsWizard"
-          icon="resources/icons/project_export.gif"
-          id="%ExportWizard_ExportProjectsWizard_id"
-          name="%ExportWizard_ExportProjectsWizard_name">
-    </wizard>
- </extension>
- <extension
-       point="org.eclipse.ui.importWizards">
+        id="%ExportWizards_Category_id"
+        name="%ExportWizards_Category_name"/>
+
+    <wizard
+        category="%ExportWizards_Category_id"
+        class="org.apache.directory.studio.schemaeditor.view.wizards.ExportSchemasAsXmlWizard"
+        icon="resources/icons/schemas_export.gif"
+        id="org.apache.directory.studio.schemaeditor.wizards.ExportSchemasAsXmlWizard"
+        name="%ExportWizard_ExportSchemasAsXmlWizard_name"/>
+
+    <wizard
+        category="%ExportWizards_Category_id"
+        class="org.apache.directory.studio.schemaeditor.view.wizards.ExportSchemasAsOpenLdapWizard"
+        icon="resources/icons/schemas_export.gif"
+        id="org.apache.directory.studio.schemaeditor.wizards.ExportSchemasAsXmlWizard"
+        name="%ExportWizard_ExportSchemasAsOpenLdapWizard_name"/>
+
+    <wizard
+        category="%ExportWizards_Category_id"
+        class="org.apache.directory.studio.schemaeditor.view.wizards.ExportSchemasForADSWizard"
+        icon="resources/icons/schemas_export_for_ads.gif"
+        id="org.apache.directory.studio.schemaeditor.wizards.ExportSchemasForADSWizard"
+        name="%ExportWizard_ExportSchemasForADSWizard_name"/>
+
+    <wizard
+        category="%ExportWizards_Category_id"
+        class="org.apache.directory.studio.schemaeditor.view.wizards.ExportProjectsWizard"
+        icon="resources/icons/project_export.gif"
+        id="org.apache.directory.studio.schemaeditor.wizards.ExportProjectsWizard"
+        name="%ExportWizard_ExportProjectsWizard_name"/>
+  </extension>
+  
+  <extension
+      point="org.eclipse.ui.importWizards">
     <category
-          id="%ImportWizards_Category_id"
-          name="Schema Editor">
-    </category>
-    <wizard
-          category="%ImportWizards_Category_id"
-          class="org.apache.directory.studio.schemaeditor.view.wizards.ImportCoreSchemasWizard"
-          icon="resources/icons/schemas_import.gif"
-          id="%ImportWizard_ImportCoreSchemasWizard_id"
-          name="%ImportWizard_ImportCoreSchemasWizard_name">
-    </wizard>
-    <wizard
-          category="%ImportWizards_Category_id"
-          class="org.apache.directory.studio.schemaeditor.view.wizards.ImportSchemasFromXmlWizard"
-          icon="resources/icons/schemas_import.gif"
-          id="%ImportWizard_ImportSchemasFromXmlWizard_id"
-          name="%ImportWizard_ImportSchemasFromXmlWizard_name">
-    </wizard>
-    <wizard
-          category="%ImportWizards_Category_id"
-          class="org.apache.directory.studio.schemaeditor.view.wizards.ImportSchemasFromOpenLdapWizard"
-          icon="resources/icons/schemas_import.gif"
-          id="%ImportWizard_ImportSchemasFromOpenLdapWizard_id"
-          name="%ImportWizard_ImportSchemasFromOpenLdapWizard_name">
-    </wizard>
-    <wizard
-          category="%ImportWizards_Category_id"
-          class="org.apache.directory.studio.schemaeditor.view.wizards.ImportProjectsWizard"
-          icon="resources/icons/project_import.gif"
-          id="%ImportWizard_ImportProjectsWizard_id"
-          name="%ImportWizard_ImportProjectsWizard_name">
-    </wizard>
- </extension>
-    <extension
-         point="org.eclipse.ui.preferencePages">
-      <page
-            class="org.apache.directory.studio.schemaeditor.view.preferences.PluginPreferencePage"
-            category="%PrefPage_StudioPage_id"
-            id="%PrefPage_SchemaEditor_id"
-            name="%PrefPage_SchemaEditor_name"/>
-	  <page
-      		category="%PrefPage_SchemaEditor_id"
-            class="org.apache.directory.studio.schemaeditor.view.preferences.HierarchyViewPreferencePage"
-            id="%PrefPage_HierarchyView_id"
-            name="%PrefPage_HierarchyView_name"/>
-      <page
-      		category="%PrefPage_SchemaEditor_id"
-            class="org.apache.directory.studio.schemaeditor.view.preferences.SchemaViewPreferencePage"
-            id="%PrefPage_SchemaView_id"
-            name="%PrefPage_SchemaView_name"/>
-      <page
-      		category="%PrefPage_SchemaEditor_id"
-            class="org.apache.directory.studio.schemaeditor.view.preferences.SearchViewPreferencePage"
-            id="%PrefPage_SearchView_id"
-            name="%PrefPage_SearchView_name"/>
-   </extension>
-    <extension
-          point="org.eclipse.ui.decorators">
-       <decorator
-             adaptable="false"
-             class="org.apache.directory.studio.schemaeditor.view.SchemaEditorTypeLabelDecorator"
-             id="%Decorator_SchemaEditorTypeDecorator_id"
-             label="%Decorator_SchemaEditorTypeDecorator_label"
-             lightweight="true"
-             location="BOTTOM_RIGHT"
-             state="true">
-          <enablement>
-             <or>
-                <objectClass
-                      name="org.apache.directory.studio.schemaeditor.view.wrappers.AttributeTypeWrapper">
-                </objectClass>
-                <objectClass
-                      name="org.apache.directory.studio.schemaeditor.view.wrappers.ObjectClassWrapper">
-                </objectClass>
-                <objectClass
-                      name="org.apache.directory.api.ldap.model.schema.AttributeType">
-                </objectClass>
-                <objectClass
-                      name="org.apache.directory.api.ldap.model.schema.ObjectClass">
-                </objectClass>
-             </or>
-          </enablement>
-          <description>
-             %Decorator_SchemaEditorTypeDecorator_description
-          </description>
-       </decorator>
-	   <decorator
-             adaptable="false"
-             class="org.apache.directory.studio.schemaeditor.view.SchemaEditorSchemaCheckerLabelDecorator"
-             id="%Decorator_SchemaEditorSchemaCheckerDecorator_id"
-             label="%Decorator_SchemaEditorSchemaCheckerDecorator_label"
-             lightweight="true"
-             location="BOTTOM_LEFT"
-             state="true">
-          <enablement>
-             <or>
-                <objectClass
-                      name="org.apache.directory.studio.schemaeditor.view.wrappers.AttributeTypeWrapper">
-                </objectClass>
-                <objectClass
-                      name="org.apache.directory.studio.schemaeditor.view.wrappers.ObjectClassWrapper">
-                </objectClass>
-                <objectClass
-                      name="org.apache.directory.studio.schemaeditor.view.wrappers.SchemaWrapper">
-                </objectClass>
-                <objectClass
-                      name="org.apache.directory.studio.schemaeditor.view.wrappers.Folder">
-                </objectClass>
-             </or>
-          </enablement>
-          <description>
-             %Decorator_SchemaEditorSchemaCheckerDecorator_description
-          </description>
-       </decorator>
-    </extension>
-	<extension
-         point="org.eclipse.search.searchPages">
-		<page
-			class="org.apache.directory.studio.schemaeditor.view.search.SearchPage"
-            enabled="true"
-            icon="resources/icons/search.gif"
-            id="%SearchPage_SchemaEditorSearch_id"
-            label="%SearchPage_SchemaEditorSearch_label"
-            showScopeSection="false"
-            sizeHint="450,300"/>
-	</extension>
- <extension
-       point="org.eclipse.ui.contexts">
+        id="%ImportWizards_Category_id"
+        name="Schema Editor"/>
+
+    <wizard
+        category="%ImportWizards_Category_id"
+        class="org.apache.directory.studio.schemaeditor.view.wizards.ImportCoreSchemasWizard"
+        icon="resources/icons/schemas_import.gif"
+        id="org.apache.directory.studio.schemaeditor.wizards.ImportCoreSchemasWizard"
+        name="%ImportWizard_ImportCoreSchemasWizard_name"/>
+
+    <wizard
+        category="%ImportWizards_Category_id"
+        class="org.apache.directory.studio.schemaeditor.view.wizards.ImportSchemasFromXmlWizard"
+        icon="resources/icons/schemas_import.gif"
+        id="org.apache.directory.studio.schemaeditor.wizards.ImportSchemasFromXmlWizard"
+        name="%ImportWizard_ImportSchemasFromXmlWizard_name"/>
+
+    <wizard
+        category="%ImportWizards_Category_id"
+        class="org.apache.directory.studio.schemaeditor.view.wizards.ImportSchemasFromOpenLdapWizard"
+        icon="resources/icons/schemas_import.gif"
+        id="org.apache.directory.studio.schemaeditor.wizards.ImportSchemasFromOpenLdapWizard"
+        name="%ImportWizard_ImportSchemasFromOpenLdapWizard_name"/>
+
+    <wizard
+        category="%ImportWizards_Category_id"
+        class="org.apache.directory.studio.schemaeditor.view.wizards.ImportProjectsWizard"
+        icon="resources/icons/project_import.gif"
+        id="org.apache.directory.studio.schemaeditor.wizards.ImportProjectsWizard"
+        name="%ImportWizard_ImportProjectsWizard_name"/>
+  </extension>
+
+  <extension
+      point="org.eclipse.ui.preferencePages">
+    <page
+        class="org.apache.directory.studio.schemaeditor.view.preferences.PluginPreferencePage"
+        category="org.apache.directory.studio.StudioPreferencePage"
+        id="%PrefPage_SchemaEditor_id"
+        name="%PrefPage_SchemaEditor_name"/>
+
+    <page
+        category="%PrefPage_SchemaEditor_id"
+        class="org.apache.directory.studio.schemaeditor.view.preferences.HierarchyViewPreferencePage"
+        id="%PrefPage_HierarchyView_id"
+        name="%PrefPage_HierarchyView_name"/>
+
+    <page
+        category="%PrefPage_SchemaEditor_id"
+        class="org.apache.directory.studio.schemaeditor.view.preferences.SchemaViewPreferencePage"
+        id="%PrefPage_SchemaView_id"
+        name="%PrefPage_SchemaView_name"/>
+
+    <page
+        category="%PrefPage_SchemaEditor_id"
+        class="org.apache.directory.studio.schemaeditor.view.preferences.SearchViewPreferencePage"
+        id="%PrefPage_SearchView_id"
+        name="%PrefPage_SearchView_name"/>
+  </extension>
+
+  <extension
+      point="org.eclipse.ui.decorators">
+    <decorator
+        adaptable="false"
+        class="org.apache.directory.studio.schemaeditor.view.SchemaEditorTypeLabelDecorator"
+        id="org.apache.directory.studio.schemas.typeDecorator"
+        label="%Decorator_SchemaEditorTypeDecorator_label"
+        lightweight="true"
+        location="BOTTOM_RIGHT"
+        state="true">
+      <enablement>
+        <or>
+          <objectClass
+              name="org.apache.directory.studio.schemaeditor.view.wrappers.AttributeTypeWrapper"/>
+
+          <objectClass
+              name="org.apache.directory.studio.schemaeditor.view.wrappers.ObjectClassWrapper"/>
+
+          <objectClass
+              name="org.apache.directory.api.ldap.model.schema.AttributeType"/>
+
+          <objectClass
+              name="org.apache.directory.api.ldap.model.schema.ObjectClass"/>
+        </or>
+      </enablement>
+      <description>
+         %Decorator_SchemaEditorTypeDecorator_description
+      </description>
+    </decorator>
+
+    <decorator
+        adaptable="false"
+        class="org.apache.directory.studio.schemaeditor.view.SchemaEditorSchemaCheckerLabelDecorator"
+        id="org.apache.directory.studio.schemas.schemaCheckerDecorator"
+        label="%Decorator_SchemaEditorSchemaCheckerDecorator_label"
+        lightweight="true"
+        location="BOTTOM_LEFT"
+        state="true">
+      <enablement>
+        <or>
+          <objectClass
+              name="org.apache.directory.studio.schemaeditor.view.wrappers.AttributeTypeWrapper"/>
+
+          <objectClass
+              name="org.apache.directory.studio.schemaeditor.view.wrappers.ObjectClassWrapper"/>
+
+          <objectClass
+              name="org.apache.directory.studio.schemaeditor.view.wrappers.SchemaWrapper"/>
+
+          <objectClass
+              name="org.apache.directory.studio.schemaeditor.view.wrappers.Folder"/>
+        </or>
+      </enablement>
+      <description>
+          %Decorator_SchemaEditorSchemaCheckerDecorator_description
+      </description>
+    </decorator>
+  </extension>
+    
+  <extension
+      point="org.eclipse.search.searchPages">
+    <page
+        class="org.apache.directory.studio.schemaeditor.view.search.SearchPage"
+        enabled="true"
+        icon="resources/icons/search.gif"
+        id="org.apache.directory.studio.schemaeditor.search"
+        label="%SearchPage_SchemaEditorSearch_label"
+        showScopeSection="false"
+        sizeHint="450,300"/>
+  </extension>
+
+  <extension
+      point="org.eclipse.ui.contexts">
     <context
-          description="%Ctx_ProjectsView_description"
-          id="%Ctx_ProjectsView_id"
-          name="%Ctx_ProjectsView_name"
-          parentId="org.eclipse.ui.contexts.window">
-    </context>
+        description="%Ctx_ProjectsView_description"
+        id="%Ctx_ProjectsView_id"
+        name="%Ctx_ProjectsView_name"
+        parentId="org.eclipse.ui.contexts.window"/>
+
     <context
-          description="%Ctx_SchemaView_description"
-          id="%Ctx_SchemaView_id"
-          name="%Ctx_SchemaView_name"
-          parentId="org.eclipse.ui.contexts.window">
-    </context>
- </extension>
- <extension
-       point="org.eclipse.ui.commands">
+        description="%Ctx_SchemaView_description"
+        id="%Ctx_SchemaView_id"
+        name="%Ctx_SchemaView_name"
+        parentId="org.eclipse.ui.contexts.window"/>
+  </extension>
+  
+  <extension
+      point="org.eclipse.ui.commands">
     <category
-          id="%Cmd_Category_id"
-          name="%Cmd_Category_name">
-    </category>
+        id="%Cmd_Category_id"
+        name="%Cmd_Category_name"/>
+
     <command
-          categoryId="%Cmd_Category_id"
-          description="%Cmd_NewProject_description"
-          id="%Cmd_NewProject_id"
-          name="%Cmd_NewProject_name">
-    </command>
+        categoryId="%Cmd_Category_id"
+        description="%Cmd_NewProject_description"
+        id="%Cmd_NewProject_id"
+        name="%Cmd_NewProject_name"/>
+
     <command
-          categoryId="%Cmd_Category_id"
-          description="%Cmd_RenameProject_description"
-          id="%Cmd_RenameProject_id"
-          name="%Cmd_RenameProject_name">
-    </command>
+        categoryId="%Cmd_Category_id"
+        description="%Cmd_RenameProject_description"
+        id="%Cmd_RenameProject_id"
+        name="%Cmd_RenameProject_name"/>
+
     <command
-          categoryId="%Cmd_Category_id"
-          description="%Cmd_DeleteProject_description"
-          id="%Cmd_DeleteProject_id"
-          name="%Cmd_DeleteProject_name">
-    </command>
+        categoryId="%Cmd_Category_id"
+        description="%Cmd_DeleteProject_description"
+        id="%Cmd_DeleteProject_id"
+        name="%Cmd_DeleteProject_name"/>
+
     <command
-          categoryId="%Cmd_Category_id"
-          description="%Cmd_NewSchema_description"
-          id="%Cmd_NewSchema_id"
-          name="%Cmd_NewSchema_name">
-    </command>
+        categoryId="%Cmd_Category_id"
+        description="%Cmd_NewSchema_description"
+        id="%Cmd_NewSchema_id"
+        name="%Cmd_NewSchema_name"/>
+
     <command
-          categoryId="%Cmd_Category_id"
-          description="%Cmd_NewAttributeType_description"
-          id="%Cmd_NewAttributeType_id"
-          name="%Cmd_NewAttributeType_name">
-    </command>
+        categoryId="%Cmd_Category_id"
+        description="%Cmd_NewAttributeType_description"
+        id="%Cmd_NewAttributeType_id"
+        name="%Cmd_NewAttributeType_name"/>
+
     <command
-          categoryId="%Cmd_Category_id"
-          description="%Cmd_NewObjectClass_description"
-          id="%Cmd_NewObjectClass_id"
-          name="%Cmd_NewObjectClass_name">
-    </command>
+        categoryId="%Cmd_Category_id"
+        description="%Cmd_NewObjectClass_description"
+        id="%Cmd_NewObjectClass_id"
+        name="%Cmd_NewObjectClass_name"/>
+
     <command
-          categoryId="%Cmd_Category_id"
-          description="%Cmd_OpenElement_description"
-          id="%Cmd_OpenElement_id"
-          name="%Cmd_OpenElement_name">
-    </command>
+        categoryId="%Cmd_Category_id"
+        description="%Cmd_OpenElement_description"
+        id="%Cmd_OpenElement_id"
+        name="%Cmd_OpenElement_name"/>
+
     <command
-          categoryId="%Cmd_Category_id"
-          description="%Cmd_OpenTypeHierarchy_description"
-          id="%Cmd_OpenTypeHierarchy_id"
-          name="%Cmd_OpenTypeHierarchy_name">
-    </command>
+        categoryId="%Cmd_Category_id"
+        description="%Cmd_OpenTypeHierarchy_description"
+        id="%Cmd_OpenTypeHierarchy_id"
+        name="%Cmd_OpenTypeHierarchy_name"/>
+
     <command
-          categoryId="%Cmd_Category_id"
-          description="%Cmd_DeleteSchemaElement_description"
-          id="%Cmd_DeleteSchemaElement_id"
-          name="%Cmd_DeleteSchemaElement_name">
-    </command>
+        categoryId="%Cmd_Category_id"
+        description="%Cmd_DeleteSchemaElement_description"
+        id="%Cmd_DeleteSchemaElement_id"
+        name="%Cmd_DeleteSchemaElement_name"/>
+
     <command
-          categoryId="%Cmd_Category_id"
-          description="%Cmd_RenameSchemaElement_description"
-          id="%Cmd_RenameSchemaElement_id"
-          name="%Cmd_RenameSchemaElement_name">
-    </command>
- </extension>
- <extension
-       point="org.eclipse.ui.bindings">
+        categoryId="%Cmd_Category_id"
+        description="%Cmd_RenameSchemaElement_description"
+        id="%Cmd_RenameSchemaElement_id"
+        name="%Cmd_RenameSchemaElement_name"/>
+
+  </extension>
+  
+  <extension
+      point="org.eclipse.ui.bindings">
     <key
-          commandId="%Cmd_NewProject_id"
-          contextId="%Ctx_ProjectsView_id"
-          schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
-          sequence="M1+R">
-    </key>
+        commandId="%Cmd_NewProject_id"
+        contextId="%Ctx_ProjectsView_id"
+        schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
+        sequence="M1+R"/>
+
     <key
-          commandId="%Cmd_RenameProject_id"
-          contextId="%Ctx_ProjectsView_id"
-          schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
-          sequence="F2">
-    </key>
+        commandId="%Cmd_RenameProject_id"
+        contextId="%Ctx_ProjectsView_id"
+        schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
+        sequence="F2"/>
+
     <key
-          commandId="%Cmd_DeleteProject_id"
-          contextId="%Ctx_ProjectsView_id"
-          schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
-          sequence="DEL">
-    </key>
+        commandId="%Cmd_DeleteProject_id"
+        contextId="%Ctx_ProjectsView_id"
+        schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
+        sequence="DEL"/>
+
     <key
-          commandId="%Cmd_NewSchema_id"
-          contextId="%Ctx_SchemaView_id"
-          schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
-          sequence="M1+E">
-    </key>
+        commandId="%Cmd_NewSchema_id"
+        contextId="%Ctx_SchemaView_id"
+        schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
+        sequence="M1+E"/>
+
     <key
-          commandId="%Cmd_NewAttributeType_id"
-          contextId="%Ctx_SchemaView_id"
-          schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
-          sequence="M1+T">
-    </key>
+        commandId="%Cmd_NewAttributeType_id"
+        contextId="%Ctx_SchemaView_id"
+        schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
+        sequence="M1+T"/>
+
     <key
-          commandId="%Cmd_NewObjectClass_id"
-          contextId="%Ctx_SchemaView_id"
-          schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
-          sequence="M1+B">
-    </key>
+        commandId="%Cmd_NewObjectClass_id"
+        contextId="%Ctx_SchemaView_id"
+        schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
+        sequence="M1+B"/>
+
     <key
-          commandId="%Cmd_OpenElement_id"
-          contextId="%Ctx_SchemaView_id"
-          schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
-          sequence="F3">
-    </key>
+        commandId="%Cmd_OpenElement_id"
+        contextId="%Ctx_SchemaView_id"
+        schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
+        sequence="F3"/>
+
     <key
-          commandId="%Cmd_OpenTypeHierarchy_id"
-          contextId="%Ctx_SchemaView_id"
-          schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
-          sequence="F4">
-    </key>
+        commandId="%Cmd_OpenTypeHierarchy_id"
+        contextId="%Ctx_SchemaView_id"
+        schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
+        sequence="F4"/>
+
     <key
-          commandId="%Cmd_DeleteSchemaElement_id"
-          contextId="%Ctx_SchemaView_id"
-          schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
-          sequence="DEL">
-    </key>
+        commandId="%Cmd_DeleteSchemaElement_id"
+        contextId="%Ctx_SchemaView_id"
+        schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
+        sequence="DEL"/>
+
     <key
-          commandId="%Cmd_RenameSchemaElement_id"
-          contextId="%Ctx_SchemaView_id"
-          schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
-          sequence="F2">
-    </key>
- </extension>
- <extension
-       point="org.apache.directory.studio.schemaeditor.schemaConnectors">
+        commandId="%Cmd_RenameSchemaElement_id"
+        contextId="%Ctx_SchemaView_id"
+        schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
+        sequence="F2"/>
+  </extension>
+  
+  <extension
+      point="org.apache.directory.studio.schemaeditor.schemaConnectors">
     <schemaConnector
-          class="org.apache.directory.studio.schemaeditor.model.io.ApacheDsSchemaConnector"
-          description="%SchemaConnector_ApacheDS_description"
-          id="%SchemaConnector_ApacheDS_id"
-          name="%SchemaConnector_ApacheDS_name">
-    </schemaConnector>
+        class="org.apache.directory.studio.schemaeditor.model.io.ApacheDsSchemaConnector"
+        description="%SchemaConnector_ApacheDS_description"
+        id="org.apache.directory.studio.schemaeditor.model.io.ApacheDsSchemaConnector"
+        name="%SchemaConnector_ApacheDS_name"/>
+
     <schemaConnector
-          class="org.apache.directory.studio.schemaeditor.model.io.GenericSchemaConnector"
-          description="%SchemaConnector_Generic_description"
-          id="%SchemaConnector_Generic_id"
-          name="%SchemaConnector_Generic_name">
-    </schemaConnector>
- </extension>     
+        class="org.apache.directory.studio.schemaeditor.model.io.GenericSchemaConnector"
+        description="%SchemaConnector_Generic_description"
+        id="org.apache.directory.studio.schemaeditor.model.io.GenericSchemaConnector"
+        name="%SchemaConnector_Generic_name"/>
+  </extension>     
 </plugin>

Modified: directory/studio/branches/studio-value/plugins/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/PluginConstants.java
URL: http://svn.apache.org/viewvc/directory/studio/branches/studio-value/plugins/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/PluginConstants.java?rev=1806665&r1=1806664&r2=1806665&view=diff
==============================================================================
--- directory/studio/branches/studio-value/plugins/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/PluginConstants.java (original)
+++ directory/studio/branches/studio-value/plugins/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/PluginConstants.java Wed Aug 30 05:02:31 2017
@@ -43,23 +43,23 @@ public final class PluginConstants
     }
 
     /** The plug-in ID */
-    public static final String PLUGIN_ID = Activator.getDefault().getPluginProperties().getString( "Plugin_id" ); //$NON-NLS-1$
+    public static final String PLUGIN_ID = PluginConstants.class.getPackage().getName();
 
     /** The Schema Editor perspective ID */
     public static final String PERSPECTIVE_SCHEMA_EDITOR_ID = Activator.getDefault().getPluginProperties()
         .getString( "Perspective_SchemaEditor_id" ); //$NON-NLS-1$
 
     /** The LDAP Browser perspective ID */
-    public static final String PERSPECTIVE_LDAP_BROWSER_ID = Activator.getDefault().getPluginProperties()
-        .getString( "Perspective_LdapBrowser_id" ); //$NON-NLS-1$
+    public static final String PERSPECTIVE_LDAP_BROWSER_ID = 
+        "org.apache.directory.studio.ldapbrowser.ui.perspective.BrowserPerspective"; //$NON-NLS-1$
 
     /** The top left folder ID */
-    public static final String PERSPECTIVE_TOP_LEFT_FOLDER_ID = Activator.getDefault().getPluginProperties()
-        .getString( "Perspective_TopLeftFolder_id" ); //$NON-NLS-1$
+    public static final String PERSPECTIVE_TOP_LEFT_FOLDER_ID = 
+        "org.apache.directory.studio.schemaeditor.topleftfolder"; //$NON-NLS-1$
 
     /** The bottom folder ID */
-    public static final String PERSPECTIVE_BOTTOM_FOLDER_ID = Activator.getDefault().getPluginProperties()
-        .getString( "Perspective_BottomFolder_id" ); //$NON-NLS-1$
+    public static final String PERSPECTIVE_BOTTOM_FOLDER_ID = 
+        "org.apache.directory.studio.schemaeditor.bottomfolder"; //$NON-NLS-1$
 
     /** The Attribute Type Editor ID */
     public static final String EDITOR_ATTRIBUTE_TYPE_ID = Activator.getDefault().getPluginProperties()

Modified: directory/studio/branches/studio-value/plugins/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/PluginUtils.java
URL: http://svn.apache.org/viewvc/directory/studio/branches/studio-value/plugins/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/PluginUtils.java?rev=1806665&r1=1806664&r2=1806665&view=diff
==============================================================================
--- directory/studio/branches/studio-value/plugins/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/PluginUtils.java (original)
+++ directory/studio/branches/studio-value/plugins/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/PluginUtils.java Wed Aug 30 05:02:31 2017
@@ -469,7 +469,7 @@ public class PluginUtils
         List<SchemaConnector> schemaConnectors = new ArrayList<SchemaConnector>();
 
         IExtensionPoint extensionPoint = Platform.getExtensionRegistry().getExtensionPoint(
-            Activator.getDefault().getPluginProperties().getString( "ExtensionPoint_SchemaConnectors_id" ) ); //$NON-NLS-1$
+            "org.apache.directory.studio.schemaeditor.schemaConnectors" ); //$NON-NLS-1$
         IConfigurationElement[] members = extensionPoint.getConfigurationElements();
 
         if ( members != null )



Mime
View raw message