public void removeViewer(IDirectableViewer viewer){
  viewers.remove(viewer);
  directorListeners.remove(viewer);
  ProjectManager.projectWindowChanged(this,viewer,false);
  if (viewers.isEmpty())   ProjectManager.removeProject(this);
}

public void removeViewer ( IDirectableViewer viewer ) { viewers . remove ( viewer ) ; directorListeners . remove ( viewer ) ; ProjectManager . projectWindowChanged ( this , viewer , false ) ; if ( viewers . isEmpty ( ) ) ProjectManager . removeProject ( this ) ; }
remove a viewer from this doc
