directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pamarce...@apache.org
Subject svn commit: r689511 - in /directory/studio/trunk/ldifeditor: plugin.properties plugin.xml pom.xml
Date Wed, 27 Aug 2008 16:20:50 GMT
Author: pamarcelot
Date: Wed Aug 27 09:20:48 2008
New Revision: 689511

URL: http://svn.apache.org/viewvc?rev=689511&view=rev
Log:
Part of a fix for DIRSTUDIO-375 (Move each plugin IDs in a plugin.properties file).

Added:
    directory/studio/trunk/ldifeditor/plugin.properties
Modified:
    directory/studio/trunk/ldifeditor/plugin.xml
    directory/studio/trunk/ldifeditor/pom.xml

Added: directory/studio/trunk/ldifeditor/plugin.properties
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldifeditor/plugin.properties?rev=689511&view=auto
==============================================================================
--- directory/studio/trunk/ldifeditor/plugin.properties (added)
+++ directory/studio/trunk/ldifeditor/plugin.properties Wed Aug 27 09:20:48 2008
@@ -0,0 +1,55 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+Editor_LdifEditor_id=org.apache.directory.studio.ldifeditor.editor.LdifEditor
+Editor_LdifEditor_name=LDIF Editor
+
+NewWizards_Category_id=org.apache.directory.studio.ldapbrowser.newWizards
+
+NewWizard_NewLdifFileWizard_id=org.apache.directory.studio.ldifeditor.wizards.NewLdifFileWizard
+NewWizard_NewLdifFileWizard_name=LDIF File
+
+Keyword_Colors_id=org.apache.directory.studio.ldapbrowser.keyword.colors
+Keyword_LDAP_id=org.apache.directory.studio.ldapbrowser.keyword.ldap
+Keyword_LDIF_id=org.apache.directory.studio.ldapbrowser.keyword.ldif
+
+PrefPage_LdifEditorPreferencePage_id=org.apache.directory.studio.ldifeditor.dialogs.preferences.LdifEditorPreferencePage
+PrefPage_LdifEditorPreferencePage_name=LDIF Editor
+
+PrefPage_LdifEditorContentAssistPreferencePage_id=org.apache.directory.studio.ldifeditor.dialogs.preferences.LdifEditorContentAssistPreferencePage
+PrefPage_LdifEditorContentAssistPreferencePage_name=Content Assist
+
+PrefPage_LdifEditorSyntaxColoringPreferencePage_id=org.apache.directory.studio.ldifeditor.dialogs.preferences.LdifEditorSyntaxColoringPreferencePage
+PrefPage_LdifEditorSyntaxColoringPreferencePage_name=Syntax Coloring
+
+PrefPage_LdifEditorTemplatesPreferencePage_id=org.apache.directory.studio.ldifeditor.dialogs.preferences.LdifEditorTemplatesPreferencePage
+PrefPage_LdifEditorTemplatesPreferencePage_name=Templates
+
+CtxType_LdifFile_id=org.apache.directory.studio.ldifeditor.templates.ldifFile
+CtxType_LdifFile_name=LDIF File
+
+CtxType_LdifAttributeValueRecord_id=org.apache.directory.studio.ldifeditor.templates.ldifAttrValRecord
+CtxType_LdifAttributeValueRecord_name=LDIF Attribute Value Record
+
+CtxType_LdifModificationRecord_id=org.apache.directory.studio.ldifeditor.templates.ldifModificationRecord
+CtxType_LdifModificationRecord_name=LDIF Modification Record
+
+CtxType_LdifModificationItem_id=org.apache.directory.studio.ldifeditor.templates.ldifModificationItem
+CtxType_LdifModificationItem_name=LDIF Modification Item
+
+CtxType_LdifModdnRecord_id=org.apache.directory.studio.ldifeditor.templates.ldifModdnRecord
+CtxType_LdifModdnRecord_name=LDIF Moddn Record
\ No newline at end of file

