Class FormBmChoiceListModel
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.v8.dt.aef2.bm.models.BmList<T>
com._1c.g5.v8.dt.form.internal.ui.properties.models.FormBmList<FormChoiceListDesTimeValue>
com._1c.g5.v8.dt.form.internal.ui.properties.models.FormBmChoiceListModel
- All Implemented Interfaces:
IAttribute<IBmObject,
,org.eclipse.emf.ecore.EStructuralFeature> IEditableModel
,IEmfAttribute<IBmObject>
,IModel
,IEmfListAttribute<FormChoiceListDesTimeValue,
,IBmObject> IList<FormChoiceListDesTimeValue>
,IValidable
,IModelApiAwareModel
,IFormChoiceListModel
,IFormList<FormChoiceListDesTimeValue>
,Iterable<FormChoiceListDesTimeValue>
,Collection<FormChoiceListDesTimeValue>
,List<FormChoiceListDesTimeValue>
public class FormBmChoiceListModel
extends FormBmList<FormChoiceListDesTimeValue>
implements IFormChoiceListModel
The
IFormChoiceListModel
implementation.-
Constructor Summary
ConstructorsConstructorDescriptionFormBmChoiceListModel
(Form form, org.eclipse.emf.ecore.EObject object, org.eclipse.emf.ecore.EStructuralFeature feature, IV8Project v8project, IDataSourceInfoAssociationService associationService, IEditingLanguageManager editingLanguageManager) Creates a new list model. -
Method Summary
Modifier and TypeMethodDescriptionReturns the editing language manager.Returns the project.Methods inherited from class com._1c.g5.v8.dt.form.internal.ui.properties.models.FormBmList
getForm
Methods inherited from class com._1c.g5.v8.dt.aef2.bm.models.BmList
adapt, createTask, dispose, getChange, getModelApi, getObject, getProperty, setModelApi, setObjectValue
Methods inherited from class com._1c.g5.aef2.models.list.ListModel
add, add, addAll, addAll, addListListener, clear, contains, containsAll, 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.IAttribute
getObject, getProperty
Methods inherited from interface com._1c.g5.v8.dt.form.internal.ui.properties.models.IFormList
getForm
Methods inherited from interface com._1c.g5.aef2.models.list.IList
addListListener, fill, isEqual, removeListListener
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.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
-
FormBmChoiceListModel
public FormBmChoiceListModel(Form form, org.eclipse.emf.ecore.EObject object, org.eclipse.emf.ecore.EStructuralFeature feature, IV8Project v8project, IDataSourceInfoAssociationService associationService, IEditingLanguageManager editingLanguageManager) Creates a new list model.- Parameters:
form
- the form model, cannot benull
.object
- the form model object, cannot benull
.feature
- the feature of form model object, cannot benull
.v8project
- the V8 project, cannot benull
.associationService
- theIDataSourceInfoAssociationService
, cannot benull
.editingLanguageManager
- theIEditingLanguageManager
, cannot benull
.
-
-
Method Details
-
getTypeDescription
- Specified by:
getTypeDescription
in interfaceIFormChoiceListModel
- Returns:
- the
TypeDescription
for form element.
-
getLangObserver
- Specified by:
getLangObserver
in interfaceIFormChoiceListModel
- Returns:
- the
LangObserver
instance.
-
getV8Project
Description copied from interface:IFormChoiceListModel
Returns the project.- Specified by:
getV8Project
in interfaceIFormChoiceListModel
- Returns:
- the project, never
null
.
-
getEditingLanguageManager
Description copied from interface:IFormChoiceListModel
Returns the editing language manager.- Specified by:
getEditingLanguageManager
in interfaceIFormChoiceListModel
- Returns:
- the editing language manager, never
null
.
-
createWorkingCopy
- Specified by:
createWorkingCopy
in interfaceIFormChoiceListModel
- Specified by:
createWorkingCopy
in interfaceIList<FormChoiceListDesTimeValue>
- Specified by:
createWorkingCopy
in interfaceIModel
- Overrides:
createWorkingCopy
in classListModel<FormChoiceListDesTimeValue>
- Returns:
- the model working copy or
null
if working copies is not supported by the model.
-