C# Class SEToolbox.ViewModels.ExplorerViewModel

Inheritance: BaseViewModel, IDropable, IMainView
显示文件 Open project: midspace/SEToolbox Class Usage Examples

Private Properties

Property Type Description
AddViewModel void
IDropable void
MergeShipPartModels void
RejoinShipModels void
RemoveViewModel void
RepairShips void
StopShips void
Structures_CollectionChanged void
UpdateLanguages void

Public Methods

Method Description
AboutCanExecute ( ) : bool
AboutExecuted ( ) : void
AddEntity ( MyObjectBuilder_EntityBase entity ) : IStructureBase
CalcDistances ( ) : void
ClearCanExecute ( ) : bool
ClearExecuted ( ) : void
ClearProgress ( ) : void
ClosingCanExecute ( CancelEventArgs e ) : bool
ClosingExecuted ( CancelEventArgs e ) : void
CopyObjectGpsCanExecute ( ) : bool
CopyObjectGpsExecuted ( ) : void
CreateFloatingItemCanExecute ( ) : bool
CreateFloatingItemExecuted ( ) : void
CreateUniqueVoxelStorageName ( string originalFile ) : string
CreateUniqueVoxelStorageName ( string originalFile, MyObjectBuilder_EntityBase additionalList ) : string
DeleteModel ( ) : void
DeleteObjectCanExecute ( ) : bool
DeleteObjectExecuted ( ) : void
ExplorerViewModel ( ExplorerModel dataModel ) : System
ExplorerViewModel ( ExplorerModel dataModel, IDialogService dialogService, Func openFileDialogFactory, Func saveFileDialogFactory ) : System
ExportBasicSandboxObjectCanExecute ( ) : bool
ExportBasicSandboxObjectExecuted ( ) : void
ExportPrefabObjectCanExecute ( ) : bool
ExportPrefabObjectExecuted ( ) : void
ExportPrefabObjectToFile ( bool blankOwnerAndMedBays ) : void
ExportSandboxObjectCanExecute ( ) : bool
ExportSandboxObjectExecuted ( ) : void
ExportSandboxObjectToFile ( bool blankOwnerAndMedBays ) : void
GenerateVoxelFieldCanExecute ( ) : bool
GenerateVoxelFieldExecuted ( ) : void
GetIntersectingEntities ( BoundingBoxD box ) : List
GroupMoveCanExecute ( ) : bool
GroupMoveExecuted ( ) : void
ImportAsteroidModelCanExecute ( ) : bool
ImportAsteroidModelExecuted ( ) : void
ImportImageCanExecute ( ) : bool
ImportImageExecuted ( ) : void
ImportModelCanExecute ( ) : bool
ImportModelExecuted ( ) : void
ImportSandboxObjectCanExecute ( ) : bool
ImportSandboxObjectExecuted ( ) : void
ImportSandboxObjectFromFile ( ) : void
ImportVoxelCanExecute ( ) : bool
ImportVoxelExecuted ( ) : void
IncrementProgress ( ) : void
IsActiveCanExecute ( ) : bool
JoinShipPartsCanExecute ( ) : bool
JoinShipPartsExecuted ( ) : void
LanguageCanExecute ( ) : bool
MirrorModel ( bool oddMirror ) : void
OpenCanExecute ( ) : bool
OpenComponentListCanExecute ( ) : bool
OpenComponentListExecuted ( ) : void
OpenDocumentationLinkCanExecute ( ) : bool
OpenDocumentationLinkExecuted ( ) : void
OpenExecuted ( ) : void
OpenFolderCanExecute ( ) : bool
OpenFolderExecuted ( ) : void
OpenSettingsCanExecute ( ) : bool
OpenSettingsExecuted ( ) : void
OpenSupportLinkCanExecute ( ) : bool
OpenSupportLinkExecuted ( ) : void
OpenUpdatesLinkCanExecute ( ) : bool
OpenUpdatesLinkExecuted ( ) : void
OpenWorkshopCanExecute ( ) : bool
OpenWorkshopExecuted ( ) : void
OptimizeModel ( ) : void
RejoinShipCanExecute ( ) : bool
RejoinShipExecuted ( ) : void
ReloadCanExecute ( ) : bool
ReloadExecuted ( ) : void
RepairShipsCanExecute ( ) : bool
RepairShipsExecuted ( ) : void
ResetProgress ( double initial, double maximumProgress ) : void
ResetVelocityCanExecute ( ) : bool
ResetVelocityExecuted ( ) : void
SaveAsCanExecute ( ) : bool
SaveAsExecuted ( ) : void
SaveCanExecute ( ) : bool
SaveExecuted ( ) : void
SetLanguageCanExecute ( string code ) : bool
SetLanguageExecuted ( string code ) : void
Test1CanExecute ( ) : bool
Test1Executed ( ) : void
Test2CanExecute ( ) : bool
Test2Executed ( ) : void
Test3CanExecute ( ) : bool
Test3Executed ( ) : void
Test4CanExecute ( ) : bool
Test4Executed ( ) : void
Test5CanExecute ( ) : bool
Test5Executed ( ) : void
Test6CanExecute ( ) : bool
Test6Executed ( ) : void
TestCalcCubesModel ( ) : void
ViewSandboxCanExecute ( ) : bool
ViewSandboxExecuted ( ) : void
VoxelMergeCanExecute ( ) : bool
VoxelMergeExecuted ( ) : void
WorldReportCanExecute ( ) : bool
WorldReportExecuted ( ) : void

