protected void updateFormTitle(){
  if (null != displayedCmrRepositoryDefinition) {
    mainForm.setImage(ImageFormatter.getCmrRepositoryImage(displayedCmrRepositoryDefinition,true));
    mainForm.setText(displayedCmrRepositoryDefinition.getName());
    mainForm.setToolTipText(TextFormatter.getCmrRepositoryDescription(displayedCmrRepositoryDefinition));
    mainForm.setMessage(null);
  }
 else {
    mainForm.setImage(null);
    mainForm.setText("No repository exists");
    mainForm.setMessage("Repositories can be added from the Repository Manager",IMessageProvider.WARNING);
    mainForm.setToolTipText(null);
  }
}

protected void updateFormTitle ( ) { if ( null != displayedCmrRepositoryDefinition ) { mainForm . setImage ( ImageFormatter . getCmrRepositoryImage ( displayedCmrRepositoryDefinition , true ) ) ; mainForm . setText ( displayedCmrRepositoryDefinition . getName ( ) ) ; mainForm . setToolTipText ( TextFormatter . getCmrRepositoryDescription ( displayedCmrRepositoryDefinition ) ) ; mainForm . setMessage ( null ) ; } else { mainForm . setImage ( null ) ; mainForm . setText ( "No repository exists" ) ; mainForm . setMessage ( "Repositories can be added from the Repository Manager" , IMessageProvider . WARNING ) ; mainForm . setToolTipText ( null ) ; } }
updates the form title . sub - classes can extend if needed .
