directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From seelm...@apache.org
Subject svn commit: r497247 - in /directory/trunks/ldapstudio: ldapstudio-browser-ui/ ldapstudio-browser-ui/src/main/java/org/apache/directory/ldapstudio/browser/ui/perspective/ ldapstudio-rcp/src/main/java/org/apache/directory/ldapstudio/view/ ldapstudio-sche...
Date Wed, 17 Jan 2007 23:37:54 GMT
Author: seelmann
Date: Wed Jan 17 15:37:54 2007
New Revision: 497247

URL: http://svn.apache.org/viewvc?view=rev&rev=497247
Log:
Added shortcuts and categories.

Modified:
    directory/trunks/ldapstudio/ldapstudio-browser-ui/plugin.xml
    directory/trunks/ldapstudio/ldapstudio-browser-ui/src/main/java/org/apache/directory/ldapstudio/browser/ui/perspective/BrowserPerspective.java
    directory/trunks/ldapstudio/ldapstudio-rcp/src/main/java/org/apache/directory/ldapstudio/view/Perspective.java
    directory/trunks/ldapstudio/ldapstudio-schemas-plugin/plugin.xml
    directory/trunks/ldapstudio/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/perspectives/StandardPerspective.java
    directory/trunks/ldapstudio/ldapstudio-schemas-plugin/src/main/resources/plugin.properties

Modified: directory/trunks/ldapstudio/ldapstudio-browser-ui/plugin.xml
URL: http://svn.apache.org/viewvc/directory/trunks/ldapstudio/ldapstudio-browser-ui/plugin.xml?view=diff&rev=497247&r1=497246&r2=497247
==============================================================================
--- directory/trunks/ldapstudio/ldapstudio-browser-ui/plugin.xml (original)
+++ directory/trunks/ldapstudio/ldapstudio-browser-ui/plugin.xml Wed Jan 17 15:37:54 2007
@@ -50,7 +50,7 @@
    <extension
          point="org.eclipse.ui.views">
       <category
-            name="LDAP Browser and Editor"
+            name="LDAP Browser"
             id="org.apache.directory.ldapstudio.browser.ui.category"/>
       <view
             allowMultiple="false"
@@ -592,7 +592,7 @@
        point="org.eclipse.ui.commands">
     <category
           id="org.apache.directory.ldapstudio.browser.commands"
-          name="LDAP Browser and Editor"/>
+          name="LDAP Browser"/>
     <command
           categoryId="org.apache.directory.ldapstudio.browser.commands"
           description="Add a value to an existing attribute"

Modified: directory/trunks/ldapstudio/ldapstudio-browser-ui/src/main/java/org/apache/directory/ldapstudio/browser/ui/perspective/BrowserPerspective.java
URL: http://svn.apache.org/viewvc/directory/trunks/ldapstudio/ldapstudio-browser-ui/src/main/java/org/apache/directory/ldapstudio/browser/ui/perspective/BrowserPerspective.java?view=diff&rev=497247&r1=497246&r2=497247
==============================================================================
--- directory/trunks/ldapstudio/ldapstudio-browser-ui/src/main/java/org/apache/directory/ldapstudio/browser/ui/perspective/BrowserPerspective.java
(original)
+++ directory/trunks/ldapstudio/ldapstudio-browser-ui/src/main/java/org/apache/directory/ldapstudio/browser/ui/perspective/BrowserPerspective.java
Wed Jan 17 15:37:54 2007
@@ -49,6 +49,9 @@
     {
         defineActions( layout );
         defineLayout( layout );
+
+        layout.addPerspectiveShortcut( "org.apache.directory.ldapstudio.schemas.perspective"
); //$NON-NLS-1$ 
+        layout.addPerspectiveShortcut( "org.apache.directory.ldapstudio.browser.ui.perspective.BrowserPerspective"
); //$NON-NLS-1$ 
     }
 
 

Modified: directory/trunks/ldapstudio/ldapstudio-rcp/src/main/java/org/apache/directory/ldapstudio/view/Perspective.java
URL: http://svn.apache.org/viewvc/directory/trunks/ldapstudio/ldapstudio-rcp/src/main/java/org/apache/directory/ldapstudio/view/Perspective.java?view=diff&rev=497247&r1=497246&r2=497247
==============================================================================
--- directory/trunks/ldapstudio/ldapstudio-rcp/src/main/java/org/apache/directory/ldapstudio/view/Perspective.java
(original)
+++ directory/trunks/ldapstudio/ldapstudio-rcp/src/main/java/org/apache/directory/ldapstudio/view/Perspective.java
Wed Jan 17 15:37:54 2007
@@ -44,6 +44,9 @@
 
         layout.addStandaloneView( WelcomeView.ID, false, IPageLayout.LEFT, 1.0f, editorArea
);
         layout.getViewLayout( WelcomeView.ID ).setCloseable( false );
+
+        layout.addPerspectiveShortcut( "org.apache.directory.ldapstudio.browser.ui.perspective.BrowserPerspective"
); //$NON-NLS-1$
+        layout.addPerspectiveShortcut( "org.apache.directory.ldapstudio.schemas.perspective"
); //$NON-NLS-1$ 
     }
 
 }

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=497247&r1=497246&r2=497247
==============================================================================
--- directory/trunks/ldapstudio/ldapstudio-schemas-plugin/plugin.xml (original)
+++ directory/trunks/ldapstudio/ldapstudio-schemas-plugin/plugin.xml Wed Jan 17 15:37:54 2007
@@ -36,18 +36,24 @@
    </extension>   
    <extension
          point="org.eclipse.ui.views">
