Toast Engine
Loading...
Searching...
No Matches
editor.Editors.GenericViewModel Class Reference
Inheritance diagram for editor.Editors.GenericViewModel:
Collaboration diagram for editor.Editors.GenericViewModel:

Public Member Functions

Task WriteAutosaveAsync (string virtualPath)
void OpenFile (string uid, string virtualPath, BaseAsset definition, string? contentSourceRealPath=null)
async Task< bool > ConfirmCloseCurrentAsync ()
void RefreshFromSchema (string schemaRealPath)

Properties

ObservableCollection< GenericFieldVM > Fields = [] [get]
bool HasContent [get]
bool CanAddFields [get]
static IReadOnlyList< string > AllFieldTypes [get]
bool IsAutosaveDirty [get]
string? AutosaveFileName [get]

Member Function Documentation

◆ WriteAutosaveAsync()

Task editor.Editors.GenericViewModel.WriteAutosaveAsync ( string virtualPath)
inline

Property Documentation

◆ AutosaveFileName

string? editor.Editors.GenericViewModel.AutosaveFileName
get

◆ IsAutosaveDirty

bool editor.Editors.GenericViewModel.IsAutosaveDirty
get

The documentation for this class was generated from the following file:
  • editor/Editors/GenericViewModel.cs