Private Methods

Method Description
AddViewModel ( IStructureBase structureBase ) : void
IDropable ( object data, int index ) : void
MergeShipPartModels ( IStructureViewBase viewModel1, IStructureViewBase viewModel2 ) : void
RejoinShipModels ( IStructureViewBase viewModel1, IStructureViewBase viewModel2 ) : void
RemoveViewModel ( IStructureBase model ) : void

Find and remove ViewModel, with the specied Model. Remove the Entity also.

RepairShips ( IEnumerable structures ) : void
StopShips ( IEnumerable structures ) : void
Structures_CollectionChanged ( object sender, NotifyCollectionChangedEventArgs e ) : void
UpdateLanguages ( ) : void

Method Details

AboutCanExecute() public method

public AboutCanExecute ( ) : bool
return bool

AboutExecuted() public method

public AboutExecuted ( ) : void
return void

AddEntity() public method

public AddEntity ( MyObjectBuilder_EntityBase entity ) : IStructureBase
entity MyObjectBuilder_EntityBase
return IStructureBase

CalcDistances() public method

public CalcDistances ( ) : void
return void

ClearCanExecute() public method

public ClearCanExecute ( ) : bool
return bool

ClearExecuted() public method

public ClearExecuted ( ) : void
return void

ClearProgress() public method

public ClearProgress ( ) : void
return void

ClosingCanExecute() public method

public ClosingCanExecute ( CancelEventArgs e ) : bool
e CancelEventArgs
return bool

ClosingExecuted() public method

public ClosingExecuted ( CancelEventArgs e ) : void
e CancelEventArgs
return void

CopyObjectGpsCanExecute() public method

public CopyObjectGpsCanExecute ( ) : bool
return bool

CopyObjectGpsExecuted() public method

public CopyObjectGpsExecuted ( ) : void
return void

CreateFloatingItemCanExecute() public method

public CreateFloatingItemCanExecute ( ) : bool
return bool

CreateFloatingItemExecuted() public method

public CreateFloatingItemExecuted ( ) : void
return void

CreateUniqueVoxelStorageName() public method

public CreateUniqueVoxelStorageName ( string originalFile ) : string
originalFile string
return string

CreateUniqueVoxelStorageName() public method

public CreateUniqueVoxelStorageName ( string originalFile, MyObjectBuilder_EntityBase additionalList ) : string
originalFile string
additionalList MyObjectBuilder_EntityBase
return string

DeleteModel() public method

public DeleteModel ( ) : void
return void

DeleteObjectCanExecute() public method

public DeleteObjectCanExecute ( ) : bool
return bool

DeleteObjectExecuted() public method

public DeleteObjectExecuted ( ) : void
return void

ExplorerViewModel() public method

public ExplorerViewModel ( ExplorerModel dataModel ) : System
dataModel SEToolbox.Models.ExplorerModel
return System

