You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by hi...@apache.org on 2012/07/30 18:42:39 UTC
svn commit: r1367159 -
/ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/ui/PathEditor.java
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);