C# Class Gilgame.SEWorkbench.ViewModels.ProjectViewModel

Inheritance: BaseViewModel
显示文件 Open project: gilgame/SEWorkbench Class Usage Examples

Public Methods

Method Description
GetAssociatedScripts ( string path ) : List
GetBackups ( ) : List
GetImports ( string path, bool unsaved = false ) : string>.Dictionary
GetItemByPath ( ProjectItemViewModel item, string path ) : ProjectItemViewModel
GetItemByPath ( string path ) : ProjectItemViewModel
GetParentBlueprint ( ProjectItemViewModel item ) : ProjectItemViewModel
GetSelectedBlueprint ( ) : ProjectItemViewModel
GetSelectedFile ( ) : ProjectItemViewModel
ImportReferences ( string code ) : string
PerformAddBlueprints ( ) : void
PerformAddCollection ( ) : void
PerformAddExistingFile ( ) : void
PerformAddFile ( ) : void
PerformAddFolder ( ) : void
PerformAddReference ( ) : void
PerformCloseProject ( ) : void
PerformDelete ( ) : void
PerformNewProject ( ) : void
PerformOpenProject ( ) : void
PerformRemoveReference ( ) : void
PerformRename ( ) : void
PerformSearch ( ) : void
PerformViewCode ( ) : void
ProjectViewModel ( BaseViewModel parent ) : System
RaiseFileCreated ( ProjectItemViewModel item ) : void
RaiseFileDeleted ( ProjectItemViewModel item ) : void
RaiseFileRequested ( ) : void
RaiseReferenceAdded ( ProjectItemViewModel item ) : void
RaiseSelectionChanged ( ) : void
SaveProject ( ) : void
SetRootItem ( ProjectItem root ) : void

Private Methods

Method Description
CollectScripts ( string path, ProjectItemViewModel item, List scripts ) : List
CreateNewProjectTemplate ( ) : void
CreateSafeName ( string text ) : string
FindMatches ( string text, ProjectItemViewModel item ) : IEnumerable
FindSelected ( ProjectItemViewModel item ) : IEnumerable
FindSelectedItem ( ) : ProjectItemViewModel
GetBackups ( ProjectItemViewModel item ) : List
GetParentCollection ( ProjectItemViewModel item ) : ProjectItemViewModel
GetParentFolder ( ProjectItemViewModel child ) : ProjectItemViewModel
GetReferences ( ) : List
LoadBlueprints ( ) : void
LoadBlueprints ( ProjectItemViewModel item, bool failed ) : void
RaiseProjectClosed ( ) : void
RaiseProjectCreated ( ) : void
RaiseProjectOpened ( ) : void
ReferencesExists ( ProjectItemViewModel root ) : bool
SetProject ( ProjectItem parent, ProjectViewModel project ) : void
VerifyMatchingItemEnumerator ( ) : void
VerifySelectedItemEnumerator ( ) : void

Method Details

GetAssociatedScripts() public method

public GetAssociatedScripts ( string path ) : List
path string
return List

GetBackups() public method

public GetBackups ( ) : List
return List

GetImports() public method

public GetImports ( string path, bool unsaved = false ) : string>.Dictionary
path string
unsaved bool
return string>.Dictionary

GetItemByPath() public method

public GetItemByPath ( ProjectItemViewModel item, string path ) : ProjectItemViewModel
item ProjectItemViewModel
path string
return ProjectItemViewModel

GetItemByPath() public method

public GetItemByPath ( string path ) : ProjectItemViewModel
path string
return ProjectItemViewModel

GetParentBlueprint() public method

public GetParentBlueprint ( ProjectItemViewModel item ) : ProjectItemViewModel
item ProjectItemViewModel
return ProjectItemViewModel

GetSelectedBlueprint() public method

public GetSelectedBlueprint ( ) : ProjectItemViewModel
return ProjectItemViewModel

GetSelectedFile() public method

public GetSelectedFile ( ) : ProjectItemViewModel
return ProjectItemViewModel

ImportReferences() public method

public ImportReferences ( string code ) : string
code string
return string

PerformAddBlueprints() public method

public PerformAddBlueprints ( ) : void
return void

PerformAddCollection() public method

public PerformAddCollection ( ) : void
return void

PerformAddExistingFile() public method

public PerformAddExistingFile ( ) : void
return void

PerformAddFile() public method

public PerformAddFile ( ) : void
return void

PerformAddFolder() public method

public PerformAddFolder ( ) : void
return void

PerformAddReference() public method

public PerformAddReference ( ) : void
return void

PerformCloseProject() public method

public PerformCloseProject ( ) : void
return void

PerformDelete() public method

public PerformDelete ( ) : void
return void

PerformNewProject() public method

public PerformNewProject ( ) : void
return void

PerformOpenProject() public method

public PerformOpenProject ( ) : void
return void

PerformRemoveReference() public method

public PerformRemoveReference ( ) : void
return void

PerformRename() public method

public PerformRename ( ) : void
return void

PerformSearch() public method

public PerformSearch ( ) : void
return void

PerformViewCode() public method

public PerformViewCode ( ) : void
return void

ProjectViewModel() public method

public ProjectViewModel ( BaseViewModel parent ) : System
parent BaseViewModel
return System

RaiseFileCreated() public method

public RaiseFileCreated ( ProjectItemViewModel item ) : void
item ProjectItemViewModel
return void

RaiseFileDeleted() public method

public RaiseFileDeleted ( ProjectItemViewModel item ) : void
item ProjectItemViewModel
return void

RaiseFileRequested() public method

public RaiseFileRequested ( ) : void
return void

RaiseReferenceAdded() public method

public RaiseReferenceAdded ( ProjectItemViewModel item ) : void
item ProjectItemViewModel
return void

RaiseSelectionChanged() public method

public RaiseSelectionChanged ( ) : void
return void

SaveProject() public method

public SaveProject ( ) : void
return void

SetRootItem() public method

public SetRootItem ( ProjectItem root ) : void
root Gilgame.SEWorkbench.Models.ProjectItem
return void