You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by el...@apache.org on 2017/08/27 13:21:09 UTC

svn commit: r1806362 - in /directory/studio/branches/studio-value/plugins: aciitemeditor/plugin.properties apacheds.configuration/plugin.properties apacheds.configuration/plugin.xml

Author: elecharny
Date: Sun Aug 27 13:21:08 2017
New Revision: 1806362

URL: http://svn.apache.org/viewvc?rev=1806362&view=rev
Log:
o Re-established the IDs used more than one
o Created two blocks in the plgin.properties files, one for IDs, one for i18ned strings

Modified:
    directory/studio/branches/studio-value/plugins/aciitemeditor/plugin.properties
    directory/studio/branches/studio-value/plugins/apacheds.configuration/plugin.properties
    directory/studio/branches/studio-value/plugins/apacheds.configuration/plugin.xml

Modified: directory/studio/branches/studio-value/plugins/aciitemeditor/plugin.properties
URL: http://svn.apache.org/viewvc/directory/studio/branches/studio-value/plugins/aciitemeditor/plugin.properties?rev=1806362&r1=1806361&r2=1806362&view=diff
==============================================================================
--- directory/studio/branches/studio-value/plugins/aciitemeditor/plugin.properties (original)
+++ directory/studio/branches/studio-value/plugins/aciitemeditor/plugin.properties Sun Aug 27 13:21:08 2017
@@ -14,7 +14,9 @@
 # KIND, either express or implied.  See the License for the
 # specific language governing permissions and limitations
 # under the License.
-
+#---------------------------------------------------------------------------------------------------
+# The I18n Strings
+#---------------------------------------------------------------------------------------------------
 ValueEditor_AciItemValueEditor_name=ACI Item Editor
 
 ValueEditor_SubtreeValueEditor_name=Subtree Specification Editor

Modified: directory/studio/branches/studio-value/plugins/apacheds.configuration/plugin.properties
URL: http://svn.apache.org/viewvc/directory/studio/branches/studio-value/plugins/apacheds.configuration/plugin.properties?rev=1806362&r1=1806361&r2=1806362&view=diff
==============================================================================
--- directory/studio/branches/studio-value/plugins/apacheds.configuration/plugin.properties (original)
+++ directory/studio/branches/studio-value/plugins/apacheds.configuration/plugin.properties Sun Aug 27 13:21:08 2017
@@ -14,7 +14,15 @@
 # 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
+#---------------------------------------------------------------------------------------------------
+ContentType_ServerConfiguration_id=org.apache.directory.studio.apacheds.configuration.contenttype
+NewWizards_Category_id=org.apache.directory.studio.apacheds.newWizards
 
+#---------------------------------------------------------------------------------------------------
+# The I18n Strings
+#---------------------------------------------------------------------------------------------------
 ContentType_ServerConfiguration_name=ApacheDS Configuration File
 
 Editor_ServerConfigurationEditor_name=Server Configuration
@@ -22,5 +30,4 @@ Editor_ServerConfigurationEditor_name=Se
 OpenConfigurationAction_label=Open Configuration
 
 NewWizards_Category_name=ApacheDS
-
 NewWizards_NewApacheDSConfigurationFileWizard_name=ApacheDS 2.0 Configuration File
\ No newline at end of file

Modified: directory/studio/branches/studio-value/plugins/apacheds.configuration/plugin.xml
URL: http://svn.apache.org/viewvc/directory/studio/branches/studio-value/plugins/apacheds.configuration/plugin.xml?rev=1806362&r1=1806361&r2=1806362&view=diff
==============================================================================
--- directory/studio/branches/studio-value/plugins/apacheds.configuration/plugin.xml (original)
+++ directory/studio/branches/studio-value/plugins/apacheds.configuration/plugin.xml Sun Aug 27 13:21:08 2017
@@ -27,7 +27,7 @@
         icon="resources/icons/editor.gif"
         id="org.apache.directory.studio.apacheds.configuration.editor.ServerConfigurationEditor"
         name="%Editor_ServerConfigurationEditor_name">
-      <contentTypeBinding contentTypeId="org.apache.directory.studio.apacheds.configuration.contenttype"/>
+      <contentTypeBinding contentTypeId="%ContentType_ServerConfiguration_id"/>
     </editor>
   </extension>
    
@@ -35,7 +35,7 @@
     <content-type
         describer="org.apache.directory.studio.apacheds.configuration.ApacheDS2ConfigurationContentDescriber"
         file-names="config.ldif"
-        id="org.apache.directory.studio.apacheds.configuration.contenttype"
+        id="%ContentType_ServerConfiguration_id"
         name="%ContentType_ServerConfiguration_name"/>
   </extension>
    
@@ -66,10 +66,10 @@
  
   <!-- Add a new entry to create an ApacheDS  configuration in the New menu -->  
   <extension point="org.eclipse.ui.newWizards">
-    <category id="org.apache.directory.studio.apacheds.newWizards" name="%NewWizards_Category_name" />
+    <category id="%NewWizards_Category_id" name="%NewWizards_Category_name" />
     <wizard
       canFinishEarly="true"
-      category="org.apache.directory.studio.apacheds.newWizards"
+      category="%NewWizards_Category_id"
       class="org.apache.directory.studio.apacheds.configuration.wizards.NewApacheDSConfigurationFileWizard"
       hasPages="false"
       icon="resources/icons/editor_new.gif"