private void updateActions(final INaviProject project){
  m_loadProjectAction.setEnabled(!project.isLoaded());
  if (m_addAddressSpaceAction != null) {
    m_addAddressSpaceAction.setEnabled(project.isLoaded());
  }
  m_searchViewAction.setEnabled(project.isLoaded());
  m_forwardAction.setEnabled(project.isLoaded());
}

private void updateActions ( final INaviProject project ) { m_loadProjectAction . setEnabled ( ! project . isLoaded ( ) ) ; if ( m_addAddressSpaceAction != null ) { m_addAddressSpaceAction . setEnabled ( project . isLoaded ( ) ) ; } m_searchViewAction . setEnabled ( project . isLoaded ( ) ) ; m_forwardAction . setEnabled ( project . isLoaded ( ) ) ; }
updates the actions that depend on the state of a single project .
