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 boolean
bold
The cached value of the 'Bold
' attribute.protected static boolean
BOLD_EDEFAULT
The default value of the 'Bold
' attribute.protected Comparator<Object>
comparator
The cached value of the 'Comparator
' attribute.protected static boolean
EMPTY_CHOICE_ALLOWED_EDEFAULT
The default value of the 'Empty Choice Allowed
' attribute.protected boolean
emptyChoiceAllowed
The cached value of the 'Empty Choice Allowed
' attribute.protected String
header
The cached value of the 'Header
' attribute.protected static String
HEADER_EDEFAULT
The default value of the 'Header
' attribute.protected static String
IMAGE_KEY_PREFIX_EDEFAULT
The default value of the 'Image Key Prefix
' attribute.protected String
imageKeyPrefix
The cached value of the 'Image Key Prefix
' attribute.protected boolean
multi
The cached value of the 'Multi
' attribute.protected static boolean
MULTI_EDEFAULT
The default value of the 'Multi
' attribute.protected static boolean
SEARCH_BOX_VISIBLE_EDEFAULT
The default value of the 'Search Box Visible
' attribute.protected static String
SEARCH_HISTORY_ID_EDEFAULT
The default value of the 'Search History Id
' attribute.protected boolean
searchBoxVisible
The cached value of the 'Search Box Visible
' attribute.protected String
searchHistoryId
The cached value of the 'Search History Id
' attribute.protected static boolean
SHOW_CHECKBOXES_EDEFAULT
The default value of the 'Show Checkboxes
' attribute.protected static boolean
SHOW_CONTEXT_MENU_EDEFAULT
The default value of the 'Show Context Menu
' attribute.protected static boolean
SHOW_IMAGES_EDEFAULT
The default value of the 'Show Images
' attribute.protected static boolean
SHOW_LINES_EDEFAULT
The default value of the 'Show Lines
' attribute.protected boolean
showCheckboxes
The cached value of the 'Show Checkboxes
' attribute.protected boolean
showContextMenu
The cached value of the 'Show Context Menu
' attribute.protected boolean
showImages
The cached value of the 'Show Images
' attribute.protected boolean
showLines
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.BasicEObjectImpl
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
StructuredViewModelImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
eGet(int featureID, boolean resolve, boolean coreType)
boolean
eIsSet(int featureID)
void
eSet(int featureID, Object newValue)
protected org.eclipse.emf.ecore.EClass
eStaticClass()
void
eUnset(int featureID)
Comparator<Object>
getComparator()
String
getHeader()
String
getImageKeyPrefix()
String
getSearchHistoryId()
boolean
isBold()
boolean
isEmptyChoiceAllowed()
boolean
isMulti()
boolean
isSearchBoxVisible()
boolean
isShowCheckboxes()
boolean
isShowContextMenu()
boolean
isShowImages()
boolean
isShowLines()
void
setBold(boolean newBold)
void
setComparator(Comparator<Object> newComparator)
void
setEmptyChoiceAllowed(boolean newEmptyChoiceAllowed)
void
setHeader(String newHeader)
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)
String
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 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:
eStaticClass
in classControlViewModelImpl
-
isSearchBoxVisible
public boolean isSearchBoxVisible()
- Specified by:
isSearchBoxVisible
in 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:
setSearchBoxVisible
in interfaceStructuredViewModel
- Parameters:
newSearchBoxVisible
- the new value of the 'Search Box Visible' attribute.- See Also:
StructuredViewModel.isSearchBoxVisible()
-
getSearchHistoryId
public String getSearchHistoryId()
- Specified by:
getSearchHistoryId
in 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:
setSearchHistoryId
in interfaceStructuredViewModel
- Parameters:
newSearchHistoryId
- the new value of the 'Search History Id' attribute.- See Also:
StructuredViewModel.getSearchHistoryId()
-
getImageKeyPrefix
public String getImageKeyPrefix()
- Specified by:
getImageKeyPrefix
in 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:
setImageKeyPrefix
in interfaceStructuredViewModel
- Parameters:
newImageKeyPrefix
- the new value of the 'Image Key Prefix' attribute.- See Also:
StructuredViewModel.getImageKeyPrefix()
-
isShowImages
public boolean isShowImages()
- Specified by:
isShowImages
in 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:
setShowImages
in interfaceStructuredViewModel
- Parameters:
newShowImages
- the new value of the 'Show Images' attribute.- See Also:
StructuredViewModel.isShowImages()
-
isShowCheckboxes
public boolean isShowCheckboxes()
- Specified by:
isShowCheckboxes
in 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:
setShowCheckboxes
in interfaceStructuredViewModel
- Parameters:
newShowCheckboxes
- the new value of the 'Show Checkboxes' attribute.- See Also:
StructuredViewModel.isShowCheckboxes()
-
isMulti
public boolean isMulti()
- Specified by:
isMulti
in interfaceStructuredViewModel
- Returns:
- the value of the 'Multi' attribute.
- See Also:
StructuredViewModel.setMulti(boolean)
,AefStandardPackage.getStructuredViewModel_Multi()
-
setMulti
public void setMulti(boolean newMulti)
- Specified by:
setMulti
in interfaceStructuredViewModel
- Parameters:
newMulti
- the new value of the 'Multi' attribute.- See Also:
StructuredViewModel.isMulti()
-
isEmptyChoiceAllowed
public boolean isEmptyChoiceAllowed()
- Specified by:
isEmptyChoiceAllowed
in 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:
setEmptyChoiceAllowed
in interfaceStructuredViewModel
- Parameters:
newEmptyChoiceAllowed
- the new value of the 'Empty Choice Allowed' attribute.- See Also:
StructuredViewModel.isEmptyChoiceAllowed()
-
getHeader
public String getHeader()
- Specified by:
getHeader
in interfaceStructuredViewModel
- Returns:
- the value of the 'Header' attribute.
- See Also:
StructuredViewModel.setHeader(String)
,AefStandardPackage.getStructuredViewModel_Header()
-
setHeader
public void setHeader(String newHeader)
- Specified by:
setHeader
in interfaceStructuredViewModel
- Parameters:
newHeader
- the new value of the 'Header' attribute.- See Also:
StructuredViewModel.getHeader()
-
isShowLines
public boolean isShowLines()
- Specified by:
isShowLines
in 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:
setShowLines
in interfaceStructuredViewModel
- Parameters:
newShowLines
- the new value of the 'Show Lines' attribute.- See Also:
StructuredViewModel.isShowLines()
-
isBold
public boolean isBold()
- Specified by:
isBold
in interfaceStructuredViewModel
- Returns:
- the value of the 'Bold' attribute.
- See Also:
StructuredViewModel.setBold(boolean)
,AefStandardPackage.getStructuredViewModel_Bold()
-
setBold
public void setBold(boolean newBold)
- Specified by:
setBold
in interfaceStructuredViewModel
- Parameters:
newBold
- the new value of the 'Bold' attribute.- See Also:
StructuredViewModel.isBold()
-
isShowContextMenu
public boolean isShowContextMenu()
- Specified by:
isShowContextMenu
in 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:
setShowContextMenu
in interfaceStructuredViewModel
- Parameters:
newShowContextMenu
- the new value of the 'Show Context Menu' attribute.- See Also:
StructuredViewModel.isShowContextMenu()
-
getComparator
public Comparator<Object> getComparator()
- Specified by:
getComparator
in 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:
setComparator
in 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:
eGet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eGet
in classControlViewModelImpl
-
eSet
public void eSet(int featureID, Object newValue)
- 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
public String toString()
- Overrides:
toString
in classControlViewModelImpl
-
-