public class OpenCompositeAction extends FigureAction
FigureAction.SourceTypeCANVAS_TYPE, CONTEXTMENU_TYPE, HOTKEY_TYPE, MENUBAR_TYPE, PASTE_OFFSET, TOOLBAR_TYPE| Constructor and Description |
|---|
OpenCompositeAction(java.lang.String name,
TableauFrame parent) |
OpenCompositeAction(TableauFrame parent)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(java.awt.event.ActionEvent e)
Invoked when an action occurs.
|
KeplerLSID |
getLsidToOpen() |
void |
setFilePath(java.lang.String path)
Set the path of a MoML file to be opened.
|
void |
setLsidToOpen(KeplerLSID lsid) |
void |
setNamedObjToOpen(NamedObj obj) |
getFigure, getFrame, getSourceType, getTarget, getX, getY, offsetFigurepublic OpenCompositeAction(TableauFrame parent)
parent - the "frame" (derived from ptolemy.gui.Top) where the menu is
being added.public OpenCompositeAction(java.lang.String name, TableauFrame parent)
public void setLsidToOpen(KeplerLSID lsid)
public KeplerLSID getLsidToOpen()
public void setFilePath(java.lang.String path)
public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed in interface java.awt.event.ActionListeneractionPerformed in class FigureActione - ActionEventpublic void setNamedObjToOpen(NamedObj obj)