Package com._1c.g5.v8.dt.ui.aef.models
Class EmfTreeToSingleItemSelectionModel<T>
- java.lang.Object
-
- com._1c.g5.aef2.validators.Validable
-
- com._1c.g5.aef2.models.Model
-
- com._1c.g5.aef2.models.EditableModel
-
- com._1c.g5.aef2.models.value.Value<T>
-
- com._1c.g5.aef2.emf.models.EmfValue<T>
-
- com._1c.g5.v8.dt.ui.aef.models.EmfValueSelectionModel<T>
-
- com._1c.g5.v8.dt.ui.aef.models.EmfTreeToSingleItemSelectionModel<T>
-
- All Implemented Interfaces:
IAttribute<org.eclipse.emf.ecore.EObject,org.eclipse.emf.ecore.EStructuralFeature>
,IEditableModel
,IEmfAttribute<org.eclipse.emf.ecore.EObject>
,IModel
,IEmfValueAttribute<T,org.eclipse.emf.ecore.EObject>
,IValue<T>
,IValidable
,IEmfSelectionModel<org.eclipse.emf.ecore.EObject>
,IEmfTreeSelectionModel<org.eclipse.emf.ecore.EObject>
,IEmfTreeToSingleItemSelectionModel<T,org.eclipse.emf.ecore.EObject>
,IEmfValueSelectionModel<T,org.eclipse.emf.ecore.EObject>
,ISelectionModel
public class EmfTreeToSingleItemSelectionModel<T> extends EmfValueSelectionModel<T> implements IEmfTreeToSingleItemSelectionModel<T,org.eclipse.emf.ecore.EObject>
TheIEmfTreeToSingleItemSelectionModel
implementation for single item selection.
-
-
Constructor Summary
Constructors Constructor Description EmfTreeToSingleItemSelectionModel(org.eclipse.emf.ecore.EObject object, org.eclipse.emf.ecore.EStructuralFeature feature, IV8Project v8project, ILabelProvider labelProvider, IStructuredContentProvider contentProvider, String... waitingPartIds)
Creates a new model.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ITreeContentProvider
getContentProvider()
Returns theIStructuredContentProvider
.-
Methods inherited from class com._1c.g5.v8.dt.ui.aef.models.EmfValueSelectionModel
dispose, getComparator, getComparer, getInput, getLabelProvider, getProject, getV8project, getWaitingPartIds, isMulti, isValidState
-
Methods inherited from class com._1c.g5.aef2.emf.models.EmfValue
getChange, getObject, getProperty
-
Methods inherited from class com._1c.g5.aef2.models.value.Value
addValueListener, createWorkingCopy, discard, get, getCommittedValue, getUncommittedValue, getValidatorTarget, isEqual, notifyValueChanged, queueNotifyValueChanged, removeValueListener, set, setCommittedValue, setUncommittedValue, setValue, toString
-
Methods inherited from class com._1c.g5.aef2.models.EditableModel
isEditable, setEditable
-
Methods inherited from class com._1c.g5.aef2.models.Model
addModelListener, beginExternalUpdate, checkOffline, checkOnline, commit, endExternalUpdate, getComponent, getCurrentChangeOrigin, getRunnableQueue, isOnline, notifyModelChanged, notifyModelCommitted, removeModelListener, setComponent, setOnline
-
Methods inherited from class com._1c.g5.aef2.validators.Validable
addValidator, 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.IAttribute
getObject, getProperty
-
Methods inherited from interface com._1c.g5.v8.dt.ui.aef.models.IEmfSelectionModel
getWaitingPartIds, isValidState
-
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.v8.dt.ui.aef.models.ISelectionModel
getComparator, getComparer, getInput, getLabelProvider, getProject, getV8project, isMulti
-
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
-
-
-
-
Constructor Detail
-
EmfTreeToSingleItemSelectionModel
public EmfTreeToSingleItemSelectionModel(org.eclipse.emf.ecore.EObject object, org.eclipse.emf.ecore.EStructuralFeature feature, IV8Project v8project, ILabelProvider labelProvider, IStructuredContentProvider contentProvider, String... waitingPartIds)
Creates a new model.- Parameters:
object
- the object, cannot benull
feature
- the feature, cannot benull
v8project
- the V8 project, cannot benull
labelProvider
- the label provider, can benull
contentProvider
- the content provider that produces elements in dialog, can benull
waitingPartIds
- the waiting part ids, can benull
-
-
Method Detail
-
getContentProvider
public ITreeContentProvider getContentProvider()
Description copied from interface:ISelectionModel
Returns theIStructuredContentProvider
.- Specified by:
getContentProvider
in interfaceIEmfTreeSelectionModel<T>
- Specified by:
getContentProvider
in interfaceISelectionModel
- Overrides:
getContentProvider
in classEmfValueSelectionModel<T>
- Returns:
- the
IStructuredContentProvider
.
-
-