directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pamarce...@apache.org
Subject svn commit: r1059060 - /directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/editor/ServerConfigurationEditorPage.java
Date Fri, 14 Jan 2011 16:27:20 GMT
Author: pamarcelot
Date: Fri Jan 14 16:27:19 2011
New Revision: 1059060

URL: http://svn.apache.org/viewvc?rev=1059060&view=rev
Log:
Used utility methods to avoid issues with widgets not been yet created or being already disposed.

Modified:
    directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/editor/ServerConfigurationEditorPage.java

Modified: directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/editor/ServerConfigurationEditorPage.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/editor/ServerConfigurationEditorPage.java?rev=1059060&r1=1059059&r2=1059060&view=diff
==============================================================================
--- directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/editor/ServerConfigurationEditorPage.java
(original)
+++ directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/editor/ServerConfigurationEditorPage.java
Fri Jan 14 16:27:19 2011
@@ -349,7 +349,7 @@ public abstract class ServerConfiguratio
      */
     public void addDirtyListener( Text text )
     {
-        text.addModifyListener( dirtyModifyListener );
+        addModifyListener( text, dirtyModifyListener );
     }
 
 
@@ -361,7 +361,7 @@ public abstract class ServerConfiguratio
      */
     public void addDirtyListener( Button button )
     {
-        button.addSelectionListener( dirtySelectionListener );
+        addSelectionListener( button, dirtySelectionListener );
     }
 
 



Mime
View raw message