java.lang.Object
javax.swing.AbstractAction
de.uni_trier.wi2.procake.gui.objecteditor.nestworkfloweditor.editor.EditorActions.ImportAction
All Implemented Interfaces:
ActionListener, Serializable, Cloneable, EventListener, Action
Enclosing class:
EditorActions

public static class EditorActions.ImportAction extends AbstractAction
See Also:
  • Field Details

    • lastDir

      protected String lastDir
  • Constructor Details

    • ImportAction

      public ImportAction()
  • Method Details

    • addStencilShape

      public static String addStencilShape(EditorPalette palette, String nodeXml, String path, String style, Object cellValue)
      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 shape
      path - The path to the directory the shape exists in
      cellValue - The value the cell should have when newly created from the palette
      Returns:
      the string name of the shape
    • addStencilShape

      public static String addStencilShape(EditorPalette palette, String nodeXml, String path, String style)
    • actionPerformed

      public void actionPerformed(ActionEvent e)