public class ShowDocumentationAction extends FigureAction
FigureAction.SourceType
CANVAS_TYPE, CONTEXTMENU_TYPE, HOTKEY_TYPE, MENUBAR_TYPE, PASTE_OFFSET, TOOLBAR_TYPE
Constructor and Description |
---|
ShowDocumentationAction(TableauFrame parent) |
ShowDocumentationAction(javax.swing.tree.TreePath path,
java.awt.Component parent)
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent e)
Invoked when an action occurs.
|
KeplerLSID |
getLsidToView() |
void |
setLsidToView(KeplerLSID lsid) |
void |
setPtolemyFrame(PtolemyFrame pFrame)
allows you to set the ptolemyFrame that should be used as the parent of
this action.
|
getFigure, getFrame, getSourceType, getTarget, getX, getY, offsetFigure
public ShowDocumentationAction(javax.swing.tree.TreePath path, java.awt.Component parent)
path
- the TreePath where the actor is being removed.public ShowDocumentationAction(TableauFrame parent)
public void setLsidToView(KeplerLSID lsid)
public KeplerLSID getLsidToView()
public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed
in interface java.awt.event.ActionListener
actionPerformed
in class FigureAction
e
- ActionEventpublic void setPtolemyFrame(PtolemyFrame pFrame)