directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pamarce...@apache.org
Subject svn commit: r689004 - in /directory/studio/trunk/apacheds: META-INF/MANIFEST.MF plugin.properties plugin.xml pom.xml
Date Tue, 26 Aug 2008 09:08:20 GMT
Author: pamarcelot
Date: Tue Aug 26 02:08:18 2008
New Revision: 689004

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

Added:
    directory/studio/trunk/apacheds/plugin.properties
Modified:
    directory/studio/trunk/apacheds/META-INF/MANIFEST.MF
    directory/studio/trunk/apacheds/plugin.xml
    directory/studio/trunk/apacheds/pom.xml

Modified: directory/studio/trunk/apacheds/META-INF/MANIFEST.MF
URL: http://svn.apache.org/viewvc/directory/studio/trunk/apacheds/META-INF/MANIFEST.MF?rev=689004&r1=689003&r2=689004&view=diff
==============================================================================
--- directory/studio/trunk/apacheds/META-INF/MANIFEST.MF (original)
+++ directory/studio/trunk/apacheds/META-INF/MANIFEST.MF Tue Aug 26 02:08:18 2008
@@ -5,6 +5,7 @@
 Bundle-Version: 1.3.0.SNAPSHOT
 Bundle-Activator: org.apache.directory.studio.apacheds.ApacheDsPlugin
 Bundle-Vendor: Apache Software Foundation
+Bundle-Localization: plugin
 Require-Bundle: org.eclipse.ui,
  org.eclipse.core.runtime,
  org.eclipse.ui.console,

Added: directory/studio/trunk/apacheds/plugin.properties
URL: http://svn.apache.org/viewvc/directory/studio/trunk/apacheds/plugin.properties?rev=689004&view=auto
==============================================================================
--- directory/studio/trunk/apacheds/plugin.properties (added)
+++ directory/studio/trunk/apacheds/plugin.properties Tue Aug 26 02:08:18 2008
@@ -0,0 +1,73 @@
+# 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.
+
+ID_PrefPage_MainPage.id=org.apache.directory.studio.apacheds.prefs.MainPage
+ID_PrefPage_MainPage.name=Apache DS
+
+ID_PrefPage_ColorsAndFontsPage.id=org.apache.directory.studio.apacheds.ColorsAndFontsPage
+ID_PrefPage_ColorsAndFontsPage.name=Colors and Fonts
+
+ID_PrefPage_ServerLogsPage.id=org.apache.directory.studio.apacheds.ServerLogsPage
+ID_PrefPage_ServerLogsPage.name=Server Logs
+
+ID_View_Category.id=org.apache.directory.studio.apacheds.category
+ID_View_Category.name=Apache DS
+
+ID_View_ServersView.id=org.apache.directory.studio.apacheds.serversView
+ID_View_ServersView.name=Servers
+
+ID_PropPage_ServerPropertyPage.id=org.apache.directory.studio.apacheds.properties.serverProperties
+ID_PropPage_ServerPropertyPage.name=Info
+
+ID_Cmd_Category.id=org.apache.directory.studio.apacheds.commands
+ID_Cmd_Category.name=Apache DS
+
+ID_Cmd_NewServer.id=org.apache.directory.studio.apacheds.commands.newServer
+ID_Cmd_NewServer.name=New Server
+ID_Cmd_NewServer.description=Creates a new server
+
+ID_Cmd_OpenConfiguration.id=org.apache.directory.studio.apacheds.commands.openConfiguration
+ID_Cmd_OpenConfiguration.name=Open Configuration
+ID_Cmd_OpenConfiguration.description=Open Configuration
+
+ID_Cmd_Delete.id=org.apache.directory.studio.apacheds.commands.delete
+ID_Cmd_Delete.name=Delete
+ID_Cmd_Delete.description=Deletes a server
+
+ID_Cmd_Rename.id=org.apache.directory.studio.apacheds.commands.rename
+ID_Cmd_Rename.name=org.apache.directory.studio.apacheds.commands.rename
+ID_Cmd_Rename.description=Renames the server
+
+ID_Cmd_CreateConnection.id=org.apache.directory.studio.apacheds.commands.createConnection
+ID_Cmd_CreateConnection.name=Create a Connection
+ID_Cmd_CreateConnection.description=Creates a connection
+
+ID_Cmd_Run.id=org.apache.directory.studio.apacheds.commands.run
+ID_Cmd_Run.name=Run
+ID_Cmd_Run.description=Runs the server
+
+ID_Cmd_Stop.id=org.apache.directory.studio.apacheds.commands.stop
+ID_Cmd_Stop.name=Stop
+ID_Cmd_Stop.description=Stops the server
+
+ID_Cmd_Properties.id=org.apache.directory.studio.apacheds.commands.properties
+ID_Cmd_Properties.name=Properties
+ID_Cmd_Properties.description=Shows the properties of the server
+
+ID_Context_ServersView.id=org.apache.directory.studio.apacheds.contexts.serversView
+ID_Context_ServersView.name=In Servers View of Apache DS
+ID_Context_ServersView.description=In Servers View of Apache DS

