public class ImportAccessorAction
extends javax.swing.AbstractAction
This package is optional. To add the "Import Accessor" menu choice to the GraphEditor, add the following to the configuration:
<property name="_importActionClassNames" class="ptolemy.data.expr.Parameter" value="{"ptolemy.vergil.basic.imprt.accessor.ImportAccessorAction"}"/>
BasicGraphFrame
checks for this
parameter and adds the "Import Accessor" menu choice if the class named
by that parameter exists.
The $PTII/ptolemy/configs/defaultFullConfiguration.xml
file
already has this parameter. The ptiny configuration does not have
this parameter so that we have a smaller download.
Red (cxh) |
Red (cxh) |
Modifier and Type | Field and Description |
---|---|
(package private) BasicGraphFrame |
_frame
The top-level window of the contents to be exported.
|
Constructor and Description |
---|
ImportAccessorAction(Top frame)
Create a new action to import an accessor.
|
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent event)
Import an accessor.
|
BasicGraphFrame _frame
public ImportAccessorAction(Top frame)
frame
- The Top that gets the menu.