+      <category
+            id="org.apache.directory.ldapstudio.schemas.view.category"
+            name="%ldapstudio-schemas-plugin.views.category.name"/>
       <view
             allowMultiple="false"
+            category="org.apache.directory.ldapstudio.schemas.view.category"
             class="org.apache.directory.ldapstudio.schemas.view.viewers.HierarchicalViewer"
             icon="ressources/icons/chart_organisation.png"
             id="org.apache.directory.ldapstudio.schemas.view.HierarchicalViewer"
             name="%ldapstudio-schemas-plugin.views.hierarchy.name"/>
       <view
+            category="org.apache.directory.ldapstudio.schemas.view.category"
             class="org.apache.directory.ldapstudio.schemas.view.viewers.PoolManager"
             icon="ressources/icons/box.png"
             id="org.apache.directory.ldapstudio.schemas.view.PoolManager"
             name="%ldapstudio-schemas-plugin.views.schemas.name"/>
       <view
+            category="org.apache.directory.ldapstudio.schemas.view.category"
             class="org.apache.directory.ldapstudio.schemas.view.viewers.SearchViewer"
             icon="ressources/icons/find.png"
             id="org.apache.directory.ldapstudio.schemas.view.SearchViewer"
@@ -156,17 +162,23 @@
    </extension>
    <extension
          point="org.eclipse.ui.newWizards">
+      <category
+            id="org.apache.directory.ldapstudio.schemas.view.wizards.category"
+            name="%ldapstudio-schemas-plugin.wizards.category.name"/>
       <wizard
+            category="org.apache.directory.ldapstudio.schemas.view.wizards.category"
             class="org.apache.directory.ldapstudio.schemas.view.wizards.CreateANewSchemaWizard"
             icon="ressources/icons/schema_new.gif"
             id="org.apache.directory.ldapstudio.schemas.view.wizards.CreateANewSchemaWizard"
             name="%ldapstudio-schemas-plugin.wizards.createanewschema.name"/>
       <wizard
+            category="org.apache.directory.ldapstudio.schemas.view.wizards.category"
             class="org.apache.directory.ldapstudio.schemas.view.wizards.CreateANewObjectClassWizard"
             icon="ressources/icons/object_class_new.gif"
             id="org.apache.directory.ldapstudio.schemas.view.wizards.CreateANewObjecClassWizard"
             name="%ldapstudio-schemas-plugin.wizards.createanewobjectclass.name"/>
       <wizard
+            category="org.apache.directory.ldapstudio.schemas.view.wizards.category"
             class="org.apache.directory.ldapstudio.schemas.view.wizards.CreateANewAttributeTypeWizard"
             icon="ressources/icons/attribute_type_new.gif"
             id="org.apache.directory.ldapstudio.schemas.view.wizards.CreateANewAttributeTypeWizard"

Modified: directory/trunks/ldapstudio/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/perspectives/StandardPerspective.java
URL: http://svn.apache.org/viewvc/directory/trunks/ldapstudio/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/perspectives/StandardPerspective.java?view=diff&rev=497247&r1=497246&r2=497247
==============================================================================
--- directory/trunks/ldapstudio/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/perspectives/StandardPerspective.java
(original)
+++ directory/trunks/ldapstudio/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/perspectives/StandardPerspective.java
Wed Jan 17 15:37:54 2007
@@ -53,7 +53,9 @@
         layout.addStandaloneView( SearchViewer.ID, true, IPageLayout.BOTTOM, 0.7f, editorArea
);
         layout.getViewLayout( SearchViewer.ID ).setCloseable( false );
 
+        layout.addPerspectiveShortcut( "org.apache.directory.ldapstudio.browser.ui.perspective.BrowserPerspective"
); //$NON-NLS-1$
         layout.addPerspectiveShortcut( StandardPerspective.ID );
         //layout.addPerspectiveShortcut(TreePerspective.ID);	
+
     }
 }

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=497247&r1=497246&r2=497247
==============================================================================
--- directory/trunks/ldapstudio/ldapstudio-schemas-plugin/src/main/resources/plugin.properties
(original)
+++ directory/trunks/ldapstudio/ldapstudio-schemas-plugin/src/main/resources/plugin.properties
Wed Jan 17 15:37:54 2007
@@ -24,6 +24,7 @@
 
 ldapstudio-schemas-plugin.perspective.schemas.name=Schemas
 
+ldapstudio-schemas-plugin.views.category.name=Schemas Editor
 ldapstudio-schemas-plugin.views.hierarchy.name=Hierarchy
 ldapstudio-schemas-plugin.views.schemas.name=Schemas
 ldapstudio-schemas-plugin.views.search.name=Search
@@ -58,6 +59,7 @@
 ldapstudio-schemas-plugin.editors.attributetypeformeditor.name=Attribute Type Form Editor
 ldapstudio-schemas-plugin.editors.schemaformeditor.name=Schema Form Editor
 
+ldapstudio-schemas-plugin.wizards.category.name=Schemas Editor
 ldapstudio-schemas-plugin.wizards.createanewschema.name=Create a new schema
 ldapstudio-schemas-plugin.wizards.createanewobjectclass.name=Create a new object class
 ldapstudio-schemas-plugin.wizards.createanewattributetype.name=Create a new attribute type



Mime
View raw message