complete Tag attribute in runtime

<?xml version="1.0"?>
     <foo someAtt/>


I want the attribute "someAtt" will be resoved  from the class Foo and show in complete dialog ,after type class name "Foo" or  click "Control+Space"

here is

class Foo{

  public void setSomeAtt(String value)

  public void setSomeAtt2(String value)


I have already created an interface FooTag extends CommonDomModelElement, which method  or interface should I implement ?


1 comment

If I understand you correctly, the possible attributes to complete in XML are dependent on the value of attribute "class"? Then have a look at DomExtender, you can find an example of usage in


Please sign in to leave a comment.