ptolemy.actor.gt.ingredients.operations
Class RenameOperation
java.lang.Object
ptolemy.actor.gt.GTIngredient
ptolemy.actor.gt.ingredients.operations.Operation
ptolemy.actor.gt.ingredients.operations.RenameOperation
public class RenameOperation
- extends Operation
- Since:
- Ptolemy II 6.1
- Version:
- $Id: RenameOperation.java,v 1.9.4.1 2008/03/25 22:12:14 cxh Exp $
- Author:
- Thomas Huining Feng
- Accepted Rating:
- Proposed Rating:
| Methods inherited from class ptolemy.actor.gt.GTIngredient |
_decodeBooleanField, _decodeStringField, _encodeBooleanField, _encodeStringField, _escapeElementString, _findMatchingParen, _findSeparator, _unescapeElementString, disableAll, enableAll, getOwner, isEnabled, setEnabled, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
RenameOperation
public RenameOperation(GTIngredientList owner)
RenameOperation
public RenameOperation(GTIngredientList owner,
java.lang.String values)
getChangeRequest
public ChangeRequest getChangeRequest(Pattern pattern,
Replacement replacement,
MatchResult matchResult,
Entity patternEntity,
Entity replacementEntity,
Entity hostEntity)
- Specified by:
getChangeRequest in class Operation
getElements
public GTIngredientElement[] getElements()
- Specified by:
getElements in class GTIngredient
getName
public java.lang.String getName()
getValue
public java.lang.Object getValue(int index)
- Specified by:
getValue in class GTIngredient
getValues
public java.lang.String getValues()
- Specified by:
getValues in class GTIngredient
isNameEnabled
public boolean isNameEnabled()
setValue
public void setValue(int index,
java.lang.Object value)
- Specified by:
setValue in class GTIngredient
setValues
public void setValues(java.lang.String values)
- Specified by:
setValues in class GTIngredient
validate
public void validate()
throws ValidationException
- Specified by:
validate in class GTIngredient
- Throws:
ValidationException