public class ImportG4LTLAction
extends javax.swing.AbstractAction
"G4LTL is a standalone tool and a Java library for automatically generating controllers realizing linear temporal logic (LTL).
See http://www6.in.tum.de/~chengch/g4ltl/
This class uses classes defined in $PTII/lib/g4ltl.jar. See $PTII/lib/g4ltl-license.htm.
This package is optional. To add the "Import G4LTL" menu choice to the GraphEditor, add the following to the configuration:
<property name="_importActionClassNames" class="ptolemy.data.expr.Parameter" value="{""ptolemy.vergil.basic.imprt.g4ltl.ImportG4LTLAction"}"/>
BasicGraphFrame
checks for this
parameter and adds the "Import G4LTL" 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.
Modifier and Type | Field and Description |
---|---|
(package private) Top |
_frame
The top-level window of the contents to be exported.
|
Constructor and Description |
---|
ImportG4LTLAction(Top frame)
Create a new action to import an FSMActor from LTL synthesis.
|
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent e)
Import a library by first opening a file chooser dialog and then
importing the specified library.
|
Top _frame
public ImportG4LTLAction(Top frame)
frame
- The frame to which the import action is to be added.public void actionPerformed(java.awt.event.ActionEvent e)
UserActorLibrary.openLibrary(ptolemy.actor.gui.Configuration, File)
for information on the file format.