Modified: directory/studio/trunk/apacheds/plugin.xml
URL: http://svn.apache.org/viewvc/directory/studio/trunk/apacheds/plugin.xml?rev=689004&r1=689003&r2=689004&view=diff
==============================================================================
--- directory/studio/trunk/apacheds/plugin.xml (original)
+++ directory/studio/trunk/apacheds/plugin.xml Tue Aug 26 02:08:18 2008
@@ -5,20 +5,20 @@
          point="org.eclipse.ui.preferencePages">
       <page
             class="org.apache.directory.studio.apacheds.prefs.MainPage"
-            id="org.apache.directory.studio.apacheds.prefs.MainPage"
-            name="Apache DS">
+            id="%ID_PrefPage_MainPage.id"
+            name="%ID_PrefPage_MainPage.name">
       </page>
       <page
             class="org.apache.directory.studio.apacheds.prefs.ColorsAndFontsPage"
-            id="org.apache.directory.studio.apacheds.ColorsAndFontsPage"
-            name="Colors and Fonts"
-            category="org.apache.directory.studio.apacheds.prefs.MainPage">
+            id="%ID_PrefPage_ColorsAndFontsPage.id"
+            name="%ID_PrefPage_ColorsAndFontsPage.name"
+            category="%ID_PrefPage_MainPage.id">
       </page>
       <page
             class="org.apache.directory.studio.apacheds.prefs.ServerLogsPage"
-            id="org.apache.directory.studio.apacheds.ServerLogsPage"
-            name="Server Logs"
-            category="org.apache.directory.studio.apacheds.prefs.MainPage">
+            id="%ID_PrefPage_ServerLogsPage.id"
+            name="%ID_PrefPage_ServerLogsPage.name"
+            category="%ID_PrefPage_MainPage.id">
       </page>
    </extension>
    <extension
@@ -30,23 +30,23 @@
    <extension
          point="org.eclipse.ui.views">
       <category
-            id="org.apache.directory.studio.apacheds.category"
-            name="Apache DS">
+            id="%ID_View_Category.id"
+            name="%ID_View_Category.name">
       </category>
       <view
-            category="org.apache.directory.studio.apacheds.category"
+            category="%ID_View_Category.id"
             class="org.apache.directory.studio.apacheds.views.ServersView"
             icon="resources/icons/serverView.png"
-            id="org.apache.directory.studio.apacheds.serversView"
-            name="Servers">
+            id="%ID_View_ServersView.id"
+            name="%ID_View_ServersView.name">
       </view>
    </extension>
    <extension
          point="org.eclipse.ui.propertyPages">
       <page
             class="org.apache.directory.studio.apacheds.properties.ServerPropertyPage"
-            id="org.apache.directory.studio.apacheds.properties.serverProperties"
-            name="Info">
+            id="%ID_PropPage_ServerPropertyPage.id"
+            name="%ID_PropPage_ServerPropertyPage.name">
          <enabledWhen>
             <instanceof
                   value="org.apache.directory.studio.apacheds.model.Server">
@@ -57,102 +57,102 @@
    <extension
          point="org.eclipse.ui.commands">
       <category
-            id="org.apache.directory.studio.apacheds.commands"
-            name="Apache DS">
+            id="%ID_Cmd_Category.id"
+            name="%ID_Cmd_Category.name">
       </category>
       <command
-            categoryId="org.apache.directory.studio.apacheds.commands"
-            description="Creates a new server"
-            id="org.apache.directory.studio.apacheds.commands.newServer"
-            name="New Server">
+            categoryId="%ID_Cmd_Category.id"
+            description="%ID_Cmd_NewServer.description"
+            id="%ID_Cmd_NewServer.id"
+            name="%ID_Cmd_NewServer.name">
       </command>
       <command
-            categoryId="org.apache.directory.studio.apacheds.commands"
-            description="Opens the server configuration"
-            id="org.apache.directory.studio.apacheds.commands.openConfiguration"
-            name="Open Configuration">
+            categoryId="%ID_Cmd_Category.id"
+            description="%ID_Cmd_OpenConfiguration.description"
+            id="%ID_Cmd_OpenConfiguration.id"
+            name="%ID_Cmd_OpenConfiguration.name">
       </command>
       <command
-            categoryId="org.apache.directory.studio.apacheds.commands"
-            description="Deletes a server"
-            id="org.apache.directory.studio.apacheds.commands.delete"
-            name="Delete">
+            categoryId="%ID_Cmd_Category.id"
+            description="%ID_Cmd_Delete.description"
+            id="%ID_Cmd_Delete.id"
+            name="%ID_Cmd_Delete.name">
       </command>
       <command
-            categoryId="org.apache.directory.studio.apacheds.commands"
-            description="Renames the server"
-            id="org.apache.directory.studio.apacheds.commands.rename"
-            name="Rename">
+            categoryId="%ID_Cmd_Category.id"
+            description="%ID_Cmd_Rename.description"
+            id="%ID_Cmd_Rename.id"
+            name="%ID_Cmd_Rename.name">
       </command>
       <command
