directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pamarce...@apache.org
Subject svn commit: r1227596 - in /directory/studio/trunk/plugins/rcp/src/main/java/org/apache/directory/studio: ApplicationActionBarAdvisor.java messages.properties
Date Thu, 05 Jan 2012 14:02:46 GMT
Author: pamarcelot
Date: Thu Jan  5 14:02:46 2012
New Revision: 1227596

URL: http://svn.apache.org/viewvc?rev=1227596&view=rev
Log:
Brought back the "Add Extension" action for later use (adding additional LDAP servers implementations
for example.)

Modified:
    directory/studio/trunk/plugins/rcp/src/main/java/org/apache/directory/studio/ApplicationActionBarAdvisor.java
    directory/studio/trunk/plugins/rcp/src/main/java/org/apache/directory/studio/messages.properties

Modified: directory/studio/trunk/plugins/rcp/src/main/java/org/apache/directory/studio/ApplicationActionBarAdvisor.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/rcp/src/main/java/org/apache/directory/studio/ApplicationActionBarAdvisor.java?rev=1227596&r1=1227595&r2=1227596&view=diff
==============================================================================
--- directory/studio/trunk/plugins/rcp/src/main/java/org/apache/directory/studio/ApplicationActionBarAdvisor.java
(original)
+++ directory/studio/trunk/plugins/rcp/src/main/java/org/apache/directory/studio/ApplicationActionBarAdvisor.java
Thu Jan  5 14:02:46 2012
@@ -21,6 +21,7 @@
 package org.apache.directory.studio;
 
 
+import org.apache.directory.studio.actions.AddExtensionAction;
 import org.apache.directory.studio.actions.ManageConfigurationAction;
 import org.apache.directory.studio.actions.OpenFileAction;
 import org.apache.directory.studio.actions.ReportABugAction;
@@ -99,6 +100,7 @@ public class ApplicationActionBarAdvisor
     private IWorkbenchAction nextAction;
     private IWorkbenchAction previousAction;
     private IWorkbenchAction introAction;
+    private AddExtensionAction addExtensionAction;
 
 
     /**
@@ -222,6 +224,9 @@ public class ApplicationActionBarAdvisor
             ImageKeys.SEARCH_UPDATES ) );
         register( updateAction );
 
+        addExtensionAction = new AddExtensionAction( window );
+        register( addExtensionAction );
+        
         manageConfigurationAction = new ManageConfigurationAction( window );
         manageConfigurationAction.setImageDescriptor( AbstractUIPlugin.imageDescriptorFromPlugin(
             Application.PLUGIN_ID, ImageKeys.MANAGE_CONFIGURATION ) );
@@ -389,6 +394,7 @@ public class ApplicationActionBarAdvisor
         helpMenu.add( new Separator() );
         MenuManager softwareUpdates = new MenuManager( Messages
             .getString( "ApplicationActionBarAdvisor.Software_Updates" ), "softwareUpdates"
); //$NON-NLS-1$ //$NON-NLS-2$
+        softwareUpdates.add( addExtensionAction );
         softwareUpdates.add( updateAction );
         softwareUpdates.add( manageConfigurationAction );
         helpMenu.add( softwareUpdates );

Modified: directory/studio/trunk/plugins/rcp/src/main/java/org/apache/directory/studio/messages.properties
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/rcp/src/main/java/org/apache/directory/studio/messages.properties?rev=1227596&r1=1227595&r2=1227596&view=diff
==============================================================================
--- directory/studio/trunk/plugins/rcp/src/main/java/org/apache/directory/studio/messages.properties
(original)
+++ directory/studio/trunk/plugins/rcp/src/main/java/org/apache/directory/studio/messages.properties
Thu Jan  5 14:02:46 2012
@@ -36,7 +36,7 @@ ApplicationActionBarAdvisor.openPerspect
 AddExtensionAction.Add_Extensions=Add Extensions
 AddExtensionAction.Search_for_new_extensions=Search for new extensions for Apache Directory
Studio
 AddExtensionAction.Searching_new_extensions=Searching new extensions
-AddExtensionAction.Apache_Directory_Studio_Site=Apache Directory Studio Update Site
+AddExtensionAction.Apache_Directory_Studio_Site=Apache Directory Studio
 AddExtensionAction.Apache_Directory_Studio_Home_Base=http://directory.apache.org/studio/update/1.x
 
 # Strings used by ManageConfigurationAction Class



Mime
View raw message