public void register(final CGraphWindow window){
  Preconditions.checkNotNull(window,"IE02084: Graph window can't be null");
  if (m_graphs.contains(window)) {
    throw new IllegalStateException("IE01205: Cannot register graph window twice");
  }
  m_graphs.add(window);
  window.addWindowListener(m_listener);
  for (  final IWindowManagerListener listener : m_listeners) {
    try {
      listener.windowOpened(this,window);
    }
 catch (    final Exception e) {
      CUtilityFunctions.logException(e);
    }
  }
}

public void register ( final CGraphWindow window ) { Preconditions . checkNotNull ( window , "IE02084: Graph window can't be null" ) ; if ( m_graphs . contains ( window ) ) { throw new IllegalStateException ( "IE01205: Cannot register graph window twice" ) ; } m_graphs . add ( window ) ; window . addWindowListener ( m_listener ) ; for ( final IWindowManagerListener listener : m_listeners ) { try { listener . windowOpened ( this , window ) ; } catch ( final Exception e ) { CUtilityFunctions . logException ( e ) ; } } }
registers a new graph window with the window manager .
