class EditorModel {

  public void selectNewBuffer() {
    final Buffer buffer = new BufferImplementation(m_resources,
                                                   m_textSourceFactory.create(),
                                                   createNewBufferName());
    addBuffer(buffer);

    selectBuffer(buffer);
  }

  public  EditorModel(Resources resources,
                     TextSource.Factory textSourceFactory,
                     AgentCacheState agentCacheState,
                     FileChangeWatcher fileChangeWatcher);

}