directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fel...@apache.org
Subject svn commit: r829778 - /directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/dialogs/EntryExistsCopyStrategyDialogImpl.java
Date Mon, 26 Oct 2009 12:55:31 GMT
Author: felixk
Date: Mon Oct 26 12:55:31 2009
New Revision: 829778

URL: http://svn.apache.org/viewvc?rev=829778&view=rev
Log:
Refix DIRSTUDIO-574.

Thanks for hint, Stefan.

Modified:
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/dialogs/EntryExistsCopyStrategyDialogImpl.java

Modified: directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/dialogs/EntryExistsCopyStrategyDialogImpl.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/dialogs/EntryExistsCopyStrategyDialogImpl.java?rev=829778&r1=829777&r2=829778&view=diff
==============================================================================
--- directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/dialogs/EntryExistsCopyStrategyDialogImpl.java
(original)
+++ directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/dialogs/EntryExistsCopyStrategyDialogImpl.java
Mon Oct 26 12:55:31 2009
@@ -100,6 +100,7 @@
     {
         super( parentShell );
         super.setShellStyle( super.getShellStyle() | SWT.RESIZE );
+        strategy = EntryExistsCopyStrategy.BREAK;
     }
 
 
@@ -114,29 +115,6 @@
 
 
     /**
-     * @see org.eclipse.jface.dialogs.Dialog#close()
-     */
-    @Override
-    public boolean close()
-    {
-        strategy = EntryExistsCopyStrategy.BREAK;
-
-        return super.close();
-    }
-
-
-    /**
-     * @see org.eclipse.jface.dialogs.Dialog#cancelPressed()
-     */
-    protected void cancelPressed()
-    {
-        strategy = EntryExistsCopyStrategy.BREAK;
-
-        super.cancelPressed();
-    }
-
-
-    /**
      * @see org.eclipse.jface.dialogs.Dialog#okPressed()
      */
     protected void okPressed()



Mime
View raw message