Class PredefinedDataModel
- java.lang.Object
-
- com._1c.g5.aef2.validators.Validable
-
- com._1c.g5.aef2.models.Model
-
- com._1c.g5.v8.dt.md.ui.editor.predefineddata.PredefinedDataModel
-
- All Implemented Interfaces:
IModel
,IValidable
,IModelApiAwareModel
,IDynamicTreeModel<org.eclipse.emf.ecore.EObject>
public class PredefinedDataModel extends Model implements IDynamicTreeModel<org.eclipse.emf.ecore.EObject>, IModelApiAwareModel
Predefined data page tree component model.
-
-
Constructor Summary
Constructors Constructor Description PredefinedDataModel(org.eclipse.emf.ecore.EObject object)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IChange
getChange()
ICheckStateProvider
getCheckStateProvider()
ILabelProvider
getCommonLabelProvider()
Returns navigator service common label provider.Object
getInput()
ILabelProvider
getLabelProvider()
IModelApi
getModelApi()
Returns the model API.ITreeContentProvider
getTreeContentProvider()
void
setModelApi(IModelApi modelApi)
Sets the specified API to the model.-
Methods inherited from class com._1c.g5.aef2.models.Model
addModelListener, beginExternalUpdate, checkOffline, checkOnline, commit, createWorkingCopy, discard, dispose, endExternalUpdate, getComponent, getCurrentChangeOrigin, getRunnableQueue, isOnline, notifyModelChanged, notifyModelCommitted, removeModelListener, setComponent, setOnline, toString
-
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.IModel
addModelListener, commit, createWorkingCopy, discard, dispose, getComponent, isOnline, removeModelListener, setComponent
-
Methods inherited from interface com._1c.g5.aef2.validators.IValidable
addValidator, removeValidator, validate, validate
-
-
-
-
Method Detail
-
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.
-
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
.
-
getChange
public IChange getChange()
-
getInput
public Object getInput()
- Specified by:
getInput
in interfaceIDynamicTreeModel<org.eclipse.emf.ecore.EObject>
- Returns:
- the input for content provider
-
getTreeContentProvider
public ITreeContentProvider getTreeContentProvider()
- Specified by:
getTreeContentProvider
in interfaceIDynamicTreeModel<org.eclipse.emf.ecore.EObject>
- Returns:
- the domain model content provider
-
getCheckStateProvider
public ICheckStateProvider getCheckStateProvider()
- Specified by:
getCheckStateProvider
in interfaceIDynamicTreeModel<org.eclipse.emf.ecore.EObject>
- Returns:
- the
ICheckStateProvider
-
getLabelProvider
public ILabelProvider getLabelProvider()
- Specified by:
getLabelProvider
in interfaceIDynamicTreeModel<org.eclipse.emf.ecore.EObject>
- Returns:
- the
ILabelProvider
-
getCommonLabelProvider
public ILabelProvider getCommonLabelProvider()
Returns navigator service common label provider.- Returns:
- the label provider, cannot be
null
-
-