C# Class SEToolbox.ViewModels.ExplorerViewModel

Inheritance: BaseViewModel, IDropable, IMainView
Afficher le fichier Open project: midspace/SEToolbox Class Usage Examples

Private Properties

Свойство Type Description
AddViewModel void
IDropable void
MergeShipPartModels void
RejoinShipModels void
RemoveViewModel void
RepairShips void
StopShips void
Structures_CollectionChanged void
UpdateLanguages void

Méthodes publiques

Méthode 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

Méthode 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 méthode

public AboutCanExecute ( ) : bool
Résultat bool

AboutExecuted() public méthode

public AboutExecuted ( ) : void
Résultat void

AddEntity() public méthode

public AddEntity ( MyObjectBuilder_EntityBase entity ) : IStructureBase
entity MyObjectBuilder_EntityBase
Résultat IStructureBase

CalcDistances() public méthode

public CalcDistances ( ) : void
Résultat void

ClearCanExecute() public méthode

public ClearCanExecute ( ) : bool
Résultat bool

ClearExecuted() public méthode

public ClearExecuted ( ) : void
Résultat void

ClearProgress() public méthode

public ClearProgress ( ) : void
Résultat void

ClosingCanExecute() public méthode

public ClosingCanExecute ( CancelEventArgs e ) : bool
e CancelEventArgs
Résultat bool

ClosingExecuted() public méthode

public ClosingExecuted ( CancelEventArgs e ) : void
e CancelEventArgs
Résultat void

CopyObjectGpsCanExecute() public méthode

public CopyObjectGpsCanExecute ( ) : bool
Résultat bool

CopyObjectGpsExecuted() public méthode

public CopyObjectGpsExecuted ( ) : void
Résultat void

CreateFloatingItemCanExecute() public méthode

public CreateFloatingItemCanExecute ( ) : bool
Résultat bool

CreateFloatingItemExecuted() public méthode

public CreateFloatingItemExecuted ( ) : void
Résultat void

CreateUniqueVoxelStorageName() public méthode

public CreateUniqueVoxelStorageName ( string originalFile ) : string
originalFile string
Résultat string

CreateUniqueVoxelStorageName() public méthode

public CreateUniqueVoxelStorageName ( string originalFile, MyObjectBuilder_EntityBase additionalList ) : string
originalFile string
additionalList MyObjectBuilder_EntityBase
Résultat string

DeleteModel() public méthode

public DeleteModel ( ) : void
Résultat void

DeleteObjectCanExecute() public méthode

public DeleteObjectCanExecute ( ) : bool
Résultat bool

DeleteObjectExecuted() public méthode

public DeleteObjectExecuted ( ) : void
Résultat void

ExplorerViewModel() public méthode

public ExplorerViewModel ( ExplorerModel dataModel ) : System
dataModel SEToolbox.Models.ExplorerModel
Résultat System

ExplorerViewModel() public méthode

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

ExportBasicSandboxObjectCanExecute() public méthode

public ExportBasicSandboxObjectCanExecute ( ) : bool
Résultat bool

ExportBasicSandboxObjectExecuted() public méthode

public ExportBasicSandboxObjectExecuted ( ) : void
Résultat void

ExportPrefabObjectCanExecute() public méthode

public ExportPrefabObjectCanExecute ( ) : bool
Résultat bool

ExportPrefabObjectExecuted() public méthode

public ExportPrefabObjectExecuted ( ) : void
Résultat void

ExportPrefabObjectToFile() public méthode

public ExportPrefabObjectToFile ( bool blankOwnerAndMedBays ) : void
blankOwnerAndMedBays bool
Résultat void

ExportSandboxObjectCanExecute() public méthode

public ExportSandboxObjectCanExecute ( ) : bool
Résultat bool

ExportSandboxObjectExecuted() public méthode

public ExportSandboxObjectExecuted ( ) : void
Résultat void

ExportSandboxObjectToFile() public méthode

