public void statusChanged(WorkspaceStatus newStatus) {
   status.setText(newStatus.getMessage());
   status.setToolTip(newStatus.getToolTip());
   if (newStatus.warningMessage()) {
     status.setBackgroundColor(COLOR_YELLOW);
     status.setTextColor(COLOR_BLACK);
   }
 }
 public void coreStatusChanged(CoreStatus oldStatus, CoreStatus newStatus) {
   switch (newStatus) {
     case PASSING:
       status.setBackgroundColor(COLOR_DARK_GREEN);
       status.setTextColor(COLOR_WHITE);
       break;
     case FAILING:
       setFailingColors();
       break;
     default:
       break;
   }
 }
 private void setFailingColors() {
   status.setBackgroundColor(COLOR_DARK_RED);
   status.setTextColor(COLOR_WHITE);
 }