directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pamarce...@apache.org
Subject svn commit: r986628 - /directory/studio/trunk/plugins/ldapservers/src/main/java/org/apache/directory/studio/ldapservers/views/ServersView.java
Date Wed, 18 Aug 2010 11:40:17 GMT
Author: pamarcelot
Date: Wed Aug 18 11:40:16 2010
New Revision: 986628

URL: http://svn.apache.org/viewvc?rev=986628&view=rev
Log:
Added the ability for other plugins to add new menu items in the context menu of the Servers
View.

Modified:
    directory/studio/trunk/plugins/ldapservers/src/main/java/org/apache/directory/studio/ldapservers/views/ServersView.java

Modified: directory/studio/trunk/plugins/ldapservers/src/main/java/org/apache/directory/studio/ldapservers/views/ServersView.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/ldapservers/src/main/java/org/apache/directory/studio/ldapservers/views/ServersView.java?rev=986628&r1=986627&r2=986628&view=diff
==============================================================================
--- directory/studio/trunk/plugins/ldapservers/src/main/java/org/apache/directory/studio/ldapservers/views/ServersView.java
(original)
+++ directory/studio/trunk/plugins/ldapservers/src/main/java/org/apache/directory/studio/ldapservers/views/ServersView.java
Wed Aug 18 11:40:16 2010
@@ -55,6 +55,7 @@ import org.eclipse.swt.widgets.TreeColum
 import org.eclipse.ui.IMemento;
 import org.eclipse.ui.IPartListener2;
 import org.eclipse.ui.IViewSite;
+import org.eclipse.ui.IWorkbenchActionConstants;
 import org.eclipse.ui.IWorkbenchPartReference;
 import org.eclipse.ui.PartInitException;
 import org.eclipse.ui.PlatformUI;
@@ -309,6 +310,8 @@ public class ServersView extends ViewPar
                 //                MenuManager ldapBrowserManager = new MenuManager( Messages.getString(
"ServersView.ldapBrowser" ) ); //$NON-NLS-1$
                 //                ldapBrowserManager.add( createConnection );
                 //                manager.add( ldapBrowserManager );
+                manager.add( new Separator( IWorkbenchActionConstants.MB_ADDITIONS ) );
+                manager.add( new Separator() );
                 manager.add( new Separator() );
                 manager.add( properties );
             }



Mime
View raw message