ptolemy.vergil.gt
Class TransformationEditor.MatchAction
java.lang.Object
javax.swing.AbstractAction
ptolemy.vergil.toolbox.FigureAction
ptolemy.vergil.gt.TransformationEditor.MatchAction
- All Implemented Interfaces:
- java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action
- Direct Known Subclasses:
- TransformationEditor.BatchMatchAction, TransformationEditor.SingleMatchAction
- Enclosing class:
- TransformationEditor
private class TransformationEditor.MatchAction
- extends FigureAction
Fields inherited from class javax.swing.AbstractAction |
changeSupport, enabled |
Fields inherited from interface javax.swing.Action |
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON |
Methods inherited from class javax.swing.AbstractAction |
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_matcher
private GraphMatcher _matcher
_parser
private MoMLParser _parser
TransformationEditor.MatchAction
TransformationEditor.MatchAction(java.lang.String name)
_getMatchResult
protected java.util.List<MatchResult> _getMatchResult(CompositeEntity model)
_getModel
protected CompositeEntity _getModel(java.io.File file)
throws java.net.MalformedURLException,
java.lang.Exception
- Throws:
java.net.MalformedURLException
java.lang.Exception
_getModel
protected CompositeEntity _getModel(java.net.URL url)
throws java.net.MalformedURLException,
java.lang.Exception
- Throws:
java.net.MalformedURLException
java.lang.Exception
_showViewer
protected MatchResultViewer _showViewer(CompositeEntity model,
java.util.List<MatchResult> results,
java.lang.String sourceFileName)
throws IllegalActionException,
NameDuplicationException
- Throws:
IllegalActionException
NameDuplicationException