com.ptc.core.components
Class CoAddObjectToInstanceListHolderOkActionDoer

java.lang.Object
  extended by com.ptc.core.ca.co.client.picker.CoPickerOkActionDoer
      extended by com.ptc.core.ca.co.client.picker.CoObjectListPickerOkActionDoer
          extended by com.ptc.core.components.CoAddObjectToInstanceListHolderOkActionDoer
All Implemented Interfaces:
CoActionDoer, CoDoer

public class CoAddObjectToInstanceListHolderOkActionDoer
extends CoObjectListPickerOkActionDoer

The doer is responsible for adding the Type Instance for the <Wizard> to the Instance List Holder (i.e. Table) on the calling page

Supported API: true

Extendable: true


Method Summary
 void execute(CoActionHandlerData execData)
          Adds to the existing list of instances in the target instance holder a list created from picked elements.
protected  ArrayList getPickedInstanceList(CoAddObjectToInstanceListHolderOkActionHandlerData execData)
          Returns a list of newly created CoInstance> objects that wrap I*E elements of picked elements.
 
Methods inherited from class com.ptc.core.ca.co.client.picker.CoObjectListPickerOkActionDoer
getPickedInstanceList
 
Methods inherited from class com.ptc.core.ca.co.client.picker.CoPickerOkActionDoer
canExecute, isRelevant
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

execute

public void execute(CoActionHandlerData execData)
             throws WTException
Adds to the existing list of instances in the target instance holder a list created from picked elements.

Supported API: true

Parameters:
execData -
Throws:
WTException

getPickedInstanceList

protected ArrayList getPickedInstanceList(CoAddObjectToInstanceListHolderOkActionHandlerData execData)
                                   throws WTException
Returns a list of newly created CoInstance> objects that wrap I*E elements of picked elements.

Supported API: true

Parameters:
execData -
Returns:
ArrayList
Throws:
WTException