Class DatabaseViewer

All Implemented Interfaces:
DatabaseListener, ImageObserver, MenuContainer, Serializable, Accessible

public class DatabaseViewer extends JPanel implements DatabaseListener
GoalManager GUI. Shows a view of the action database and lets the user create, edit and export actions. This class handles the main window, the two tree views on the left of the window and the tabbed pane containing the active script editors.
See Also:
  • Constructor Details

  • Method Details

    • update

      public void update()
      Trigger update of GUI.
    • removedTab

      public void removedTab(String id)
      Gets called whenever a script editor tab is closed.
      Parameters:
      id - id of the tab that was closed.
    • savedFile

      public void savedFile()
      Gets called whenever a script editor saves to a file.
    • actionAdded

      public void actionAdded(ActionDBEntry adb)
      Callback for added actions
      Specified by:
      actionAdded in interface DatabaseListener
      Parameters:
      adb - action added to the database.
    • actionRemoved

      public void actionRemoved(ActionDBEntry adb)
      Callback for removed actions.
      Specified by:
      actionRemoved in interface DatabaseListener
      Parameters:
      adb - action removed from database
    • $$$getRootComponent$$$

      public JComponent $$$getRootComponent$$$()