Package com._1c.g5.v8.dt.addin.ui.aef
Interface IAddInModel
-
- All Superinterfaces:
IModel,IValidable,IValue<AddIn>
- All Known Implementing Classes:
AddInModel
public interface IAddInModel extends IValue<AddIn>
Addin ui model
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleancanEdit()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, 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 Detail
-
restoreFromFile
void restoreFromFile(String filePath)
Restores the addin data from file- Parameters:
filePath- the file path, cannot benull
-
saveToFile
void saveToFile(String filePath)
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
-
-