public FolderSystemContext(FolderExplorerGroupComponent owner, IFolderExplorerComponent explorerComponent, FolderContentsComponent contentsComponent) { _owner = owner; _explorerComponent = explorerComponent; _contentsComponent = contentsComponent; _contentsComponent.SelectedItemsChanged += SelectedItemsChangedEventHandler; _contentsComponent.SelectedItemDoubleClicked += SelectedItemDoubleClickeEventHandler; }
public HomePageContainer(List <IFolderSystem> folderSystems, IPreviewComponent preview) : base(SplitOrientation.Vertical) { _folderContentComponent = new FolderContentsComponent(); _folderSystemGroup = new FolderExplorerGroupComponent(folderSystems, _folderContentComponent); // Construct the default content view _previewComponent = preview; _defaultContentComponent = new SplitComponentContainer( new SplitPane("FolderItems", _folderContentComponent, 0.4f), new SplitPane("ItemPreview", _previewComponent, 0.6f), SplitOrientation.Vertical); _contentArea = new StackedComponentContainer(); _contentArea.Show(_defaultContentComponent); this.Pane1 = new SplitPane("Folders", _folderSystemGroup, 0.2f); this.Pane2 = new SplitPane("Contents", _contentArea, 0.8f); }
public FolderExplorerGroupToolContext(FolderExplorerGroupComponent owner) { _owner = owner; }
/// <summary> /// Constructor /// </summary> public FolderExplorerComponent(IFolderSystem folderSystem, FolderExplorerGroupComponent owner) { _folderTreeRoot = new FolderTreeRoot(this); _folderSystem = folderSystem; _owner = owner; }