Class AbstractShapeImportDialog

All Implemented Interfaces:
ComponentListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, ListSelectionListener, RootPaneContainer, WindowConstants, Modifiable
Direct Known Subclasses:
ShapeStreamAlignmentDialog

public abstract class AbstractShapeImportDialog extends RmaJDialog implements ListSelectionListener
See Also:
  • Field Details

  • Constructor Details

  • Method Details

    • buildControls

      protected void buildControls(List<ShapeSource> sourceList, ShapeSource selectedShapeSource, StreamAlignmentGlyph streamGlyph)
    • createTable

      protected RmaJTable createTable()
      Returns:
    • createTableModel

      protected abstract ShapeImportTableModel createTableModel(RmaJTable table)
      Parameters:
      table -

      Returns:
    • addListeners

      protected void addListeners()
    • buildMenus

      protected void buildMenus()
    • getTypeString

      protected abstract String getTypeString()
      get the type of objects that are being imported. i.e. Streams, Impact Areas etc

      Returns:
    • reverseAllAction

      public void reverseAllAction()
    • chooseShapeSource

      public void chooseShapeSource()
    • importShapes

      public abstract void importShapes()
    • importButtonAction

      public void importButtonAction()
    • selectAllImport

      public void selectAllImport()
    • clearAllImport

      public void clearAllImport()
    • isStreamAlignmentImporter

      protected boolean isStreamAlignmentImporter()
      Returns:
    • setShapeSource

      protected void setShapeSource(ShapeSource source)
    • streamNameChanged

      public void streamNameChanged()
    • valueChanged

      public void valueChanged(ListSelectionEvent e)
      Specified by:
      valueChanged in interface ListSelectionListener
    • setVisible

      public void setVisible(boolean b)
      Description copied from class: RmaJDialog
      make sure the ok button is the default button when the dialog comes up.
      Overrides:
      setVisible in class RmaJDialog
    • closeDialog

      public boolean closeDialog()
    • canImport

      protected boolean canImport()