Package com._1c.g5.v8.dt.ui.aef.models
Class BmTreeToSingleItemSelectionModel<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.v8.dt.aef2.bm.models.BmValue<T>
-
- com._1c.g5.v8.dt.ui.aef.models.BmValueSelectionModel<T>
-
- com._1c.g5.v8.dt.ui.aef.models.BmTreeToSingleItemSelectionModel<T>
-
- All Implemented Interfaces:
IAttribute<IBmObject,org.eclipse.emf.ecore.EStructuralFeature>
,IEditableModel
,IEmfAttribute<IBmObject>
,IModel
,IEmfValueAttribute<T,IBmObject>
,IValue<T>
,IValidable
,IModelApiAwareModel
,IEmfSelectionModel<IBmObject>
,IEmfTreeSelectionModel<IBmObject>
,IEmfTreeToSingleItemSelectionModel<T,IBmObject>
,IEmfValueSelectionModel<T,IBmObject>
,ISelectionModel
- Direct Known Subclasses:
BmFilteringTreeToSingleItemSelectionModel
public class BmTreeToSingleItemSelectionModel<T> extends BmValueSelectionModel<T> implements IEmfTreeToSingleItemSelectionModel<T,IBmObject>
TheIEmfTreeSelectionModel
implementation for single item selection.
-
-
Constructor Summary
Constructors Constructor Description BmTreeToSingleItemSelectionModel(org.eclipse.emf.ecore.EObject object, org.eclipse.emf.ecore.EStructuralFeature feature, IDerivedDataManagerProvider derivedDataManagerProvider, IStructuredContentProvider contentProvider, ILabelProvider labelProvider, IV8Project v8project, String... waitingPartIds)
Creates a new model.BmTreeToSingleItemSelectionModel(org.eclipse.emf.ecore.EObject object, org.eclipse.emf.ecore.EStructuralFeature feature, IDerivedDataManagerProvider derivedDataManagerProvider, IStructuredContentProvider contentProvider, ILabelProvider labelProvider, IElementComparer comparer, IV8Project v8project, 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.BmValueSelectionModel
dispose, getComparator, getComparer, getInput, getLabelProvider, getProject, getV8project, getWaitingPartIds, isMulti, isValidState, setComparator
-
Methods inherited from class com._1c.g5.v8.dt.aef2.bm.models.BmValue
adapt, createTask, getChange, getModelApi, getObject, getObjectValue, getProperty, processBmValueChange, setModelApi, setObjectValue
-
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
-
BmTreeToSingleItemSelectionModel
public BmTreeToSingleItemSelectionModel(org.eclipse.emf.ecore.EObject object, org.eclipse.emf.ecore.EStructuralFeature feature, IDerivedDataManagerProvider derivedDataManagerProvider, IStructuredContentProvider contentProvider, ILabelProvider labelProvider, IV8Project v8project, String... waitingPartIds)
Creates a new model.- Parameters:
object
- the object, cannot benull
feature
- the feature, cannot benull
derivedDataManagerProvider
- derived data manager provider, cannot benull
.contentProvider
- the content provider that produces elements in dialog, can benull
labelProvider
- the label provider, can benull
v8project
- the V8 project, cannot benull
waitingPartIds
- the waiting part ids.
-
BmTreeToSingleItemSelectionModel
public BmTreeToSingleItemSelectionModel(org.eclipse.emf.ecore.EObject object, org.eclipse.emf.ecore.EStructuralFeature feature, IDerivedDataManagerProvider derivedDataManagerProvider, IStructuredContentProvider contentProvider, ILabelProvider labelProvider, IElementComparer comparer, IV8Project v8project, String... waitingPartIds)
Creates a new model.- Parameters:
object
- the object, cannot benull
feature
- the feature, cannot benull
derivedDataManagerProvider
- derived data manager provider, cannot benull
.contentProvider
- the content provider that produces elements in dialog, can benull
labelProvider
- the label provider, can benull
comparer
- the element comparer, can benull
v8project
- the V8 project, cannot benull
waitingPartIds
- the waiting part ids.
-
-
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 classBmValueSelectionModel<T>
- Returns:
- the
IStructuredContentProvider
.
-
-