public ExportSandboxObjectToFile ( bool blankOwnerAndMedBays ) : void
blankOwnerAndMedBays bool
Résultat void

GenerateVoxelFieldCanExecute() public méthode

public GenerateVoxelFieldCanExecute ( ) : bool
Résultat bool

GenerateVoxelFieldExecuted() public méthode

public GenerateVoxelFieldExecuted ( ) : void
Résultat void

GetIntersectingEntities() public méthode

public GetIntersectingEntities ( BoundingBoxD box ) : List
box BoundingBoxD
Résultat List

GroupMoveCanExecute() public méthode

public GroupMoveCanExecute ( ) : bool
Résultat bool

GroupMoveExecuted() public méthode

public GroupMoveExecuted ( ) : void
Résultat void

ImportAsteroidModelCanExecute() public méthode

public ImportAsteroidModelCanExecute ( ) : bool
Résultat bool

ImportAsteroidModelExecuted() public méthode

public ImportAsteroidModelExecuted ( ) : void
Résultat void

ImportImageCanExecute() public méthode

public ImportImageCanExecute ( ) : bool
Résultat bool

ImportImageExecuted() public méthode

public ImportImageExecuted ( ) : void
Résultat void

ImportModelCanExecute() public méthode

public ImportModelCanExecute ( ) : bool
Résultat bool

ImportModelExecuted() public méthode

public ImportModelExecuted ( ) : void
Résultat void

ImportSandboxObjectCanExecute() public méthode

public ImportSandboxObjectCanExecute ( ) : bool
Résultat bool

ImportSandboxObjectExecuted() public méthode

public ImportSandboxObjectExecuted ( ) : void
Résultat void

ImportSandboxObjectFromFile() public méthode

public ImportSandboxObjectFromFile ( ) : void
Résultat void

ImportVoxelCanExecute() public méthode

public ImportVoxelCanExecute ( ) : bool
Résultat bool

ImportVoxelExecuted() public méthode

public ImportVoxelExecuted ( ) : void
Résultat void

IncrementProgress() public méthode

public IncrementProgress ( ) : void
Résultat void

IsActiveCanExecute() public méthode

public IsActiveCanExecute ( ) : bool
Résultat bool

JoinShipPartsCanExecute() public méthode

public JoinShipPartsCanExecute ( ) : bool
Résultat bool

JoinShipPartsExecuted() public méthode

public JoinShipPartsExecuted ( ) : void
Résultat void

LanguageCanExecute() public méthode

public LanguageCanExecute ( ) : bool
Résultat bool

MirrorModel() public méthode

public MirrorModel ( bool oddMirror ) : void
oddMirror bool
Résultat void

OpenCanExecute() public méthode

public OpenCanExecute ( ) : bool
Résultat bool

OpenComponentListCanExecute() public méthode

public OpenComponentListCanExecute ( ) : bool
Résultat bool

OpenComponentListExecuted() public méthode

public OpenComponentListExecuted ( ) : void
Résultat void

OpenDocumentationLinkCanExecute() public méthode

public OpenDocumentationLinkCanExecute ( ) : bool
Résultat bool

OpenDocumentationLinkExecuted() public méthode

public OpenDocumentationLinkExecuted ( ) : void
Résultat void

OpenExecuted() public méthode

public OpenExecuted ( ) : void
Résultat void

OpenFolderCanExecute() public méthode

public OpenFolderCanExecute ( ) : bool
Résultat bool

OpenFolderExecuted() public méthode

public OpenFolderExecuted ( ) : void
Résultat void

OpenSettingsCanExecute() public méthode

public OpenSettingsCanExecute ( ) : bool
Résultat bool

OpenSettingsExecuted() public méthode

public OpenSettingsExecuted ( ) : void
Résultat void

OpenSupportLinkCanExecute() public méthode

public OpenSupportLinkCanExecute ( ) : bool
Résultat bool

OpenSupportLinkExecuted() public méthode

public OpenSupportLinkExecuted ( ) : void
Résultat void

