directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From seelm...@apache.org
Subject svn commit: r491715 - in /directory/trunks/ldapstudio/ldapstudio-schemas-plugin: plugin.xml src/main/resources/plugin.properties
Date Tue, 02 Jan 2007 00:04:19 GMT
Author: seelmann
Date: Mon Jan  1 16:04:19 2007
New Revision: 491715

URL: http://svn.apache.org/viewvc?view=rev&rev=491715
Log:
Added perspectiveExtension, so that Schema buttons and menus are only visible in Schema perspective

Modified:
    directory/trunks/ldapstudio/ldapstudio-schemas-plugin/plugin.xml
    directory/trunks/ldapstudio/ldapstudio-schemas-plugin/src/main/resources/plugin.properties

Modified: directory/trunks/ldapstudio/ldapstudio-schemas-plugin/plugin.xml
URL: http://svn.apache.org/viewvc/directory/trunks/ldapstudio/ldapstudio-schemas-plugin/plugin.xml?view=diff&rev=491715&r1=491714&r2=491715
==============================================================================
--- directory/trunks/ldapstudio/ldapstudio-schemas-plugin/plugin.xml (original)
+++ directory/trunks/ldapstudio/ldapstudio-schemas-plugin/plugin.xml Mon Jan  1 16:04:19 2007
@@ -27,6 +27,13 @@
             name="%ldapstudio-schemas-plugin.perspective.schemas.name"/>
    </extension>
    <extension
+           point="org.eclipse.ui.perspectiveExtensions">
+       <perspectiveExtension 
+               targetID="org.apache.directory.ldapstudio.schemas.perspective">
+           <actionSet id="org.apache.directory.ldapstudio.schemas.actionSet"/>
+       </perspectiveExtension>
+   </extension>   
+   <extension
          point="org.eclipse.ui.views">
       <view
             allowMultiple="false"
@@ -193,7 +200,7 @@
       <actionSet
             id="org.apache.directory.ldapstudio.schemas.actionSet"
             label="%ldapstudio-schemas-plugin.actionsets.actionset.label"
-            visible="true">
+            visible="false">
          <menu
                id="org.apache.directory.ldapstudio.schemas.schemas.menu"
                label="%ldapstudio-schemas-plugin.actionsets.menu.schemas.label">
@@ -226,7 +233,7 @@
                 class="org.apache.directory.ldapstudio.schemas.controller.actions.SaveAllAction"
                 icon="ressources/icons/save_all.png"
                 id="org.apache.directory.ldapstudio.schemas.actions.SampleAction"
-                label="Save all schemas"
+                label="%ldapstudio-schemas-plugin.actionsets.action.saveallschemas.label"
                 menubarPath="org.apache.directory.ldapstudio.schemas.schemas.menu/ManageSaveGroup"
                 toolbarPath="org.apache.directory.ldapstudio.schemas.schemas.toolbar"
                 tooltip="Saves all the schemas"/>

Modified: directory/trunks/ldapstudio/ldapstudio-schemas-plugin/src/main/resources/plugin.properties
URL: http://svn.apache.org/viewvc/directory/trunks/ldapstudio/ldapstudio-schemas-plugin/src/main/resources/plugin.properties?view=diff&rev=491715&r1=491714&r2=491715
==============================================================================
--- directory/trunks/ldapstudio/ldapstudio-schemas-plugin/src/main/resources/plugin.properties
(original)
+++ directory/trunks/ldapstudio/ldapstudio-schemas-plugin/src/main/resources/plugin.properties
Mon Jan  1 16:04:19 2007
@@ -71,6 +71,8 @@
 ldapstudio-schemas-plugin.actionsets.action.removeselectedschema.tooltip=Removes the selected
schema
 ldapstudio-schemas-plugin.actionsets.action.openaschemafile.label=Open a schema file
 ldapstudio-schemas-plugin.actionsets.action.openaschemafile.tooltip=Opens a schema file
+ldapstudio-schemas-plugin.actionsets.action.saveallschemas.label=Save all schemas
+ldapstudio-schemas-plugin.actionsets.action.saveallschemas.tooltip=Save all schemas
 ldapstudio-schemas-plugin.actionsets.action.saveschemaas.label=Save schema as...
 ldapstudio-schemas-plugin.actionsets.action.saveschemaas.tooltip=Saves schema as...
 ldapstudio-schemas-plugin.actionsets.action.saveschema.label=Save schema



Mime
View raw message