Class EditorActions.ImportAction
- java.lang.Object
-
- javax.swing.AbstractAction
-
- org.processmining.objectcentricconstraintchecking.algorithms.editor.EditorActions.ImportAction
-
- All Implemented Interfaces:
java.awt.event.ActionListener,java.io.Serializable,java.lang.Cloneable,java.util.EventListener,javax.swing.Action
- Enclosing class:
- EditorActions
public static class EditorActions.ImportAction extends javax.swing.AbstractAction- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.StringlastDir
-
Constructor Summary
Constructors Constructor Description ImportAction()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidactionPerformed(java.awt.event.ActionEvent e)static java.lang.StringaddStencilShape(EditorPalette palette, java.lang.String nodeXml, java.lang.String path)Loads and registers the shape as a new shape in mxGraphics2DCanvas and adds a new entry to use that shape in the specified palette-
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
-
-
-
Method Detail
-
addStencilShape
public static java.lang.String addStencilShape(EditorPalette palette, java.lang.String nodeXml, java.lang.String path)
Loads and registers the shape as a new shape in mxGraphics2DCanvas and adds a new entry to use that shape in the specified palette- Parameters:
palette- The palette to add the shape to.nodeXml- The raw XML of the shapepath- The path to the directory the shape exists in- Returns:
- the string name of the shape
-
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)
-
-