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
-
-
Field Summary
Fields Modifier and Type Field Description protected booleanboldThe cached value of the 'Bold' attribute.protected static booleanBOLD_EDEFAULTThe default value of the 'Bold' attribute.protected Comparator<Object>comparatorThe cached value of the 'Comparator' attribute.protected static booleanEMPTY_CHOICE_ALLOWED_EDEFAULTThe default value of the 'Empty Choice Allowed' attribute.protected booleanemptyChoiceAllowedThe cached value of the 'Empty Choice Allowed' attribute.protected StringheaderThe cached value of the 'Header' attribute.protected static StringHEADER_EDEFAULTThe default value of the 'Header' attribute.protected static StringIMAGE_KEY_PREFIX_EDEFAULTThe default value of the 'Image Key Prefix' attribute.protected StringimageKeyPrefixThe cached value of the 'Image Key Prefix' attribute.protected booleanmultiThe cached value of the 'Multi' attribute.protected static booleanMULTI_EDEFAULTThe default value of the 'Multi' attribute.protected static booleanSEARCH_BOX_VISIBLE_EDEFAULTThe default value of the 'Search Box Visible' attribute.protected static StringSEARCH_HISTORY_ID_EDEFAULTThe default value of the 'Search History Id' attribute.protected booleansearchBoxVisibleThe cached value of the 'Search Box Visible' attribute.protected StringsearchHistoryIdThe cached value of the 'Search History Id' attribute.protected static booleanSHOW_CHECKBOXES_EDEFAULTThe default value of the 'Show Checkboxes' attribute.protected static booleanSHOW_CONTEXT_MENU_EDEFAULTThe default value of the 'Show Context Menu' attribute.protected static booleanSHOW_IMAGES_EDEFAULTThe default value of the 'Show Images' attribute.protected static booleanSHOW_LINES_EDEFAULTThe default value of the 'Show Lines' attribute.protected booleanshowCheckboxesThe cached value of the 'Show Checkboxes' attribute.protected booleanshowContextMenuThe cached value of the 'Show Context Menu' attribute.protected booleanshowImagesThe cached value of the 'Show Images' attribute.protected booleanshowLinesThe 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.BasicEObjectImpl
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedStructuredViewModelImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjecteGet(int featureID, boolean resolve, boolean coreType)booleaneIsSet(int featureID)voideSet(int featureID, Object newValue)protected org.eclipse.emf.ecore.EClasseStaticClass()voideUnset(int featureID)Comparator<Object>getComparator()StringgetHeader()StringgetImageKeyPrefix()StringgetSearchHistoryId()booleanisBold()booleanisEmptyChoiceAllowed()booleanisMulti()booleanisSearchBoxVisible()booleanisShowCheckboxes()booleanisShowContextMenu()booleanisShowImages()booleanisShowLines()voidsetBold(boolean newBold)voidsetComparator(Comparator<Object> newComparator)voidsetEmptyChoiceAllowed(boolean newEmptyChoiceAllowed)voidsetHeader(String newHeader)voidsetImageKeyPrefix(String newImageKeyPrefix)voidsetMulti(boolean newMulti)voidsetSearchBoxVisible(boolean newSearchBoxVisible)voidsetSearchHistoryId(String newSearchHistoryId)voidsetShowCheckboxes(boolean newShowCheckboxes)voidsetShowContextMenu(boolean newShowContextMenu)voidsetShowImages(boolean newShowImages)voidsetShowLines(boolean newShowLines)StringtoString()-
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 com._1c.g5.aef2.viewModels.IViewModel
getEventChannel, getParent, setEventChannel, setParent
-
-
-
-
Field Detail
-
SEARCH_BOX_VISIBLE_EDEFAULT
protected static final boolean SEARCH_BOX_VISIBLE_EDEFAULT
The default value of the 'Search Box Visible' attribute.- See Also:
isSearchBoxVisible(), Constant Field Values
-
searchBoxVisible
protected boolean searchBoxVisible
The cached value of the 'Search Box Visible' attribute.- See Also:
isSearchBoxVisible()
-
SEARCH_HISTORY_ID_EDEFAULT
protected static final String SEARCH_HISTORY_ID_EDEFAULT
The default value of the 'Search History Id' attribute.- See Also:
getSearchHistoryId(), Constant Field Values
-
searchHistoryId
protected String searchHistoryId
The cached value of the 'Search History Id' attribute.- See Also:
getSearchHistoryId()
-
IMAGE_KEY_PREFIX_EDEFAULT
protected static final String IMAGE_KEY_PREFIX_EDEFAULT
The default value of the 'Image Key Prefix' attribute.- See Also:
getImageKeyPrefix(), Constant Field Values
-
imageKeyPrefix
protected String imageKeyPrefix
The cached value of the 'Image Key Prefix' attribute.- See Also:
getImageKeyPrefix()
-
SHOW_IMAGES_EDEFAULT
protected static final boolean SHOW_IMAGES_EDEFAULT
The default value of the 'Show Images' attribute.- See Also:
isShowImages(), Constant Field Values
-
showImages
protected boolean showImages
The cached value of the 'Show Images' attribute.- See Also:
isShowImages()
-
SHOW_CHECKBOXES_EDEFAULT
protected static final boolean SHOW_CHECKBOXES_EDEFAULT
The default value of the 'Show Checkboxes' attribute.- See Also:
isShowCheckboxes(), Constant Field Values
-
showCheckboxes
protected boolean showCheckboxes
The cached value of the 'Show Checkboxes' attribute.- See Also:
isShowCheckboxes()
-
MULTI_EDEFAULT
protected static final boolean MULTI_EDEFAULT
The default value of the 'Multi' attribute.- See Also:
isMulti(), Constant Field Values
-
EMPTY_CHOICE_ALLOWED_EDEFAULT
protected static final boolean EMPTY_CHOICE_ALLOWED_EDEFAULT
The default value of the 'Empty Choice Allowed' attribute.- See Also:
isEmptyChoiceAllowed(), Constant Field Values
-
emptyChoiceAllowed
protected boolean emptyChoiceAllowed
The cached value of the 'Empty Choice Allowed' attribute.- See Also:
isEmptyChoiceAllowed()
-
HEADER_EDEFAULT
protected static final String HEADER_EDEFAULT
The default value of the 'Header' attribute.- See Also:
getHeader()
-
header
protected String header
The cached value of the 'Header' attribute.- See Also:
getHeader()
-
SHOW_LINES_EDEFAULT
protected static final boolean SHOW_LINES_EDEFAULT
The default value of the 'Show Lines' attribute.- See Also:
isShowLines(), Constant Field Values
-
showLines
protected boolean showLines
The cached value of the 'Show Lines' attribute.- See Also:
isShowLines()
-
BOLD_EDEFAULT
protected static final boolean BOLD_EDEFAULT
The default value of the 'Bold' attribute.- See Also:
isBold(), Constant Field Values
-
SHOW_CONTEXT_MENU_EDEFAULT
protected static final boolean SHOW_CONTEXT_MENU_EDEFAULT
The default value of the 'Show Context Menu' attribute.- See Also:
isShowContextMenu(), Constant Field Values
-
showContextMenu
protected boolean showContextMenu
The cached value of the 'Show Context Menu' attribute.- See Also:
isShowContextMenu()
-
comparator
protected Comparator<Object> comparator
The cached value of the 'Comparator' attribute.- See Also:
getComparator()
-
-
Method Detail
-
eStaticClass
protected org.eclipse.emf.ecore.EClass eStaticClass()
- Overrides:
eStaticClassin classControlViewModelImpl
-
isSearchBoxVisible
public boolean isSearchBoxVisible()
- Specified by:
isSearchBoxVisiblein interfaceStructuredViewModel- Returns:
- the value of the 'Search Box Visible' attribute.
- See Also:
StructuredViewModel.setSearchBoxVisible(boolean),AefStandardPackage.getStructuredViewModel_SearchBoxVisible()
-
setSearchBoxVisible
public void setSearchBoxVisible(boolean newSearchBoxVisible)
- Specified by:
setSearchBoxVisiblein interfaceStructuredViewModel- Parameters:
newSearchBoxVisible- the new value of the 'Search Box Visible' attribute.- See Also:
StructuredViewModel.isSearchBoxVisible()
-
getSearchHistoryId
public String getSearchHistoryId()
- Specified by:
getSearchHistoryIdin interfaceStructuredViewModel- Returns:
- the value of the 'Search History Id' attribute.
- See Also:
StructuredViewModel.setSearchHistoryId(String),AefStandardPackage.getStructuredViewModel_SearchHistoryId()
-
setSearchHistoryId
public void setSearchHistoryId(String newSearchHistoryId)
- Specified by:
setSearchHistoryIdin interfaceStructuredViewModel- Parameters:
newSearchHistoryId- the new value of the 'Search History Id' attribute.- See Also:
StructuredViewModel.getSearchHistoryId()
-
getImageKeyPrefix
public String getImageKeyPrefix()
- Specified by:
getImageKeyPrefixin interfaceStructuredViewModel- Returns:
- the value of the 'Image Key Prefix' attribute.
- See Also:
StructuredViewModel.setImageKeyPrefix(String),AefStandardPackage.getStructuredViewModel_ImageKeyPrefix()
-
setImageKeyPrefix
public void setImageKeyPrefix(String newImageKeyPrefix)
- Specified by:
setImageKeyPrefixin interfaceStructuredViewModel- Parameters:
newImageKeyPrefix- the new value of the 'Image Key Prefix' attribute.- See Also:
StructuredViewModel.getImageKeyPrefix()
-
isShowImages
public boolean isShowImages()
- Specified by:
isShowImagesin interfaceStructuredViewModel- Returns:
- the value of the 'Show Images' attribute.
- See Also:
StructuredViewModel.setShowImages(boolean),AefStandardPackage.getStructuredViewModel_ShowImages()
-
setShowImages
public void setShowImages(boolean newShowImages)
- Specified by:
setShowImagesin interfaceStructuredViewModel- Parameters:
newShowImages- the new value of the 'Show Images' attribute.- See Also:
StructuredViewModel.isShowImages()
-
isShowCheckboxes
public boolean isShowCheckboxes()
- Specified by:
isShowCheckboxesin interfaceStructuredViewModel- Returns:
- the value of the 'Show Checkboxes' attribute.
- See Also:
StructuredViewModel.setShowCheckboxes(boolean),AefStandardPackage.getStructuredViewModel_ShowCheckboxes()
-
setShowCheckboxes
public void setShowCheckboxes(boolean newShowCheckboxes)
- Specified by:
setShowCheckboxesin interfaceStructuredViewModel- Parameters:
newShowCheckboxes- the new value of the 'Show Checkboxes' attribute.- See Also:
StructuredViewModel.isShowCheckboxes()
-
isMulti
public boolean isMulti()
- Specified by:
isMultiin interfaceStructuredViewModel- Returns:
- the value of the 'Multi' attribute.
- See Also:
StructuredViewModel.setMulti(boolean),AefStandardPackage.getStructuredViewModel_Multi()
-
setMulti
public void setMulti(boolean newMulti)
- Specified by:
setMultiin interfaceStructuredViewModel- Parameters:
newMulti- the new value of the 'Multi' attribute.- See Also:
StructuredViewModel.isMulti()
-
isEmptyChoiceAllowed
public boolean isEmptyChoiceAllowed()
- Specified by:
isEmptyChoiceAllowedin interfaceStructuredViewModel- Returns:
- the value of the 'Empty Choice Allowed' attribute.
- See Also:
StructuredViewModel.setEmptyChoiceAllowed(boolean),AefStandardPackage.getStructuredViewModel_EmptyChoiceAllowed()
-
setEmptyChoiceAllowed
public void setEmptyChoiceAllowed(boolean newEmptyChoiceAllowed)
- Specified by:
setEmptyChoiceAllowedin interfaceStructuredViewModel- Parameters:
newEmptyChoiceAllowed- the new value of the 'Empty Choice Allowed' attribute.- See Also:
StructuredViewModel.isEmptyChoiceAllowed()
-
getHeader
public String getHeader()
- Specified by:
getHeaderin interfaceStructuredViewModel- Returns:
- the value of the 'Header' attribute.
- See Also:
StructuredViewModel.setHeader(String),AefStandardPackage.getStructuredViewModel_Header()
-
setHeader
public void setHeader(String newHeader)
- Specified by:
setHeaderin interfaceStructuredViewModel- Parameters:
newHeader- the new value of the 'Header' attribute.- See Also:
StructuredViewModel.getHeader()
-
isShowLines
public boolean isShowLines()
- Specified by:
isShowLinesin interfaceStructuredViewModel- Returns:
- the value of the 'Show Lines' attribute.
- See Also:
StructuredViewModel.setShowLines(boolean),AefStandardPackage.getStructuredViewModel_ShowLines()
-
setShowLines
public void setShowLines(boolean newShowLines)
- Specified by:
setShowLinesin interfaceStructuredViewModel- Parameters:
newShowLines- the new value of the 'Show Lines' attribute.- See Also:
StructuredViewModel.isShowLines()
-
isBold
public boolean isBold()
- Specified by:
isBoldin interfaceStructuredViewModel- Returns:
- the value of the 'Bold' attribute.
- See Also:
StructuredViewModel.setBold(boolean),AefStandardPackage.getStructuredViewModel_Bold()
-
setBold
public void setBold(boolean newBold)
- Specified by:
setBoldin interfaceStructuredViewModel- Parameters:
newBold- the new value of the 'Bold' attribute.- See Also:
StructuredViewModel.isBold()
-
isShowContextMenu
public boolean isShowContextMenu()
- Specified by:
isShowContextMenuin interfaceStructuredViewModel- Returns:
- the value of the 'Show Context Menu' attribute.
- See Also:
StructuredViewModel.setShowContextMenu(boolean),AefStandardPackage.getStructuredViewModel_ShowContextMenu()
-
setShowContextMenu
public void setShowContextMenu(boolean newShowContextMenu)
- Specified by:
setShowContextMenuin interfaceStructuredViewModel- Parameters:
newShowContextMenu- the new value of the 'Show Context Menu' attribute.- See Also:
StructuredViewModel.isShowContextMenu()
-
getComparator
public Comparator<Object> getComparator()
- Specified by:
getComparatorin interfaceStructuredViewModel- Returns:
- the value of the 'Comparator' attribute.
- See Also:
StructuredViewModel.setComparator(Comparator),AefStandardPackage.getStructuredViewModel_Comparator()
-
setComparator
public void setComparator(Comparator<Object> newComparator)
- Specified by:
setComparatorin interfaceStructuredViewModel- Parameters:
newComparator- the new value of the 'Comparator' attribute.- See Also:
StructuredViewModel.getComparator()
-
eGet
public Object eGet(int featureID, boolean resolve, boolean coreType)
- Specified by:
eGetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eGetin classControlViewModelImpl
-
eSet
public void eSet(int featureID, Object newValue)- Specified by:
eSetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eSetin classControlViewModelImpl
-
eUnset
public void eUnset(int featureID)
- Specified by:
eUnsetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eUnsetin classControlViewModelImpl
-
eIsSet
public boolean eIsSet(int featureID)
- Specified by:
eIsSetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eIsSetin classControlViewModelImpl
-
toString
public String toString()
- Overrides:
toStringin classControlViewModelImpl
-
-