OpenUpdatesLinkCanExecute() public méthode

public OpenUpdatesLinkCanExecute ( ) : bool
Résultat bool

OpenUpdatesLinkExecuted() public méthode

public OpenUpdatesLinkExecuted ( ) : void
Résultat void

OpenWorkshopCanExecute() public méthode

public OpenWorkshopCanExecute ( ) : bool
Résultat bool

OpenWorkshopExecuted() public méthode

public OpenWorkshopExecuted ( ) : void
Résultat void

OptimizeModel() public méthode

public OptimizeModel ( ) : void
Résultat void

RejoinShipCanExecute() public méthode

public RejoinShipCanExecute ( ) : bool
Résultat bool

RejoinShipExecuted() public méthode

public RejoinShipExecuted ( ) : void
Résultat void

ReloadCanExecute() public méthode

public ReloadCanExecute ( ) : bool
Résultat bool

ReloadExecuted() public méthode

public ReloadExecuted ( ) : void
Résultat void

RepairShipsCanExecute() public méthode

public RepairShipsCanExecute ( ) : bool
Résultat bool

RepairShipsExecuted() public méthode

public RepairShipsExecuted ( ) : void
Résultat void

ResetProgress() public méthode

public ResetProgress ( double initial, double maximumProgress ) : void
initial double
maximumProgress double
Résultat void

ResetVelocityCanExecute() public méthode

public ResetVelocityCanExecute ( ) : bool
Résultat bool

ResetVelocityExecuted() public méthode

public ResetVelocityExecuted ( ) : void
Résultat void

SaveAsCanExecute() public méthode

public SaveAsCanExecute ( ) : bool
Résultat bool

SaveAsExecuted() public méthode

public SaveAsExecuted ( ) : void
Résultat void

SaveCanExecute() public méthode

public SaveCanExecute ( ) : bool
Résultat bool

SaveExecuted() public méthode

public SaveExecuted ( ) : void
Résultat void

SetLanguageCanExecute() public méthode

public SetLanguageCanExecute ( string code ) : bool
code string
Résultat bool

SetLanguageExecuted() public méthode

public SetLanguageExecuted ( string code ) : void
code string
Résultat void

Test1CanExecute() public méthode

public Test1CanExecute ( ) : bool
Résultat bool

Test1Executed() public méthode

public Test1Executed ( ) : void
Résultat void

Test2CanExecute() public méthode

public Test2CanExecute ( ) : bool
Résultat bool

Test2Executed() public méthode

public Test2Executed ( ) : void
Résultat void

Test3CanExecute() public méthode

public Test3CanExecute ( ) : bool
Résultat bool

Test3Executed() public méthode

public Test3Executed ( ) : void
Résultat void

Test4CanExecute() public méthode

public Test4CanExecute ( ) : bool
Résultat bool

Test4Executed() public méthode

public Test4Executed ( ) : void
Résultat void

Test5CanExecute() public méthode

public Test5CanExecute ( ) : bool
Résultat bool

Test5Executed() public méthode

public Test5Executed ( ) : void
Résultat void

Test6CanExecute() public méthode

public Test6CanExecute ( ) : bool
Résultat bool

Test6Executed() public méthode

public Test6Executed ( ) : void
Résultat void

TestCalcCubesModel() public méthode

public TestCalcCubesModel ( ) : void
Résultat void

ViewSandboxCanExecute() public méthode

public ViewSandboxCanExecute ( ) : bool
Résultat bool

ViewSandboxExecuted() public méthode

public ViewSandboxExecuted ( ) : void
Résultat void

VoxelMergeCanExecute() public méthode

public VoxelMergeCanExecute ( ) : bool
Résultat bool

VoxelMergeExecuted() public méthode

public VoxelMergeExecuted ( ) : void
Résultat void

WorldReportCanExecute() public méthode

public WorldReportCanExecute ( ) : bool
Résultat bool

WorldReportExecuted() public méthode

public WorldReportExecuted ( ) : void
Résultat void