org.oddjob.arooa.design
Class InstanceSupport

java.lang.Object
  extended by org.oddjob.arooa.design.InstanceSupport

public class InstanceSupport
extends Object

This badly named class provides support to a DesignElementProperty for handling DesignInstances.

Author:
rob

Constructor Summary
InstanceSupport(DesignElementProperty property)
          Constructor.
 
Method Summary
 QTag[] getTags()
           
 void insertTag(int index, QTag tag)
           
 void removeInstance(DesignInstance design)
           
static QTag tagFor(DesignInstance instance)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InstanceSupport

public InstanceSupport(DesignElementProperty property)
Constructor.

Parameters:
property -
Method Detail

getTags

public QTag[] getTags()

removeInstance

public void removeInstance(DesignInstance design)
                    throws ArooaConfigurationException
Throws:
ArooaConfigurationException

insertTag

public void insertTag(int index,
                      QTag tag)
               throws ArooaParseException
Throws:
ArooaParseException

tagFor

public static QTag tagFor(DesignInstance instance)