ptolemy.actor.gt.ingredients.operations
Class Operation

java.lang.Object
  extended by ptolemy.actor.gt.GTIngredient
      extended by ptolemy.actor.gt.ingredients.operations.Operation
Direct Known Subclasses:
AttributeOperation, RenameOperation

public abstract class Operation
extends GTIngredient

Since:
Ptolemy II 6.1
Version:
$Id: Operation.java,v 1.8 2007/12/08 08:13:52 tfeng Exp $
Author:
Thomas Huining Feng
Accepted Rating:
Red (tfeng)
Proposed Rating:
Red (tfeng)

Nested Class Summary
 
Nested classes/interfaces inherited from class ptolemy.actor.gt.GTIngredient
GTIngredient.FieldIterator, GTIngredient.NamedObjMatchResult
 
Field Summary
 
Fields inherited from class ptolemy.actor.gt.GTIngredient
FIELD_SEPARATOR
 
Constructor Summary
Operation(GTIngredientList owner)
           
Operation(GTIngredientList owner, int elementCount)
           
 
Method Summary
abstract  ChangeRequest getChangeRequest(Pattern pattern, Replacement replacement, MatchResult matchResult, Entity patternEntity, Entity replacementEntity, Entity hostEntity)
           
 
Methods inherited from class ptolemy.actor.gt.GTIngredient
_decodeBooleanField, _decodeStringField, _encodeBooleanField, _encodeStringField, _escapeElementString, _findMatchingParen, _findSeparator, _unescapeElementString, disableAll, enableAll, getElements, getOwner, getValue, getValues, isEnabled, setEnabled, setValue, setValues, toString, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Operation

public Operation(GTIngredientList owner)
Parameters:
owner -

Operation

public Operation(GTIngredientList owner,
                 int elementCount)
Parameters:
owner -
elementCount -
Method Detail

getChangeRequest

public abstract ChangeRequest getChangeRequest(Pattern pattern,
                                               Replacement replacement,
                                               MatchResult matchResult,
                                               Entity patternEntity,
                                               Entity replacementEntity,
                                               Entity hostEntity)
                                        throws IllegalActionException
Throws:
IllegalActionException