com.ptc.core.ca.co.client.element
Interface CoInstanceHolder

All Superinterfaces:
CoCleanable, CoInstanceChangeListener, CoModelDriven
All Known Subinterfaces:
CoDynamic, CoPropertyPanel
All Known Implementing Classes:
CoCompositePropertyPanel, CoRow, CoSimplePropertyPanel, CoTreeNode, CoWizard, WebCompositePropertyPanel, WebRow, WebSimplePropertyPanel, WebTreeNode, WebWizard

Deprecated.

@Deprecated
public interface CoInstanceHolder
extends CoInstanceChangeListener, CoCleanable

The interface the element implements when it represents I*E element.

Supported API: true

Extendable: false


Field Summary
 
Fields inherited from interface com.ptc.core.ca.co.client.element.CoCleanable
DIRTY
 
Fields inherited from interface com.ptc.core.ca.co.client.element.CoModelDriven
MODEL
 
Method Summary
 CoInstance getInstance(CoEnvData envData)
          Deprecated. Returns I*E element wrapped into CoInstance object from the element's model.
 void setInstance(CoInstance instance, CoEnvData envData)
          Deprecated. Sets I*E element wrapped into CoInstance object to the element's model.
 
Methods inherited from interface com.ptc.core.ca.co.client.cache.CoInstanceChangeListener
onChange
 
Methods inherited from interface com.ptc.core.ca.co.client.element.CoCleanable
isDirty, setDirty
 
Methods inherited from interface com.ptc.core.ca.co.client.element.CoModelDriven
getModel, newModel, setModel, updateModel
 

Method Detail

getInstance

CoInstance getInstance(CoEnvData envData)
                       throws WTException
Deprecated. 
Returns I*E element wrapped into CoInstance object from the element's model.

Supported API: true

Parameters:
envData -
Returns:
CoInstance
Throws:
WTException

setInstance

void setInstance(CoInstance instance,
                 CoEnvData envData)
                 throws WTException
Deprecated. 
Sets I*E element wrapped into CoInstance object to the element's model. Releases an old one from cache when found.

Supported API: true

Parameters:
instance -
envData -
Throws:
WTException