Package com._1c.g5.v8.dt.ui.editor.aef
Class DtGranularEditorPageDefinitionModel
- java.lang.Object
-
- com._1c.g5.aef2.validators.Validable
-
- com._1c.g5.aef2.models.Model
-
- com._1c.g5.aef2.standard.definitions.models.AbstractDefinitionModel
-
- com._1c.g5.v8.dt.ui.editor.aef.DtGranularEditorPageDefinitionModel
-
- All Implemented Interfaces:
ICompoundModel
,IModel
,IDefinitionModel
,IValidable
,IModelApiAwareModel
public class DtGranularEditorPageDefinitionModel extends AbstractDefinitionModel implements IDefinitionModel, IModelApiAwareModel
The model for AEF 2.0 granular editor page.
-
-
Constructor Summary
Constructors Constructor Description DtGranularEditorPageDefinitionModel(Supplier<org.eclipse.emf.ecore.EObject> editorModelSupplier, IContainerDefinition definition)
Creates a new model.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IContainerDefinition
getDefinition()
Returns the container definition.IModelApi
getModelApi()
Returns the model API.Collection<Object>
getObjects()
Returns the collection of editing objects.void
setModelApi(IModelApi modelApi)
Sets the specified API to the model.-
Methods inherited from class com._1c.g5.aef2.standard.definitions.models.AbstractDefinitionModel
addModel, addRuleResultListener, dispose, getChange, getModels, getRuleResult, getRuleResultProcessor, handleRuleResultChanged, removeModel, removeRuleResultListener, setRuleResult, setRuleResultProcessor, toString
-
Methods inherited from class com._1c.g5.aef2.models.Model
addModelListener, beginExternalUpdate, checkOffline, checkOnline, commit, createWorkingCopy, discard, endExternalUpdate, getComponent, getCurrentChangeOrigin, getRunnableQueue, isOnline, notifyModelChanged, notifyModelCommitted, removeModelListener, setComponent, setOnline
-
Methods inherited from class com._1c.g5.aef2.validators.Validable
addValidator, getValidatorTarget, removeValidator, validate, validate
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com._1c.g5.aef2.models.ICompoundModel
getModels
-
Methods inherited from interface com._1c.g5.aef2.standard.definitions.models.IDefinitionModel
addModel, addRuleResultListener, getRuleResult, getRuleResultProcessor, removeModel, removeRuleResultListener, setRuleResult, setRuleResultProcessor
-
Methods inherited from interface com._1c.g5.aef2.models.IModel
addModelListener, commit, createWorkingCopy, discard, dispose, getChange, getComponent, isOnline, removeModelListener, setComponent
-
Methods inherited from interface com._1c.g5.aef2.validators.IValidable
addValidator, removeValidator, validate, validate
-
-
-
-
Constructor Detail
-
DtGranularEditorPageDefinitionModel
public DtGranularEditorPageDefinitionModel(Supplier<org.eclipse.emf.ecore.EObject> editorModelSupplier, IContainerDefinition definition)
Creates a new model.- Parameters:
editorModel
- the editor model object supplier.definition
- the definition.
-
-
Method Detail
-
getDefinition
public IContainerDefinition getDefinition()
Description copied from interface:IDefinitionModel
Returns the container definition.- Specified by:
getDefinition
in interfaceIDefinitionModel
- Returns:
- the container definition, can be
null
.
-
getObjects
public Collection<Object> getObjects()
Description copied from interface:IDefinitionModel
Returns the collection of editing objects.- Specified by:
getObjects
in interfaceIDefinitionModel
- Returns:
- the collection, never
null
.
-
setModelApi
public void setModelApi(IModelApi modelApi)
Description copied from interface:IModelApiAwareModel
Sets the specified API to the model.- Specified by:
setModelApi
in interfaceIModelApiAwareModel
- Parameters:
modelApi
- the API, can benull
.
-
getModelApi
public IModelApi getModelApi()
Description copied from interface:IModelApiAwareModel
Returns the model API.- Specified by:
getModelApi
in interfaceIModelApiAwareModel
- Returns:
- the model API or
null
if it is not set.
-
-