-            categoryId="org.apache.directory.studio.apacheds.commands"
-            description="Creates a connection"
-            id="org.apache.directory.studio.apacheds.commands.createConnection"
-            name="Create a Connection">
+            categoryId="%ID_Cmd_Category.id"
+            description="%ID_Cmd_CreateConnection.description"
+            id="%ID_Cmd_CreateConnection.id"
+            name="%ID_Cmd_CreateConnection.name">
       </command>
       <command
-            categoryId="org.apache.directory.studio.apacheds.commands"
-            description="Runs the server"
-            id="org.apache.directory.studio.apacheds.commands.run"
-            name="Run">
+            categoryId="%ID_Cmd_Category.id"
+            description="%ID_Cmd_Run.description"
+            id="%ID_Cmd_Run.id"
+            name="%ID_Cmd_Run.name">
       </command>
       <command
-            categoryId="org.apache.directory.studio.apacheds.commands"
-            description="Stops the server"
-            id="org.apache.directory.studio.apacheds.commands.stop"
-            name="Stop">
+            categoryId="%ID_Cmd_Category.id"
+            description="%ID_Cmd_Stop.description"
+            id="%ID_Cmd_Stop.id"
+            name="%ID_Cmd_Stop.name">
       </command>
       <command
-            categoryId="org.apache.directory.studio.apacheds.commands"
-            description="Shows the properties of the server"
-            id="org.apache.directory.studio.apacheds.commands.properties"
-            name="Properties">
+            categoryId="%ID_Cmd_Category.id"
+            description="%ID_Cmd_Properties.description"
+            id="%ID_Cmd_Properties.id"
+            name="%ID_Cmd_Properties.name">
       </command>
    </extension>
    <extension
          point="org.eclipse.ui.contexts">
       <context
-            description="In Servers View of Apache DS"
-            id="org.apache.directory.studio.apacheds.contexts.serversView"
-            name="In Servers View of Apache DS"
+            description="%ID_Context_ServersView.description"
+            id="%ID_Context_ServersView.id"
+            name="%ID_Context_ServersView.name"
             parentId="org.eclipse.ui.contexts.window">
       </context>
    </extension>
    <extension
          point="org.eclipse.ui.bindings">
       <key
-            commandId="org.apache.directory.studio.apacheds.commands.newServer"
-            contextId="org.apache.directory.studio.apacheds.contexts.serversView"
+            commandId="%ID_Cmd_NewServer.id"
+            contextId="%ID_Context_ServersView.id"
             schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
             sequence="M1+E"/>
       <key
-            commandId="org.apache.directory.studio.apacheds.commands.openConfiguration"
-            contextId="org.apache.directory.studio.apacheds.contexts.serversView"
+            commandId="%ID_Cmd_OpenConfiguration.id"
+            contextId="%ID_Context_ServersView.id"
             schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
             sequence="F3"/>
       <key
-            commandId="org.apache.directory.studio.apacheds.commands.delete"
-            contextId="org.apache.directory.studio.apacheds.contexts.serversView"
+            commandId="%ID_Cmd_Delete.id"
+            contextId="%ID_Context_ServersView.id"
             schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
             sequence="DEL"/>
       <key
-            commandId="org.apache.directory.studio.apacheds.commands.rename"
-            contextId="org.apache.directory.studio.apacheds.contexts.serversView"
+            commandId="%ID_Cmd_Rename.id"
+            contextId="%ID_Context_ServersView.id"
             schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
             sequence="F2"/>
       <key
-            commandId="org.apache.directory.studio.apacheds.commands.run"
-            contextId="org.apache.directory.studio.apacheds.contexts.serversView"
+            commandId="%ID_Cmd_Run.id"
+            contextId="%ID_Context_ServersView.id"
             schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
             sequence="M1+R"/>
       <key
-            commandId="org.apache.directory.studio.apacheds.commands.stop"
-            contextId="org.apache.directory.studio.apacheds.contexts.serversView"
+            commandId="%ID_Cmd_Stop.id"
+            contextId="%ID_Context_ServersView.id"
             schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
             sequence="M1+T"/>
       <key
-            commandId="org.apache.directory.studio.apacheds.commands.properties"
-            contextId="org.apache.directory.studio.apacheds.contexts.serversView"
+            commandId="%ID_Cmd_Properties.id"
+            contextId="%ID_Context_ServersView.id"
             schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
             sequence="ALT+RETURN"/>
    </extension>

Modified: directory/studio/trunk/apacheds/pom.xml
URL: http://svn.apache.org/viewvc/directory/studio/trunk/apacheds/pom.xml?rev=689004&r1=689003&r2=689004&view=diff
==============================================================================
--- directory/studio/trunk/apacheds/pom.xml (original)
+++ directory/studio/trunk/apacheds/pom.xml Tue Aug 26 02:08:18 2008
@@ -39,6 +39,7 @@
         <directory>.</directory>
         <includes>
           <include>about.ini</include>
+          <include>plugin.properties</include>
           <include>plugin.xml</include>
           <include>studio.png</include>
         </includes>



Mime
View raw message