예제 #1
0
        public void BindObjectSourceController(ObjectPoolCollectionPresenter controller)
        {
            if (_objectPool == controller)
                return;

            if (_objectPool != null) {
                _objectPool.ObjectSelectionChanged -= ObjectSelectionChanged;
            }

            _objectPool = controller;

            if (_objectPool != null) {
                _objectPool.ObjectSelectionChanged += ObjectSelectionChanged;
            }
        }
예제 #2
0
        public Presentation(EditorPresenter editor)
        {
            _editor = editor;

            _stdTools = new StandardToolsPresenter(_editor);
            _docTools = new DocumentToolsPresenter(_editor);
            _contentInfo = new ContentInfoArbitrationPresenter(_editor);

            _tilePoolList = new TilePoolListPresenter(_editor);
            _objectPoolCollection = new ObjectPoolCollectionPresenter(_editor);
            _tileBrushManager = new TileBrushManagerPresenter(_editor);
            _propertyList = new PropertyListPresenter();
            _projectExplorer = new ProjectExplorerPresenter(_editor);
        }