ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hi...@apache.org
Subject svn commit: r1367159 - /ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/ui/PathEditor.java
Date Mon, 30 Jul 2012 16:42:39 GMT
Author: hibou
Date: Mon Jul 30 16:42:39 2012
New Revision: 1367159

URL: http://svn.apache.org/viewvc?rev=1367159&view=rev
Log:
When disabling the path editor, also disable the "Project" button

Modified:
    ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/ui/PathEditor.java

Modified: ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/ui/PathEditor.java
URL: http://svn.apache.org/viewvc/ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/ui/PathEditor.java?rev=1367159&r1=1367158&r2=1367159&view=diff
==============================================================================
--- ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/ui/PathEditor.java
(original)
+++ ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/ui/PathEditor.java
Mon Jul 30 16:42:39 2012
@@ -242,6 +242,9 @@ public class PathEditor extends Composit
     public void setEnabled(boolean enabled) {
         super.setEnabled(enabled);
         text.setEnabled(enabled);
+        if (browseProject != null) {
+            browseProject.setEnabled(enabled);
+        }
         browseFileSystem.setEnabled(enabled);
         browseWorkspace.setEnabled(enabled);
         variableButton.setEnabled(enabled);



Mime
View raw message