Example #1
0
 /**
  * Retrieve the data blob, Certificate Pretty Print or Base64Encode cert, from the data object.
  * Used by the view functionality.
  *
  * @param row cert table row number
  * @retrun data in string format
  */
 public String getDataBlob(int row) {
   try {
     NameValuePairs obj = (NameValuePairs) getObjectValueAt(row);
     return obj.get(CERT_DATA);
   } catch (Exception e) {
     Debug.println("CertDataModel: getDataBlob()- " + e.toString());
     return "";
   }
 }
  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();
  }
Example #3
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.");
  }