ExplorerViewModel() public method

public ExplorerViewModel ( ExplorerModel dataModel, IDialogService dialogService, Func openFileDialogFactory, Func saveFileDialogFactory ) : System
dataModel SEToolbox.Models.ExplorerModel
dialogService IDialogService
openFileDialogFactory Func
saveFileDialogFactory Func
return System

ExportBasicSandboxObjectCanExecute() public method

public ExportBasicSandboxObjectCanExecute ( ) : bool
return bool

ExportBasicSandboxObjectExecuted() public method

public ExportBasicSandboxObjectExecuted ( ) : void
return void

ExportPrefabObjectCanExecute() public method

public ExportPrefabObjectCanExecute ( ) : bool
return bool

ExportPrefabObjectExecuted() public method

public ExportPrefabObjectExecuted ( ) : void
return void

ExportPrefabObjectToFile() public method

public ExportPrefabObjectToFile ( bool blankOwnerAndMedBays ) : void
blankOwnerAndMedBays bool
return void

ExportSandboxObjectCanExecute() public method

public ExportSandboxObjectCanExecute ( ) : bool
return bool

ExportSandboxObjectExecuted() public method

public ExportSandboxObjectExecuted ( ) : void
return void

ExportSandboxObjectToFile() public method

public ExportSandboxObjectToFile ( bool blankOwnerAndMedBays ) : void
blankOwnerAndMedBays bool
return void

GenerateVoxelFieldCanExecute() public method

public GenerateVoxelFieldCanExecute ( ) : bool
return bool

GenerateVoxelFieldExecuted() public method

public GenerateVoxelFieldExecuted ( ) : void
return void

GetIntersectingEntities() public method

public GetIntersectingEntities ( BoundingBoxD box ) : List
box BoundingBoxD
return List

GroupMoveCanExecute() public method

public GroupMoveCanExecute ( ) : bool
return bool

GroupMoveExecuted() public method

public GroupMoveExecuted ( ) : void
return void

ImportAsteroidModelCanExecute() public method

public ImportAsteroidModelCanExecute ( ) : bool
return bool

ImportAsteroidModelExecuted() public method

public ImportAsteroidModelExecuted ( ) : void
return void

ImportImageCanExecute() public method

public ImportImageCanExecute ( ) : bool
return bool

ImportImageExecuted() public method

public ImportImageExecuted ( ) : void
return void

ImportModelCanExecute() public method

public ImportModelCanExecute ( ) : bool
return bool

ImportModelExecuted() public method

public ImportModelExecuted ( ) : void
return void

ImportSandboxObjectCanExecute() public method

public ImportSandboxObjectCanExecute ( ) : bool
return bool

ImportSandboxObjectExecuted() public method

public ImportSandboxObjectExecuted ( ) : void
return void

ImportSandboxObjectFromFile() public method

public ImportSandboxObjectFromFile ( ) : void
return void

ImportVoxelCanExecute() public method

public ImportVoxelCanExecute ( ) : bool
return bool

ImportVoxelExecuted() public method

public ImportVoxelExecuted ( ) : void
return void

IncrementProgress() public method

public IncrementProgress ( ) : void
return void

IsActiveCanExecute() public method

public IsActiveCanExecute ( ) : bool
return bool

JoinShipPartsCanExecute() public method

public JoinShipPartsCanExecute ( ) : bool
return bool

JoinShipPartsExecuted() public method

public JoinShipPartsExecuted ( ) : void
return void

LanguageCanExecute() public method

public LanguageCanExecute ( ) : bool
return bool

MirrorModel() public method

public MirrorModel ( bool oddMirror ) : void
oddMirror bool
return void

OpenCanExecute() public method

public OpenCanExecute ( ) : bool
return bool

OpenComponentListCanExecute() public method

public OpenComponentListCanExecute ( ) : bool
return bool

OpenComponentListExecuted() public method

public OpenComponentListExecuted ( ) : void
return void

OpenDocumentationLinkCanExecute() public method

public OpenDocumentationLinkCanExecute ( ) : bool
return bool

OpenDocumentationLinkExecuted() public method

public OpenDocumentationLinkExecuted ( ) : void
return void

