com.ptc.core.ca.co.client.picker
Class CoPropertyPickerOkActionDoer

java.lang.Object
  extended by com.ptc.core.ca.co.client.picker.CoPickerOkActionDoer
      extended by com.ptc.core.ca.co.client.picker.CoPropertyPickerOkActionDoer
All Implemented Interfaces:
CoActionDoer, CoDoer
Direct Known Subclasses:
CoSearchPropertyPickerOkActionDoer, CoSearchTypePropertyPickerOkActionDoer, CoTreePathPropertyPickerOkActionDoer, CoTypePropertyPickerOkActionDoer

Deprecated.

@Deprecated
public class CoPropertyPickerOkActionDoer
extends CoPickerOkActionDoer

The doer to be used for Ok button on the property picker frame.

Supported API: true

Extendable: true


Method Summary
 void execute(CoActionHandlerData execData)
          Deprecated. Implements the following algorithm:
protected  void processAttributeInfo(CoPropertyPickerAttributeInfo info, CoPropertyPickerOkActionHandlerData execData)
          Deprecated. Returns a single Populate statement.
 
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
Deprecated. 
Implements the following algorithm:

       CoPropertyPickerOkActionHandlerData data = (CoPropertyPickerOkActionHandlerData)execData;

       ArrayList pairList = getAttrPairList(data);
       Iterator  iter     = pairList.iterator();
       while (iter.hasNext()) {
          String[] pair = (String[])iter.next();
          Object picked_value  = getPickedAttributeValue(pair[1], data);
          setTargetAttributeValue(pair[0], picked_value, data);
       }

       addPropertyToIgnore(data.getTargetProperty());
 


Supported API: true

Parameters:
execData -
Throws:
WTException

processAttributeInfo

protected void processAttributeInfo(CoPropertyPickerAttributeInfo info,
                                    CoPropertyPickerOkActionHandlerData execData)
                             throws WTException
Deprecated. 
Returns a single Populate statement.

Supported API: true

Parameters:
info -
execData -
Throws:
WTException