Class StructuredViewModelImpl
java.lang.Object
org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.MinimalEObjectImpl
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
com._1c.g5.aef2.standard.viewModels.impl.ControlViewModelImpl
com._1c.g5.aef2.standard.viewModels.impl.StructuredViewModelImpl
- All Implemented Interfaces:
ControlViewModel
,StructuredViewModel
,IControlViewModel
,IViewModel
,org.eclipse.emf.common.notify.Notifier
,org.eclipse.emf.ecore.EObject
,org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder
,org.eclipse.emf.ecore.InternalEObject
- Direct Known Subclasses:
TableViewModelImpl
,TreeViewModelImpl
public abstract class StructuredViewModelImpl
extends ControlViewModelImpl
implements StructuredViewModel
An implementation of the model object 'Structured View Model'.
The following features are implemented:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container.Dynamic
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolder, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderBaseImpl, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderImpl
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EScannableAdapterList
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
org.eclipse.emf.ecore.InternalEObject.EStore
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected boolean
The cached value of the 'Bold
' attribute.protected static final boolean
The default value of the 'Bold
' attribute.protected Comparator<Object>
The cached value of the 'Comparator
' attribute.protected static final boolean
The default value of the 'Empty Choice Allowed
' attribute.protected boolean
The cached value of the 'Empty Choice Allowed
' attribute.protected String
The cached value of the 'Header
' attribute.protected static final String
The default value of the 'Header
' attribute.protected static final String
The default value of the 'Image Key Prefix
' attribute.protected String
The cached value of the 'Image Key Prefix
' attribute.protected boolean
The cached value of the 'Multi
' attribute.protected static final boolean
The default value of the 'Multi
' attribute.protected static final boolean
The default value of the 'Search Box Visible
' attribute.protected static final String
The default value of the 'Search History Id
' attribute.protected boolean
The cached value of the 'Search Box Visible
' attribute.protected String
The cached value of the 'Search History Id
' attribute.protected static final boolean
The default value of the 'Show Checkboxes
' attribute.protected static final boolean
The default value of the 'Show Context Menu
' attribute.protected static final boolean
The default value of the 'Show Images
' attribute.protected static final boolean
The default value of the 'Show Lines
' attribute.protected boolean
The cached value of the 'Show Checkboxes
' attribute.protected boolean
The cached value of the 'Show Context Menu
' attribute.protected boolean
The cached value of the 'Show Images
' attribute.protected boolean
The cached value of the 'Show Lines
' attribute.Fields inherited from class com._1c.g5.aef2.standard.viewModels.impl.ControlViewModelImpl
APPLY_VALUE_CHANGE_EDEFAULT, applyValueChange, contexts, editable, EDITABLE_EDEFAULT, enabled, ENABLED_EDEFAULT, EVENT_CHANNEL_EDEFAULT, eventChannel, externalValidationStatus, layoutData, status, STATUS_EDEFAULT
Fields inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
eContainer
Fields inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET
Fields inherited from interface org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder
NIL
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioneGet
(int featureID, boolean resolve, boolean coreType) boolean
eIsSet
(int featureID) void
protected org.eclipse.emf.ecore.EClass
void
eUnset
(int featureID) boolean
isBold()
boolean
boolean
isMulti()
boolean
boolean
boolean
boolean
boolean
void
setBold
(boolean newBold) void
setComparator
(Comparator<Object> newComparator) void
setEmptyChoiceAllowed
(boolean newEmptyChoiceAllowed) void
void
setImageKeyPrefix
(String newImageKeyPrefix) void
setMulti
(boolean newMulti) void
setSearchBoxVisible
(boolean newSearchBoxVisible) void
setSearchHistoryId
(String newSearchHistoryId) void
setShowCheckboxes
(boolean newShowCheckboxes) void
setShowContextMenu
(boolean newShowContextMenu) void
setShowImages
(boolean newShowImages) void
setShowLines
(boolean newShowLines) toString()
Methods inherited from class com._1c.g5.aef2.standard.viewModels.impl.ControlViewModelImpl
basicGetLayoutData, basicGetParent, basicSetExternalValidationStatus, basicSetParent, eBasicRemoveFromContainerFeature, eInverseAdd, eInverseRemove, getApplyValueChange, getContexts, getEventChannel, getExternalValidationStatus, getLayoutData, getParent, getStatus, isEditable, isEnabled, setApplyValueChange, setEditable, setEnabled, setEventChannel, setExternalValidationStatus, setLayoutData, setParent, setStatus
Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
eBasicSetContainer, eInternalContainer
Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
dynamicGet, dynamicSet, dynamicUnset, eAdapters, eBasicAdapterArray, eBasicAdapterListeners, eBasicAdapters, eBasicHasAdapters, eBasicProperties, eBasicSetAdapterArray, eBasicSetAdapterListeners, eBasicSetContainer, eBasicSetContainerFeatureID, eBasicSetSettings, eBasicSettings, eClass, eContainerFeatureID, eContents, eCrossReferences, eDeliver, eDirectResource, eDynamicClass, eHasSettings, eIsProxy, eProperties, eProxyURI, eSetClass, eSetDeliver, eSetDirectResource, eSetProxyURI, eSettings
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDynamicBasicRemoveFromContainer, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseRemove, eInvocationDelegate, eInvoke, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eSettingDelegate, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStaticOperationCount, eStore, eUnset, eURIFragmentSegment, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eNotificationRequired, eNotify
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.standard.viewModels.ControlViewModel
getApplyValueChange, getContexts, getExternalValidationStatus, getLayoutData, getStatus, isEditable, isEnabled, setApplyValueChange, setEditable, setEnabled, setExternalValidationStatus, setLayoutData, setStatus
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequired
Methods inherited from interface com._1c.g5.aef2.viewModels.IViewModel
getEventChannel, getParent, setEventChannel, setParent
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Field Details
-
SEARCH_BOX_VISIBLE_EDEFAULT
protected static final boolean SEARCH_BOX_VISIBLE_EDEFAULTThe default value of the 'Search Box Visible
' attribute.- See Also:
-
searchBoxVisible
protected boolean searchBoxVisibleThe cached value of the 'Search Box Visible
' attribute.- See Also:
-
SEARCH_HISTORY_ID_EDEFAULT
The default value of the 'Search History Id
' attribute.- See Also:
-
searchHistoryId
The cached value of the 'Search History Id
' attribute.- See Also:
-
IMAGE_KEY_PREFIX_EDEFAULT
The default value of the 'Image Key Prefix
' attribute.- See Also:
-
imageKeyPrefix
The cached value of the 'Image Key Prefix
' attribute.- See Also:
-
SHOW_IMAGES_EDEFAULT
protected static final boolean SHOW_IMAGES_EDEFAULTThe default value of the 'Show Images
' attribute.- See Also:
-
showImages
protected boolean showImagesThe cached value of the 'Show Images
' attribute.- See Also:
-
SHOW_CHECKBOXES_EDEFAULT
protected static final boolean SHOW_CHECKBOXES_EDEFAULTThe default value of the 'Show Checkboxes
' attribute.- See Also:
-
showCheckboxes
protected boolean showCheckboxesThe cached value of the 'Show Checkboxes
' attribute.- See Also:
-
MULTI_EDEFAULT
protected static final boolean MULTI_EDEFAULTThe default value of the 'Multi
' attribute.- See Also:
-
multi
protected boolean multiThe cached value of the 'Multi
' attribute.- See Also:
-
EMPTY_CHOICE_ALLOWED_EDEFAULT
protected static final boolean EMPTY_CHOICE_ALLOWED_EDEFAULTThe default value of the 'Empty Choice Allowed
' attribute.- See Also:
-
emptyChoiceAllowed
protected boolean emptyChoiceAllowedThe cached value of the 'Empty Choice Allowed
' attribute.- See Also:
-
HEADER_EDEFAULT
The default value of the 'Header
' attribute.- See Also:
-
header
The cached value of the 'Header
' attribute.- See Also:
-
SHOW_LINES_EDEFAULT
protected static final boolean SHOW_LINES_EDEFAULTThe default value of the 'Show Lines
' attribute.- See Also:
-
showLines
protected boolean showLinesThe cached value of the 'Show Lines
' attribute.- See Also:
-
BOLD_EDEFAULT
protected static final boolean BOLD_EDEFAULTThe default value of the 'Bold
' attribute.- See Also:
-
bold
protected boolean boldThe cached value of the 'Bold
' attribute.- See Also:
-
SHOW_CONTEXT_MENU_EDEFAULT
protected static final boolean SHOW_CONTEXT_MENU_EDEFAULTThe default value of the 'Show Context Menu
' attribute.- See Also:
-
showContextMenu
protected boolean showContextMenuThe cached value of the 'Show Context Menu
' attribute.- See Also:
-
comparator
The cached value of the 'Comparator
' attribute.- See Also:
-
-
Constructor Details
-
StructuredViewModelImpl
protected StructuredViewModelImpl()
-
-
Method Details
-
eStaticClass
protected org.eclipse.emf.ecore.EClass eStaticClass()- Overrides:
eStaticClass
in classControlViewModelImpl
-
isSearchBoxVisible
public boolean isSearchBoxVisible()- Specified by:
isSearchBoxVisible
in interfaceStructuredViewModel
- Returns:
- the value of the 'Search Box Visible' attribute.
- See Also:
-
setSearchBoxVisible
public void setSearchBoxVisible(boolean newSearchBoxVisible) - Specified by:
setSearchBoxVisible
in interfaceStructuredViewModel
- Parameters:
newSearchBoxVisible
- the new value of the 'Search Box Visible' attribute.- See Also:
-
getSearchHistoryId
- Specified by:
getSearchHistoryId
in interfaceStructuredViewModel
- Returns:
- the value of the 'Search History Id' attribute.
- See Also:
-
setSearchHistoryId
- Specified by:
setSearchHistoryId
in interfaceStructuredViewModel
- Parameters:
newSearchHistoryId
- the new value of the 'Search History Id' attribute.- See Also:
-
getImageKeyPrefix
- Specified by:
getImageKeyPrefix
in interfaceStructuredViewModel
- Returns:
- the value of the 'Image Key Prefix' attribute.
- See Also:
-
setImageKeyPrefix
- Specified by:
setImageKeyPrefix
in interfaceStructuredViewModel
- Parameters:
newImageKeyPrefix
- the new value of the 'Image Key Prefix' attribute.- See Also:
-
isShowImages
public boolean isShowImages()- Specified by:
isShowImages
in interfaceStructuredViewModel
- Returns:
- the value of the 'Show Images' attribute.
- See Also:
-
setShowImages
public void setShowImages(boolean newShowImages) - Specified by:
setShowImages
in interfaceStructuredViewModel
- Parameters:
newShowImages
- the new value of the 'Show Images' attribute.- See Also:
-
isShowCheckboxes
public boolean isShowCheckboxes()- Specified by:
isShowCheckboxes
in interfaceStructuredViewModel
- Returns:
- the value of the 'Show Checkboxes' attribute.
- See Also:
-
setShowCheckboxes
public void setShowCheckboxes(boolean newShowCheckboxes) - Specified by:
setShowCheckboxes
in interfaceStructuredViewModel
- Parameters:
newShowCheckboxes
- the new value of the 'Show Checkboxes' attribute.- See Also:
-
isMulti
public boolean isMulti()- Specified by:
isMulti
in interfaceStructuredViewModel
- Returns:
- the value of the 'Multi' attribute.
- See Also:
-
setMulti
public void setMulti(boolean newMulti) - Specified by:
setMulti
in interfaceStructuredViewModel
- Parameters:
newMulti
- the new value of the 'Multi' attribute.- See Also:
-
isEmptyChoiceAllowed
public boolean isEmptyChoiceAllowed()- Specified by:
isEmptyChoiceAllowed
in interfaceStructuredViewModel
- Returns:
- the value of the 'Empty Choice Allowed' attribute.
- See Also:
-
setEmptyChoiceAllowed
public void setEmptyChoiceAllowed(boolean newEmptyChoiceAllowed) - Specified by:
setEmptyChoiceAllowed
in interfaceStructuredViewModel
- Parameters:
newEmptyChoiceAllowed
- the new value of the 'Empty Choice Allowed' attribute.- See Also:
-
getHeader
- Specified by:
getHeader
in interfaceStructuredViewModel
- Returns:
- the value of the 'Header' attribute.
- See Also:
-
setHeader
- Specified by:
setHeader
in interfaceStructuredViewModel
- Parameters:
newHeader
- the new value of the 'Header' attribute.- See Also:
-
isShowLines
public boolean isShowLines()- Specified by:
isShowLines
in interfaceStructuredViewModel
- Returns:
- the value of the 'Show Lines' attribute.
- See Also:
-
setShowLines
public void setShowLines(boolean newShowLines) - Specified by:
setShowLines
in interfaceStructuredViewModel
- Parameters:
newShowLines
- the new value of the 'Show Lines' attribute.- See Also:
-
isBold
public boolean isBold()- Specified by:
isBold
in interfaceStructuredViewModel
- Returns:
- the value of the 'Bold' attribute.
- See Also:
-
setBold
public void setBold(boolean newBold) - Specified by:
setBold
in interfaceStructuredViewModel
- Parameters:
newBold
- the new value of the 'Bold' attribute.- See Also:
-
isShowContextMenu
public boolean isShowContextMenu()- Specified by:
isShowContextMenu
in interfaceStructuredViewModel
- Returns:
- the value of the 'Show Context Menu' attribute.
- See Also:
-
setShowContextMenu
public void setShowContextMenu(boolean newShowContextMenu) - Specified by:
setShowContextMenu
in interfaceStructuredViewModel
- Parameters:
newShowContextMenu
- the new value of the 'Show Context Menu' attribute.- See Also:
-
getComparator
- Specified by:
getComparator
in interfaceStructuredViewModel
- Returns:
- the value of the 'Comparator' attribute.
- See Also:
-
setComparator
- Specified by:
setComparator
in interfaceStructuredViewModel
- Parameters:
newComparator
- the new value of the 'Comparator' attribute.- See Also:
-
eGet
- Specified by:
eGet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eGet
in classControlViewModelImpl
-
eSet
- Specified by:
eSet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eSet
in classControlViewModelImpl
-
eUnset
public void eUnset(int featureID) - Specified by:
eUnset
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eUnset
in classControlViewModelImpl
-
eIsSet
public boolean eIsSet(int featureID) - Specified by:
eIsSet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eIsSet
in classControlViewModelImpl
-
toString
- Overrides:
toString
in classControlViewModelImpl
-