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 boolean
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 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 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
-
-