public void actionPerformed(ActionEvent event) {
    if (Debug.isActive()) Debug.println("Action for Collapse Tree button");

    tree_view.collapseLevel();
    toolbar.getYaxisTreeCommitButton().doClick();

    // Set toolbar buttons to reflect status
    toolbar.resetYaxisTreeButtons();
  }
Esempio n. 2
0
  public void actionPerformed(ActionEvent event) {
    Window window;
    String msg;

    if (model.isZoomUndoStackEmpty()) {
      window = SwingUtilities.windowForComponent((JToolBar) toolbar);
      msg = "Zoom Undo Stack is empty";
      Dialogs.warn(window, msg);
    } else model.zoomUndo();

    // Set toolbar buttons to reflect status
    if (toolbar != null) toolbar.resetZoomButtons();

    if (Debug.isActive()) Debug.println("Action for Zoom Undo button.");
  }
Esempio n. 3
0
 /** Actual Instantiation of the UI components */
 public void init() {
   Debug.println("AuditLogPanel: init()");
   super.init();
   refresh();
 }
  public void actionPerformed(ActionEvent event) {
    canvas_vport.searchBackward();

    if (Debug.isActive()) Debug.println("Action for Search Backward button. ");
  }