예제 #1
0
 /** clean the status line */
 public void removeStatusLineErrorMessage() {
   SubStatusLineManager slm =
       (SubStatusLineManager) editor.getEditorSite().getActionBars().getStatusLineManager();
   // slm.setVisible(false);
   slm.setErrorMessage(null);
 }
예제 #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);
 }