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 TypeMethodDescriptionbooleancanEdit()Checks that the model is editable.voidrestoreFromFile(String filePath) Restores the addin data from filevoidsaveToFile(String filePath) Save the currentAddInto file.Methods inherited from interface com._1c.g5.aef2.models.IModel
addModelListener, commit, discard, dispose, getChange, getComponent, isOnline, removeModelListener, setComponentMethods inherited from interface com._1c.g5.aef2.validators.IValidable
addValidator, removeValidator, validate, validateMethods 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 currentAddInto file.- Parameters:
filePath- the file path, cannot benull
-
canEdit
boolean canEdit()Checks that the model is editable.- Returns:
trueif the model is editable orfalseif the model is read-only
-