Modified: directory/studio/trunk/ldifeditor/plugin.xml
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldifeditor/plugin.xml?rev=689511&r1=689510&r2=689511&view=diff
==============================================================================
--- directory/studio/trunk/ldifeditor/plugin.xml (original)
+++ directory/studio/trunk/ldifeditor/plugin.xml Wed Aug 27 09:20:48 2008
@@ -27,20 +27,20 @@
           default="true"
           extensions="ldif, ldiflog"
           icon="resources/icons/ldifeditor.gif"
-          id="org.apache.directory.studio.ldifeditor.editor.LdifEditor"
-          name="LDIF Editor"/>         
+          id="%Editor_LdifEditor_id"
+          name="%Editor_LdifEditor_name"/>         
    </extension>
 
    <extension
          point="org.eclipse.ui.newWizards">
       <wizard
             canFinishEarly="true"
-            category="org.apache.directory.studio.ldapbrowser.newWizards"
+            category="%NewWizards_Category_id"
             class="org.apache.directory.studio.ldifeditor.wizards.NewLdifFileWizard"
             hasPages="false"
             icon="resources/icons/ldifeditor_new.gif"
-            id="org.apache.directory.studio.ldifeditor.wizards.NewLdifFileWizard"
-            name="LDIF File"
+            id="%NewWizard_NewLdifFileWizard_id"
+            name="%NewWizard_NewLdifFileWizard_name"
             project="false"/>
    </extension>
 
@@ -53,35 +53,35 @@
          point="org.eclipse.ui.preferencePages">
       <page
             class="org.apache.directory.studio.ldifeditor.dialogs.preferences.LdifEditorPreferencePage"
-            id="org.apache.directory.studio.ldifeditor.dialogs.preferences.LdifEditorPreferencePage"
-            name="LDIF Editor">
-         <keywordReference id="org.apache.directory.studio.ldapbrowser.keyword.ldap"/>
-         <keywordReference id="org.apache.directory.studio.ldapbrowser.keyword.ldif"/>
+            id="%PrefPage_LdifEditorPreferencePage_id"
+            name="%PrefPage_LdifEditorPreferencePage_name">
+         <keywordReference id="%Keyword_LDAP_id"/>
+         <keywordReference id="%Keyword_LDIF_id"/>
       </page>
       <page
-            category="org.apache.directory.studio.ldifeditor.dialogs.preferences.LdifEditorPreferencePage"
+            category="%PrefPage_LdifEditorPreferencePage_id"
             class="org.apache.directory.studio.ldifeditor.dialogs.preferences.LdifEditorContentAssistPreferencePage"
-            id="org.apache.directory.studio.ldifeditor.dialogs.preferences.LdifEditorContentAssistPreferencePage"
-            name="Content Assist">
-         <keywordReference id="org.apache.directory.studio.ldapbrowser.keyword.ldap"/>
-         <keywordReference id="org.apache.directory.studio.ldapbrowser.keyword.ldif"/>
+            id="%PrefPage_LdifEditorContentAssistPreferencePage_id"
+            name="%PrefPage_LdifEditorContentAssistPreferencePage_name">
+         <keywordReference id="%Keyword_LDAP_id"/>
+         <keywordReference id="%Keyword_LDIF_id"/>
       </page>
       <page
-            category="org.apache.directory.studio.ldifeditor.dialogs.preferences.LdifEditorPreferencePage"
+            category="%PrefPage_LdifEditorPreferencePage_id"
             class="org.apache.directory.studio.ldifeditor.dialogs.preferences.LdifEditorSyntaxColoringPreferencePage"
