directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pamarce...@apache.org
Subject svn commit: r630912 - /directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/editor/GeneralPage.java
Date Mon, 25 Feb 2008 16:08:57 GMT
Author: pamarcelot
Date: Mon Feb 25 08:08:55 2008
New Revision: 630912

URL: http://svn.apache.org/viewvc?rev=630912&view=rev
Log:
Fix for DIRSTUDIO-284 (Changing 'Supported Authentication Mechanism' doesn't set the dirty
flag.).

Modified:
    directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/editor/GeneralPage.java

Modified: directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/editor/GeneralPage.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/editor/GeneralPage.java?rev=630912&r1=630911&r2=630912&view=diff
==============================================================================
--- directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/editor/GeneralPage.java
(original)
+++ directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/editor/GeneralPage.java
Mon Feb 25 08:08:55 2008
@@ -28,8 +28,10 @@
 import org.eclipse.jface.dialogs.Dialog;
 import org.eclipse.jface.dialogs.IDialogConstants;
 import org.eclipse.jface.viewers.ArrayContentProvider;
+import org.eclipse.jface.viewers.CheckStateChangedEvent;
 import org.eclipse.jface.viewers.CheckboxTableViewer;
 import org.eclipse.jface.viewers.DoubleClickEvent;
+import org.eclipse.jface.viewers.ICheckStateListener;
 import org.eclipse.jface.viewers.IDoubleClickListener;
 import org.eclipse.jface.viewers.ISelectionChangedListener;
 import org.eclipse.jface.viewers.SelectionChangedEvent;
@@ -787,6 +789,17 @@
             }
         } );
         changePasswordPortText.addModifyListener( modifyListener );
+
+        supportedMechanismsTableViewer.addCheckStateListener( new ICheckStateListener()
+        {
+            public void checkStateChanged( CheckStateChangedEvent event )
+            {
+                setEditorDirty();
+            }
+        } );
+
+        selectAllSupportedMechanismsButton.addSelectionListener( selectionListener );
+        deselectAllSupportedMechanismsButton.addSelectionListener( selectionListener );
 
         binaryAttributesTableViewer.addSelectionChangedListener( binaryAttributesTableViewerListener
);
         binaryAttributesTableViewer.addDoubleClickListener( binaryAttributesTableViewerDoubleClickListener
);



Mime
View raw message