Package com._1c.g5.v8.dt.addin.ui.aef
Interface IAddInModel
- All Superinterfaces:
IModel
,IValidable
,IValue<AddIn>
- All Known Implementing Classes:
AddInModel
Addin ui model
-
Method Summary
Modifier and TypeMethodDescriptionboolean
canEdit()
Checks that the model is editable.void
restoreFromFile
(String filePath) Restores the addin data from filevoid
saveToFile
(String filePath) Save the currentAddIn
to file.Methods inherited from interface com._1c.g5.aef2.models.IModel
addModelListener, commit, discard, dispose, getChange, getComponent, isOnline, removeModelListener, setComponent
Methods inherited from interface com._1c.g5.aef2.validators.IValidable
addValidator, removeValidator, validate, validate
Methods inherited from interface com._1c.g5.aef2.models.value.IValue
addValueListener, createWorkingCopy, get, isEqual, removeValueListener, set
-
Method Details
-
restoreFromFile
Restores the addin data from file- Parameters:
filePath
- the file path, cannot benull
-
saveToFile
Save the currentAddIn
to file.- Parameters:
filePath
- the file path, cannot benull
-
canEdit
boolean canEdit()Checks that the model is editable.- Returns:
true
if the model is editable orfalse
if the model is read-only
-