-            id="org.apache.directory.studio.ldifeditor.dialogs.preferences.LdifEditorSyntaxColoringPreferencePage"
-            name="Syntax Coloring">
-         <keywordReference id="org.apache.directory.studio.ldapbrowser.keyword.ldap"/>
-         <keywordReference id="org.apache.directory.studio.ldapbrowser.keyword.ldif"/>
-         <keywordReference id="org.apache.directory.studio.ldapbrowser.keyword.colors"/>
+            id="%PrefPage_LdifEditorSyntaxColoringPreferencePage_id"
+            name="%PrefPage_LdifEditorSyntaxColoringPreferencePage_name">
+         <keywordReference id="%Keyword_LDAP_id"/>
+         <keywordReference id="%Keyword_LDIF_id"/>
+         <keywordReference id="%Keyword_Colors_id"/>
       </page>
       <page
-            category="org.apache.directory.studio.ldifeditor.dialogs.preferences.LdifEditorPreferencePage"
+            category="%PrefPage_LdifEditorPreferencePage_id"
             class="org.apache.directory.studio.ldifeditor.dialogs.preferences.LdifEditorTemplatesPreferencePage"
-            id="org.apache.directory.studio.ldifeditor.dialogs.preferences.LdifEditorTemplatesPreferencePage"
-            name="Templates">
-         <keywordReference id="org.apache.directory.studio.ldapbrowser.keyword.ldap"/>
-         <keywordReference id="org.apache.directory.studio.ldapbrowser.keyword.ldif"/>
+            id="%PrefPage_LdifEditorTemplatesPreferencePage_id"
+            name="%PrefPage_LdifEditorTemplatesPreferencePage_name">
+         <keywordReference id="%Keyword_LDAP_id"/>
+         <keywordReference id="%Keyword_LDIF_id"/>
       </page>
    </extension>      
 
@@ -89,24 +89,24 @@
          point="org.eclipse.ui.editors.templates">
       <contextType
             class="org.eclipse.jface.text.templates.TemplateContextType"
-            id="org.apache.directory.studio.ldifeditor.templates.ldifFile"
-            name="LDIF File"/>
+            id="%CtxType_LdifFile_id"
+            name="%CtxType_LdifFile_name"/>
       <contextType
             class="org.eclipse.jface.text.templates.TemplateContextType"
-            id="org.apache.directory.studio.ldifeditor.templates.ldifAttrValRecord"
-            name="LDIF Attribute Value Record"/>
+            id="%CtxType_LdifAttributeValueRecord_id"
+            name="%CtxType_LdifAttributeValueRecord_name"/>
       <contextType
             class="org.eclipse.jface.text.templates.TemplateContextType"
-            id="org.apache.directory.studio.ldifeditor.templates.ldifModificationRecord"
-            name="LDIF Modification Record"/>
+            id="%CtxType_LdifModificationRecord_id"
+            name="%CtxType_LdifModificationRecord_name"/>
       <contextType
             class="org.eclipse.jface.text.templates.TemplateContextType"
-            id="org.apache.directory.studio.ldifeditor.templates.ldifModificationItem"
-            name="LDIF Modification Item"/>
+            id="%CtxType_LdifModificationItem_id"
+            name="%CtxType_LdifModificationItem_name"/>
       <contextType
             class="org.eclipse.jface.text.templates.TemplateContextType"
-            id="org.apache.directory.studio.ldifeditor.templates.ldifModdnRecord"
-            name="LDIF Moddn Record"/>
+            id="%CtxType_LdifModdnRecord_id"
+            name="%CtxType_LdifModdnRecord_name"/>
       <include file="resources/templates/templates.xml"/>
    </extension>
 

Modified: directory/studio/trunk/ldifeditor/pom.xml
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldifeditor/pom.xml?rev=689511&r1=689510&r2=689511&view=diff
==============================================================================
--- directory/studio/trunk/ldifeditor/pom.xml (original)
+++ directory/studio/trunk/ldifeditor/pom.xml Wed Aug 27 09:20:48 2008
@@ -39,6 +39,7 @@
       <resource>
         <directory>.</directory>
         <includes>
+          <include>plugin.properties</include>
           <include>plugin.xml</include>
           <include>about.ini</include>
           <include>studio.png</include>



Mime
View raw message