directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pamarce...@apache.org
Subject svn commit: r881903 - /directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/entryeditors/EntryEditorUtils.java
Date Wed, 18 Nov 2009 19:57:08 GMT
Author: pamarcelot
Date: Wed Nov 18 19:57:08 2009
New Revision: 881903

URL: http://svn.apache.org/viewvc?rev=881903&view=rev
Log:
Fix for DIRSTUDIO-576 (Context menu not shown after a right-click on a non-cached entry).

Modified:
    directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/entryeditors/EntryEditorUtils.java

Modified: directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/entryeditors/EntryEditorUtils.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/entryeditors/EntryEditorUtils.java?rev=881903&r1=881902&r2=881903&view=diff
==============================================================================
--- directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/entryeditors/EntryEditorUtils.java
(original)
+++ directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/entryeditors/EntryEditorUtils.java
Wed Nov 18 19:57:08 2009
@@ -23,6 +23,7 @@
 
 import org.apache.directory.studio.connection.ui.RunnableContextRunner;
 import org.apache.directory.studio.ldapbrowser.core.jobs.InitializeAttributesRunnable;
+import org.apache.directory.studio.ldapbrowser.core.jobs.StudioBrowserJob;
 import org.apache.directory.studio.ldapbrowser.core.model.IEntry;
 import org.apache.directory.studio.ldapbrowser.core.model.IRootDSE;
 import org.eclipse.osgi.util.NLS;
@@ -42,8 +43,9 @@
     {
         if ( !entry.isAttributesInitialized() )
         {
-            InitializeAttributesRunnable iar = new InitializeAttributesRunnable( entry );
-            RunnableContextRunner.execute( iar, null, true );
+            InitializeAttributesRunnable runnable = new InitializeAttributesRunnable( entry
);
+            StudioBrowserJob job = new StudioBrowserJob( runnable );
+            job.execute();
         }
     }
 



Mime
View raw message