ptolemy.actor.gt
Class GraphTransformer
java.lang.Object
ptolemy.kernel.util.ChangeRequest
ptolemy.actor.gt.GraphTransformer
public class GraphTransformer
- extends ChangeRequest
- Since:
- Ptolemy II 6.1
- Version:
- $Id: GraphTransformer.java,v 1.26.4.3 2008/03/25 22:12:09 cxh Exp $
- Author:
- Thomas Huining Feng
- Accepted Rating:
- Proposed Rating:
| Methods inherited from class ptolemy.kernel.util.ChangeRequest |
addChangeListener, execute, getDescription, getLocality, getSource, isErrorReported, isPersistent, removeChangeListener, setDescription, setErrorReported, setListeners, setPersistent, waitForCompletion |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GraphTransformer
public GraphTransformer(TransformationRule transformationRule,
java.util.List<MatchResult> matchResults)
throws TransformationException
- Throws:
TransformationException
GraphTransformer
public GraphTransformer(TransformationRule transformationRule,
MatchResult matchResult)
throws TransformationException
- Throws:
TransformationException
getMatchResult
public MatchResult getMatchResult()
getPattern
public Pattern getPattern()
getReplacement
public Replacement getReplacement()
transform
public static void transform(TransformationRule transformationRule,
java.util.List<MatchResult> matchResults)
throws TransformationException
- Throws:
TransformationException
transform
public static void transform(TransformationRule transformationRule,
MatchResult matchResult)
throws TransformationException
- Throws:
TransformationException
_addConnections
protected void _addConnections()
throws TransformationException
- Throws:
TransformationException
_addObjects
protected void _addObjects()
throws TransformationException
- Throws:
TransformationException
_execute
protected void _execute()
throws TransformationException
- Description copied from class:
ChangeRequest
- Execute the change. Derived classes must implement this method.
Any exception may be thrown if the change fails.
- Specified by:
_execute in class ChangeRequest
- Throws:
TransformationException
_hideRelations
protected void _hideRelations()
throws TransformationException
- Throws:
TransformationException
_init
protected void _init()
throws TransformationException
- Throws:
TransformationException
_performOperations
protected void _performOperations()
throws TransformationException
- Throws:
TransformationException
_recordMoML
protected void _recordMoML()
throws TransformationException
- Throws:
TransformationException
_removeLinks
protected void _removeLinks()
throws TransformationException
- Throws:
TransformationException
_removeObjects
protected void _removeObjects()
throws TransformationException
- Throws:
TransformationException
_wrapup
protected void _wrapup()
throws TransformationException
- Throws:
TransformationException