Class BmConfigurationUsePurposesModel
- 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.ui.aef.models.BmListSelectionModel<ApplicationUsePurpose>
-
- com._1c.g5.v8.dt.md.ui.aef.models.BmConfigurationUsePurposesModel
-
- All Implemented Interfaces:
IAttribute<IBmObject,org.eclipse.emf.ecore.EStructuralFeature>
,IEditableModel
,IEmfAttribute<IBmObject>
,IModel
,IEmfListAttribute<ApplicationUsePurpose,IBmObject>
,IList<ApplicationUsePurpose>
,IValidable
,IModelApiAwareModel
,IEmfListSelectionModel<ApplicationUsePurpose,IBmObject>
,IEmfSelectionModel<IBmObject>
,ISelectionModel
,Iterable<ApplicationUsePurpose>
,Collection<ApplicationUsePurpose>
,List<ApplicationUsePurpose>
public class BmConfigurationUsePurposesModel extends BmListSelectionModel<ApplicationUsePurpose>
The specific model for Configuration.usePurposes feature.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
BmConfigurationUsePurposesModel.IRebuildRequestedListener
The model listener that is invoked when the project rebuild is required.
-
Constructor Summary
Constructors Constructor Description BmConfigurationUsePurposesModel(Configuration object, IDerivedDataManagerProvider derivedDataManagerProvider, IBslPreferences bslPreferences, IV8Project v8project)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addListener(BmConfigurationUsePurposesModel.IRebuildRequestedListener listener)
Adds the specifiedlistener
.void
dispose()
Disposes this model.IChange
getChange()
void
removeListener(BmConfigurationUsePurposesModel.IRebuildRequestedListener listener)
Removes the specifiedlistener
.-
Methods inherited from class com._1c.g5.v8.dt.ui.aef.models.BmListSelectionModel
getComparator, getComparer, getContentProvider, getInput, getLabelProvider, getProject, getV8project, getWaitingPartIds, isMulti, isValidState, setElementComparer
-
Methods inherited from class com._1c.g5.v8.dt.aef2.bm.models.BmList
adapt, createTask, getModelApi, getObject, getProperty, setModelApi, setObjectValue
-
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.IAttribute
getObject, getProperty
-
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 Detail
-
BmConfigurationUsePurposesModel
public BmConfigurationUsePurposesModel(Configuration object, IDerivedDataManagerProvider derivedDataManagerProvider, IBslPreferences bslPreferences, IV8Project v8project)
Constructor.- Parameters:
object
- the configuration object, cannot benull
.derivedDataManagerProvider
- derived data manager provider, cannot benull
.bslPreferences
- the bsl preferences, cannot benull
.v8project
- the V8 project, cannot benull
.
-
-
Method Detail
-
addListener
public void addListener(BmConfigurationUsePurposesModel.IRebuildRequestedListener listener)
Adds the specifiedlistener
.- Parameters:
listener
- the listener, cannot benull
.
-
removeListener
public void removeListener(BmConfigurationUsePurposesModel.IRebuildRequestedListener listener)
Removes the specifiedlistener
.- Parameters:
listener
- the listener, cannot benull
.
-
getChange
public IChange getChange()
- Specified by:
getChange
in interfaceIModel
- Overrides:
getChange
in classBmList<ApplicationUsePurpose>
- Returns:
- change describing the modifications done to the model.
-
dispose
public void dispose()
Description copied from interface:IModel
Disposes this model.- Specified by:
dispose
in interfaceIModel
- Overrides:
dispose
in classBmListSelectionModel<ApplicationUsePurpose>
-
-