/// <summary> /// Setup constructor /// </summary> /// <param name="mainDisplay">Main application display</param> /// <exception cref="System.ArgumentNullException">Thrown if mainDisplay is null</exception> public WorkspaceEx( IMainApplicationDisplay mainDisplay ) : base(mainDisplay) { m_ProjectContext = new ProjectContext( ); m_SelectedBiomeContext = new SelectedBiomeContext( ); m_ProjectGroups = new ProjectGroupContainer( ); }
/// <summary> /// Creates a biome terrain texture view /// </summary> public IBiomeTerrainTextureView CreateBiomeTerrainTextureView( SelectedBiomeContext context, BiomeListModel model ) { IBiomeTerrainTextureView view = new BiomeTerrainTextureViewControl( ); new BiomeTerrainTextureController( context, view ); return view; }
/// <summary> /// Creates a biome list view /// </summary> public IBiomeListView CreateBiomeListView( SelectedBiomeContext context, BiomeListModel allBiomes, BiomeListModel currentBiomes ) { IBiomeListView view = new BiomeListControl( ); new BiomeListController( this, context, allBiomes, currentBiomes, view ); return view; }