Browse Source

registered DtdAttributePropertyEditor with PropertyEditorManager

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268922 13f79535-47bb-0310-9956-ffa450edef68
master
nickdavis 24 years ago
parent
commit
fd1dbabec4
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      src/antidote/org/apache/tools/ant/gui/acs/ACSDtdDefinedElementBeanInfo.java

+ 6
- 0
src/antidote/org/apache/tools/ant/gui/acs/ACSDtdDefinedElementBeanInfo.java View File

@@ -53,6 +53,7 @@
*/ */
package org.apache.tools.ant.gui.acs; package org.apache.tools.ant.gui.acs;
import org.apache.tools.ant.gui.customizer.DynamicCustomizer; import org.apache.tools.ant.gui.customizer.DynamicCustomizer;
import org.apache.tools.ant.gui.modules.edit.DtdAttributePropertyEditor;
import java.beans.*; import java.beans.*;


/** /**
@@ -125,6 +126,11 @@ public class ACSDtdDefinedElementBeanInfo extends BaseBeanInfo {


/** Customizer for this bean info. */ /** Customizer for this bean info. */
public static class Customizer extends DynamicCustomizer { public static class Customizer extends DynamicCustomizer {
static {
PropertyEditorManager.registerEditor(
ACSDtdDefinedAttributes.class, DtdAttributePropertyEditor.class);
}
public Customizer() { public Customizer() {
super(ACSDtdDefinedElement.class); super(ACSDtdDefinedElement.class);
} }


Loading…
Cancel
Save