Example #1
0
 /** clean the status line */
 public void removeStatusLineErrorMessage() {
   SubStatusLineManager slm =
       (SubStatusLineManager) editor.getEditorSite().getActionBars().getStatusLineManager();
   // slm.setVisible(false);
   slm.setErrorMessage(null);
 }
Example #2
0
 /**
  * Write a message on the status line.
  *
  * @param msg the message.
  */
 public void setStatusLineErrorMessage(String msg) {
   SubStatusLineManager slm =
       (SubStatusLineManager) editor.getEditorSite().getActionBars().getStatusLineManager();
   slm.setErrorMessage(msg);
   slm.setVisible(true);
 }