Class AbstractDtGranularEditorManagingModel
java.lang.Object
com._1c.g5.aef2.validators.Validable
com._1c.g5.aef2.models.Model
com._1c.g5.v8.dt.ui.editor.aef.model.AbstractDtGranularEditorManagingModel
- All Implemented Interfaces:
IModel
,IManagingModel
,IValidable
,IModelApiAwareModel
,IDtGranularEditorManagingModel
public abstract class AbstractDtGranularEditorManagingModel
extends Model
implements IDtGranularEditorManagingModel
The
IDtGranularEditorManagingModel
abstract implmentation.-
Constructor Summary
ConstructorsConstructorDescriptionAbstractDtGranularEditorManagingModel
(IDtGranularEditorManagingDefinition definition, IV8ProjectManager v8projectManager, org.eclipse.ui.contexts.IContextService contextService) Creates a new model. -
Method Summary
Modifier and TypeMethodDescriptionCreates and returns a newly created rule input.void
dispose()
Disposes this model.final IChange
org.eclipse.ui.contexts.IContextService
Returns theIContextService
instance.Returns theIManagingDefinition
instance.Returns the model API.void
setModelApi
(IModelApi modelApi) Sets the specified API to the model.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.standard.definitions.models.IManagingModel
getObjects
Methods inherited from interface com._1c.g5.aef2.models.IModel
addModelListener, commit, createWorkingCopy, discard, getComponent, isOnline, removeModelListener, setComponent
Methods inherited from interface com._1c.g5.aef2.validators.IValidable
addValidator, removeValidator, validate, validate
-
Constructor Details
-
AbstractDtGranularEditorManagingModel
public AbstractDtGranularEditorManagingModel(IDtGranularEditorManagingDefinition definition, IV8ProjectManager v8projectManager, org.eclipse.ui.contexts.IContextService contextService) Creates a new model.- Parameters:
definition
- theIDtGranularEditorManagingDefinition
instance, cannot benull
.v8projectManager
- theIV8ProjectManager
instance, cannot benull
.contextService
- theIContextService
instance.
-
-
Method Details
-
getChange
-
getDefinition
Description copied from interface:IManagingModel
Returns theIManagingDefinition
instance.- Specified by:
getDefinition
in interfaceIDtGranularEditorManagingModel
- Specified by:
getDefinition
in interfaceIManagingModel
- Returns:
- the
IManagingDefinition
instance, nevernull
.
-
createRuleInput
Description copied from interface:IManagingModel
Creates and returns a newly created rule input.- Specified by:
createRuleInput
in interfaceIManagingModel
- Returns:
IRuleInput
instance, nevernull
.
-
getContextService
public org.eclipse.ui.contexts.IContextService getContextService()Description copied from interface:IDtGranularEditorManagingModel
Returns theIContextService
instance.- Specified by:
getContextService
in interfaceIDtGranularEditorManagingModel
- Returns:
- the
IContextService
instance, nevernull
.
-
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.
-
setModelApi
Description copied from interface:IModelApiAwareModel
Sets the specified API to the model.- Specified by:
setModelApi
in interfaceIModelApiAwareModel
- Parameters:
modelApi
- the API, can benull
.
-
dispose
public void dispose()Description copied from interface:IModel
Disposes this model. -
toString
-