OpenExecuted() public method

public OpenExecuted ( ) : void
return void

OpenFolderCanExecute() public method

public OpenFolderCanExecute ( ) : bool
return bool

OpenFolderExecuted() public method

public OpenFolderExecuted ( ) : void
return void

OpenSettingsCanExecute() public method

public OpenSettingsCanExecute ( ) : bool
return bool

OpenSettingsExecuted() public method

public OpenSettingsExecuted ( ) : void
return void

OpenSupportLinkCanExecute() public method

public OpenSupportLinkCanExecute ( ) : bool
return bool

OpenSupportLinkExecuted() public method

public OpenSupportLinkExecuted ( ) : void
return void

OpenUpdatesLinkCanExecute() public method

public OpenUpdatesLinkCanExecute ( ) : bool
return bool

OpenUpdatesLinkExecuted() public method

public OpenUpdatesLinkExecuted ( ) : void
return void

OpenWorkshopCanExecute() public method

public OpenWorkshopCanExecute ( ) : bool
return bool

OpenWorkshopExecuted() public method

public OpenWorkshopExecuted ( ) : void
return void

OptimizeModel() public method

public OptimizeModel ( ) : void
return void

RejoinShipCanExecute() public method

public RejoinShipCanExecute ( ) : bool
return bool

RejoinShipExecuted() public method

public RejoinShipExecuted ( ) : void
return void

ReloadCanExecute() public method

public ReloadCanExecute ( ) : bool
return bool

ReloadExecuted() public method

public ReloadExecuted ( ) : void
return void

RepairShipsCanExecute() public method

public RepairShipsCanExecute ( ) : bool
return bool

RepairShipsExecuted() public method

public RepairShipsExecuted ( ) : void
return void

ResetProgress() public method

public ResetProgress ( double initial, double maximumProgress ) : void
initial double
maximumProgress double
return void

ResetVelocityCanExecute() public method

public ResetVelocityCanExecute ( ) : bool
return bool

ResetVelocityExecuted() public method

public ResetVelocityExecuted ( ) : void
return void

SaveAsCanExecute() public method

public SaveAsCanExecute ( ) : bool
return bool

SaveAsExecuted() public method

public SaveAsExecuted ( ) : void
return void

SaveCanExecute() public method

public SaveCanExecute ( ) : bool
return bool

SaveExecuted() public method

public SaveExecuted ( ) : void
return void

SetLanguageCanExecute() public method

public SetLanguageCanExecute ( string code ) : bool
code string
return bool

SetLanguageExecuted() public method

public SetLanguageExecuted ( string code ) : void
code string
return void

Test1CanExecute() public method

public Test1CanExecute ( ) : bool
return bool

Test1Executed() public method

public Test1Executed ( ) : void
return void

Test2CanExecute() public method

public Test2CanExecute ( ) : bool
return bool

Test2Executed() public method

public Test2Executed ( ) : void
return void

Test3CanExecute() public method

public Test3CanExecute ( ) : bool
return bool

Test3Executed() public method

public Test3Executed ( ) : void
return void

Test4CanExecute() public method

public Test4CanExecute ( ) : bool
return bool

Test4Executed() public method

public Test4Executed ( ) : void
return void

Test5CanExecute() public method

public Test5CanExecute ( ) : bool
return bool

Test5Executed() public method

public Test5Executed ( ) : void
return void

Test6CanExecute() public method

public Test6CanExecute ( ) : bool
return bool

Test6Executed() public method

public Test6Executed ( ) : void
return void

TestCalcCubesModel() public method

public TestCalcCubesModel ( ) : void
return void

ViewSandboxCanExecute() public method

public ViewSandboxCanExecute ( ) : bool
return bool

ViewSandboxExecuted() public method

public ViewSandboxExecuted ( ) : void
return void

VoxelMergeCanExecute() public method

public VoxelMergeCanExecute ( ) : bool
return bool

VoxelMergeExecuted() public method

public VoxelMergeExecuted ( ) : void
return void

WorldReportCanExecute() public method

public WorldReportCanExecute ( ) : bool
return bool

WorldReportExecuted() public method

public WorldReportExecuted ( ) : void
return void