Package com._1c.g5.aef2.emf.models
Class EmfList<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.list.ListModel<T>
com._1c.g5.aef2.emf.models.EmfList<T>
- All Implemented Interfaces:
IAttribute<org.eclipse.emf.ecore.EObject,
,org.eclipse.emf.ecore.EStructuralFeature> IEditableModel
,IEmfAttribute<org.eclipse.emf.ecore.EObject>
,IModel
,IEmfListAttribute<T,
,org.eclipse.emf.ecore.EObject> IList<T>
,IValidable
,Iterable<T>
,Collection<T>
,List<T>
- Direct Known Subclasses:
AbstractDynamicTableModel
,AbstractEmfChoiceParametersModel
,EmfChoiceParameterLinksModel
,EmfCustomColorPaletteModel
,EmfListSelectionModel
,EmfTimeScaleLabelSelectionModel
,NavigatorTreeDialogActionBarEmfList
public class EmfList<T>
extends ListModel<T>
implements IEmfListAttribute<T,org.eclipse.emf.ecore.EObject>
Represents a EMF list.
-
Constructor Summary
ConstructorsConstructorDescriptionEmfList
(org.eclipse.emf.ecore.EObject object, org.eclipse.emf.ecore.EStructuralFeature feature) -
Method Summary
Modifier and TypeMethodDescriptionvoid
dispose()
Disposes this model.org.eclipse.emf.ecore.EObject
Returns the object that keeps the attribute.org.eclipse.emf.ecore.EStructuralFeature
Returns the property.Methods inherited from class com._1c.g5.aef2.models.list.ListModel
add, add, addAll, addAll, addListListener, clear, contains, containsAll, createWorkingCopy, discard, fill, get, getCommittedList, getUncommittedList, indexOf, isElementEqual, isEmpty, isEqual, iterator, lastIndexOf, listIterator, listIterator, notifyListChanged, queueNotifyListChanged, remove, remove, removeAll, removeListListener, retainAll, set, setCommittedList, setList, setUncommitedList, size, subList, toArray, toArray, 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, 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 java.util.Collection
parallelStream, removeIf, stream, toArray
Methods inherited from interface com._1c.g5.aef2.models.list.IList
addListListener, createWorkingCopy, fill, isEqual, removeListListener
Methods inherited from interface com._1c.g5.aef2.models.IModel
addModelListener, commit, discard, getComponent, isOnline, removeModelListener, setComponent
Methods inherited from interface com._1c.g5.aef2.validators.IValidable
addValidator, removeValidator, validate, validate
Methods inherited from interface java.util.List
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray
-
Constructor Details
-
EmfList
public EmfList(org.eclipse.emf.ecore.EObject object, org.eclipse.emf.ecore.EStructuralFeature feature)
-
-
Method Details
-
getChange
-
dispose
public void dispose()Description copied from interface:IModel
Disposes this model. -
getObject
public org.eclipse.emf.ecore.EObject getObject()Description copied from interface:IAttribute
Returns the object that keeps the attribute.- Specified by:
getObject
in interfaceIAttribute<org.eclipse.emf.ecore.EObject,
org.eclipse.emf.ecore.EStructuralFeature> - Returns:
- the object that keeps the attribute.
-
getProperty
public org.eclipse.emf.ecore.EStructuralFeature getProperty()Description copied from interface:IAttribute
Returns the property.- Specified by:
getProperty
in interfaceIAttribute<org.eclipse.emf.ecore.EObject,
org.eclipse.emf.ecore.EStructuralFeature> - Returns:
- the property.
-