directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1806524 - in /directory/studio/branches/studio-value/plugins/ldapservers.apacheds: plugin.properties plugin.xml
Date Tue, 29 Aug 2017 03:16:41 GMT
Author: elecharny
Date: Tue Aug 29 03:16:41 2017
New Revision: 1806524

URL: http://svn.apache.org/viewvc?rev=1806524&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/ldapservers.apacheds/plugin.properties
    directory/studio/branches/studio-value/plugins/ldapservers.apacheds/plugin.xml

Modified: directory/studio/branches/studio-value/plugins/ldapservers.apacheds/plugin.properties
URL: http://svn.apache.org/viewvc/directory/studio/branches/studio-value/plugins/ldapservers.apacheds/plugin.properties?rev=1806524&r1=1806523&r2=1806524&view=diff
==============================================================================
--- directory/studio/branches/studio-value/plugins/ldapservers.apacheds/plugin.properties
(original)
+++ directory/studio/branches/studio-value/plugins/ldapservers.apacheds/plugin.properties
Tue Aug 29 03:16:41 2017
@@ -14,15 +14,17 @@
 # KIND, either express or implied.  See the License for the
 # specific language governing permissions and limitations
 # under the License.
-
-Plugin_id=org.apache.directory.studio.ldapservers.apacheds
-
+#---------------------------------------------------------------------------------------------------
+# The IDs used more than once
+#---------------------------------------------------------------------------------------------------
 LdapServerAdapter_id=org.apache.directory.server.2.0.0
+
+#---------------------------------------------------------------------------------------------------
+# The I18n Strings
+#---------------------------------------------------------------------------------------------------
 LdapServerAdapter_name=ApacheDS
 LdapServerAdapter_vendor=Apache Software Foundation
 LdapServerAdapter_version=2.0.0
 
-ActionCreateConnection_id=org.apache.directory.studio.ldapservers.apacheds.CreateConnectionAction
 ActionCreateConnection_label=Create a Connection
-ActionRepair_id=org.apache.directory.studio.ldapservers.apacheds.RepairAction
 ActionRepair_label=Repair
\ No newline at end of file

Modified: directory/studio/branches/studio-value/plugins/ldapservers.apacheds/plugin.xml
URL: http://svn.apache.org/viewvc/directory/studio/branches/studio-value/plugins/ldapservers.apacheds/plugin.xml?rev=1806524&r1=1806523&r2=1806524&view=diff
==============================================================================
--- directory/studio/branches/studio-value/plugins/ldapservers.apacheds/plugin.xml (original)
+++ directory/studio/branches/studio-value/plugins/ldapservers.apacheds/plugin.xml Tue Aug
29 03:16:41 2017
@@ -19,47 +19,49 @@
 -->
 <?eclipse version="3.2"?>
 <plugin>
-   <extension
-         point="org.apache.directory.studio.ldapservers.ldapServerAdapters">
-      <ldapServerAdapter
-            class="org.apache.directory.studio.ldapservers.apacheds.ApacheDS200LdapServerAdapter"
-            id="%LdapServerAdapter_id"
-            name="%LdapServerAdapter_name"
-            vendor="%LdapServerAdapter_vendor"
-            version="%LdapServerAdapter_version">
-      </ldapServerAdapter>
-   </extension>
-   
-   <extension
-         point="org.eclipse.ui.popupMenus">
-      <objectContribution
-            objectClass="org.apache.directory.studio.ldapservers.model.LdapServer"
-            id="org.apache.directory.studio.ldapservers.model.LdapServer">
-         <action
-               class="org.apache.directory.studio.ldapservers.apacheds.CreateConnectionAction"
-               enablesFor="1"
-               id="%ActionCreateConnection_id"
-               label="%ActionCreateConnection_label"
-               icon="resources/icons/connection_new.gif">
-         </action>
-         <action
-               class="org.apache.directory.studio.ldapservers.apacheds.RepairAction"
-               enablesFor="1"
-               id="%ActionRepair_id"
-               label="%ActionRepair_label">
-         </action>
-         <visibility>
-            <and>
-               <objectState
-                     name="isLdapPerspectiveAvailable"
-                     value="true">
-               </objectState>
-               <objectState
-                     name="extensionId"
-                     value="%LdapServerAdapter_id">
-               </objectState>
-            </and>
-         </visibility>
-      </objectContribution>
-   </extension>
+  <extension
+      point="org.apache.directory.studio.ldapservers.ldapServerAdapters">
+    <ldapServerAdapter
+        class="org.apache.directory.studio.ldapservers.apacheds.ApacheDS200LdapServerAdapter"
+        id="%LdapServerAdapter_id"
+        name="%LdapServerAdapter_name"
+        vendor="%LdapServerAdapter_vendor"
+        version="%LdapServerAdapter_version"/>
+  </extension>
+
+  <extension
+      point="org.eclipse.ui.popupMenus">
+    <objectContribution
+        objectClass="org.apache.directory.studio.ldapservers.model.LdapServer"
+        id="org.apache.directory.studio.ldapservers.model.LdapServer">
+      <action
+          class="org.apache.directory.studio.ldapservers.apacheds.CreateConnectionAction"
+          enablesFor="1"
+          id="org.apache.directory.studio.ldapservers.apacheds.CreateConnectionAction"
+          label="%ActionCreateConnection_label"
+          icon="resources/icons/connection_new.gif">
+      </action>
+
+      <action
+          class="org.apache.directory.studio.ldapservers.apacheds.RepairAction"
+          enablesFor="1"
+          id="org.apache.directory.studio.ldapservers.apacheds.RepairAction"
+          label="%ActionRepair_label">
+      </action>
+      
+      <visibility>
+        <and>
+          <objectState
+              name="isLdapPerspectiveAvailable"
+              value="true">
+          </objectState>
+          
+          <objectState
+              name="extensionId"
+              value="%LdapServerAdapter_id">
+          </objectState>
+        </and>
+      </visibility>
+    </objectContribution>
+  </extension>
 </plugin>



Mime
View raw message