directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pamarce...@apache.org
Subject svn commit: r568545 - in /directory/studio/branches/0.8.2/ldapstudio-new-version: ./ src/main/java/org/apache/directory/ldapstudio/newversion/NewVersion.java
Date Wed, 22 Aug 2007 10:33:43 GMT
Author: pamarcelot
Date: Wed Aug 22 03:33:35 2007
New Revision: 568545

URL: http://svn.apache.org/viewvc?rev=568545&view=rev
Log:
Improved action. Displaying the new Dialog asynchronously with a 2.5 seconds delay. Added
target to svn:ignore.

Modified:
    directory/studio/branches/0.8.2/ldapstudio-new-version/   (props changed)
    directory/studio/branches/0.8.2/ldapstudio-new-version/src/main/java/org/apache/directory/ldapstudio/newversion/NewVersion.java

Propchange: directory/studio/branches/0.8.2/ldapstudio-new-version/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Wed Aug 22 03:33:35 2007
@@ -0,0 +1 @@
+target

Modified: directory/studio/branches/0.8.2/ldapstudio-new-version/src/main/java/org/apache/directory/ldapstudio/newversion/NewVersion.java
URL: http://svn.apache.org/viewvc/directory/studio/branches/0.8.2/ldapstudio-new-version/src/main/java/org/apache/directory/ldapstudio/newversion/NewVersion.java?rev=568545&r1=568544&r2=568545&view=diff
==============================================================================
--- directory/studio/branches/0.8.2/ldapstudio-new-version/src/main/java/org/apache/directory/ldapstudio/newversion/NewVersion.java
(original)
+++ directory/studio/branches/0.8.2/ldapstudio-new-version/src/main/java/org/apache/directory/ldapstudio/newversion/NewVersion.java
Wed Aug 22 03:33:35 2007
@@ -35,8 +35,21 @@
     {
         if ( !Activator.getDefault().getDialogSettings().getBoolean( NewVersionDialog.DIALOG_SETTINGS_ID
) )
         {
-            NewVersionDialog dialog = new NewVersionDialog();
-            dialog.open();
+            Activator.getDefault().getWorkbench().getDisplay().asyncExec( new Runnable()
+            {
+                public void run()
+                {
+                    try
+                    {
+                        Thread.sleep( 2500 );
+                    }
+                    catch ( InterruptedException e )
+                    {
+                    }
+                    NewVersionDialog dialog = new NewVersionDialog();
+                    dialog.open();
+                }
+            } );
         }
     }
 }



Mime
View raw message