You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by me...@locus.apache.org on 2000/11/14 20:48:09 UTC
cvs commit: jakarta-ant/src/antidote/org/apache/tools/ant/gui/customizer DynamicCustomizer.java
metasim 00/11/14 11:48:09
Modified: src/antidote/org/apache/tools/ant/gui/customizer
DynamicCustomizer.java
Log:
Added TargetMonitor widget which gives a better indication of what targets will
be built if a build is launched. Also fixed a few buglets in the PropertyEditor.
Revision Changes Path
1.3 +3 -2 jakarta-ant/src/antidote/org/apache/tools/ant/gui/customizer/DynamicCustomizer.java
Index: DynamicCustomizer.java
===================================================================
RCS file: /home/cvs/jakarta-ant/src/antidote/org/apache/tools/ant/gui/customizer/DynamicCustomizer.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- DynamicCustomizer.java 2000/11/11 04:52:21 1.2
+++ DynamicCustomizer.java 2000/11/14 19:48:08 1.3
@@ -66,7 +66,7 @@
* Widget for dynamically constructing a property editor based on the
* an Object's BeanInfo. Essentially a property sheet.
*
- * @version $Revision: 1.2 $
+ * @version $Revision: 1.3 $
* @author Simeon Fitch
*/
public class DynamicCustomizer extends JPanel {
@@ -259,7 +259,7 @@
return retval;
}
- /** Class for receiving change events from teh PropertyEditor objects. */
+ /** Class for receiving change events from the PropertyEditor objects. */
private class EditorChangeListener implements PropertyChangeListener {
public void propertyChange(PropertyChangeEvent e) {
PropertyEditor editor = (PropertyEditor) e.getSource();
@@ -270,6 +270,7 @@
try {
Object[] params = { editor.getValue() };
writer.invoke(_value, params);
+ setObject(_value);
//firePropertyChange(
//prop.getName(), null, editor.getValue());
}