Interface StructuredViewModel
-
- All Superinterfaces:
ControlViewModel
,org.eclipse.emf.ecore.EObject
,IControlViewModel
,IViewModel
,org.eclipse.emf.common.notify.Notifier
- All Known Subinterfaces:
AccountingFlagsViewModel
,CharacteristicsTableViewModel
,CommonAttributeContentViewModel
,CommonAttributesDataViewModel
,ConfigurationStandaloneContentViewModel
,DataExchangeViewModel
,DataSeparatorsViewModel
,ExchangePlanContentViewModel
,ExtDimensionTypesViewModel
,ExtendedCommonAttributeContentViewModel
,ExtendedExchangePlanContentViewModel
,ExtendedPredefinedDataViewModel
,HttpServicesViewModel
,MobileApplicationUrlsViewModel
,OpenIdReturnToViewModel
,PredefinedDataViewModel
,RequiredPermissionMessagesViewModel
,RequiredPermissionsViewModel
,TableViewModel
,TreeViewModel
,WebServicesViewModel
- All Known Implementing Classes:
AccountingFlagsViewModelImpl
,CharacteristicsTableViewModelImpl
,CommonAttributeContentViewModelImpl
,CommonAttributesDataViewModelImpl
,ConfigurationStandaloneContentViewModelImpl
,DataExchangeViewModelImpl
,DataSeparatorsViewModelImpl
,ExchangePlanContentViewModelImpl
,ExtDimensionTypesViewModelImpl
,ExtendedCommonAttributeContentViewModelImpl
,ExtendedExchangePlanContentViewModelImpl
,ExtendedPredefinedDataViewModelImpl
,HttpServicesViewModelImpl
,MobileApplicationUrlsViewModelImpl
,OpenIdReturnToViewModelImpl
,PredefinedDataViewModelImpl
,RequiredPermissionMessagesViewModelImpl
,RequiredPermissionsViewModelImpl
,StructuredViewModelImpl
,TableViewModelImpl
,TreeViewModelImpl
,WebServicesViewModelImpl
public interface StructuredViewModel extends ControlViewModel
A representation of the model object 'Structured View Model'. The abstract view model for trees and tables.The following features are supported:
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Comparator<Object>
getComparator()
Returns the value of the 'Comparator' attribute.String
getHeader()
Returns the value of the 'Header' attribute.String
getImageKeyPrefix()
Returns the value of the 'Image Key Prefix' attribute.String
getSearchHistoryId()
Returns the value of the 'Search History Id' attribute.boolean
isBold()
Returns the value of the 'Bold' attribute.boolean
isEmptyChoiceAllowed()
Returns the value of the 'Empty Choice Allowed' attribute.boolean
isMulti()
Returns the value of the 'Multi' attribute.boolean
isSearchBoxVisible()
Returns the value of the 'Search Box Visible' attribute.boolean
isShowCheckboxes()
Returns the value of the 'Show Checkboxes' attribute.boolean
isShowContextMenu()
Returns the value of the 'Show Context Menu' attribute.boolean
isShowImages()
Returns the value of the 'Show Images' attribute.boolean
isShowLines()
Returns the value of the 'Show Lines' attribute.void
setBold(boolean value)
Sets the value of the 'Bold
' attribute.void
setComparator(Comparator<Object> value)
Sets the value of the 'Comparator
' attribute.void
setEmptyChoiceAllowed(boolean value)
Sets the value of the 'Empty Choice Allowed
' attribute.void
setHeader(String value)
Sets the value of the 'Header
' attribute.void
setImageKeyPrefix(String value)
Sets the value of the 'Image Key Prefix
' attribute.void
setMulti(boolean value)
Sets the value of the 'Multi
' attribute.void
setSearchBoxVisible(boolean value)
Sets the value of the 'Search Box Visible
' attribute.void
setSearchHistoryId(String value)
Sets the value of the 'Search History Id
' attribute.void
setShowCheckboxes(boolean value)
Sets the value of the 'Show Checkboxes
' attribute.void
setShowContextMenu(boolean value)
Sets the value of the 'Show Context Menu
' attribute.void
setShowImages(boolean value)
Sets the value of the 'Show Images
' attribute.void
setShowLines(boolean value)
Sets the value of the 'Show Lines
' attribute.-
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
-
-
-
-
Method Detail
-
isSearchBoxVisible
boolean isSearchBoxVisible()
Returns the value of the 'Search Box Visible' attribute. The default value is"true"
. Indicates to display or not the search box.- Returns:
- the value of the 'Search Box Visible' attribute.
- See Also:
setSearchBoxVisible(boolean)
,AefStandardPackage.getStructuredViewModel_SearchBoxVisible()
-
setSearchBoxVisible
void setSearchBoxVisible(boolean value)
Sets the value of the 'Search Box Visible
' attribute.- Parameters:
value
- the new value of the 'Search Box Visible' attribute.- See Also:
isSearchBoxVisible()
-
getSearchHistoryId
String getSearchHistoryId()
Returns the value of the 'Search History Id' attribute. The default value is"com._1c.g5.aef2.standard.SearchHistoryStateNode"
. The id for saving search history.- Returns:
- the value of the 'Search History Id' attribute.
- See Also:
setSearchHistoryId(String)
,AefStandardPackage.getStructuredViewModel_SearchHistoryId()
-
setSearchHistoryId
void setSearchHistoryId(String value)
Sets the value of the 'Search History Id
' attribute.- Parameters:
value
- the new value of the 'Search History Id' attribute.- See Also:
getSearchHistoryId()
-
getImageKeyPrefix
String getImageKeyPrefix()
Returns the value of the 'Image Key Prefix' attribute. The default value is"default"
. The image key prefix for caching images.- Returns:
- the value of the 'Image Key Prefix' attribute.
- See Also:
setImageKeyPrefix(String)
,AefStandardPackage.getStructuredViewModel_ImageKeyPrefix()
-
setImageKeyPrefix
void setImageKeyPrefix(String value)
Sets the value of the 'Image Key Prefix
' attribute.- Parameters:
value
- the new value of the 'Image Key Prefix' attribute.- See Also:
getImageKeyPrefix()
-
isShowImages
boolean isShowImages()
Returns the value of the 'Show Images' attribute. The default value is"true"
. Indicates whether images should be shown in the default column- Returns:
- the value of the 'Show Images' attribute.
- See Also:
setShowImages(boolean)
,AefStandardPackage.getStructuredViewModel_ShowImages()
-
setShowImages
void setShowImages(boolean value)
Sets the value of the 'Show Images
' attribute.- Parameters:
value
- the new value of the 'Show Images' attribute.- See Also:
isShowImages()
-
isShowCheckboxes
boolean isShowCheckboxes()
Returns the value of the 'Show Checkboxes' attribute. The default value is"true"
. Indicates whether checkboxes should be shown in the default column- Returns:
- the value of the 'Show Checkboxes' attribute.
- See Also:
setShowCheckboxes(boolean)
,AefStandardPackage.getStructuredViewModel_ShowCheckboxes()
-
setShowCheckboxes
void setShowCheckboxes(boolean value)
Sets the value of the 'Show Checkboxes
' attribute.- Parameters:
value
- the new value of the 'Show Checkboxes' attribute.- See Also:
isShowCheckboxes()
-
isMulti
boolean isMulti()
Returns the value of the 'Multi' attribute. Multiselection.- Returns:
- the value of the 'Multi' attribute.
- See Also:
setMulti(boolean)
,AefStandardPackage.getStructuredViewModel_Multi()
-
setMulti
void setMulti(boolean value)
Sets the value of the 'Multi
' attribute.- Parameters:
value
- the new value of the 'Multi' attribute.- See Also:
isMulti()
-
isEmptyChoiceAllowed
boolean isEmptyChoiceAllowed()
Returns the value of the 'Empty Choice Allowed' attribute. Empty choice allowed- Returns:
- the value of the 'Empty Choice Allowed' attribute.
- See Also:
setEmptyChoiceAllowed(boolean)
,AefStandardPackage.getStructuredViewModel_EmptyChoiceAllowed()
-
setEmptyChoiceAllowed
void setEmptyChoiceAllowed(boolean value)
Sets the value of the 'Empty Choice Allowed
' attribute.- Parameters:
value
- the new value of the 'Empty Choice Allowed' attribute.- See Also:
isEmptyChoiceAllowed()
-
getHeader
String getHeader()
Returns the value of the 'Header' attribute. The header title.- Returns:
- the value of the 'Header' attribute.
- See Also:
setHeader(String)
,AefStandardPackage.getStructuredViewModel_Header()
-
setHeader
void setHeader(String value)
Sets the value of the 'Header
' attribute.- Parameters:
value
- the new value of the 'Header' attribute.- See Also:
getHeader()
-
isShowLines
boolean isShowLines()
Returns the value of the 'Show Lines' attribute. Show lines in view.- Returns:
- the value of the 'Show Lines' attribute.
- See Also:
setShowLines(boolean)
,AefStandardPackage.getStructuredViewModel_ShowLines()
-
setShowLines
void setShowLines(boolean value)
Sets the value of the 'Show Lines
' attribute.- Parameters:
value
- the new value of the 'Show Lines' attribute.- See Also:
isShowLines()
-
isBold
boolean isBold()
Returns the value of the 'Bold' attribute. Show checked items with bold font.- Returns:
- the value of the 'Bold' attribute.
- See Also:
setBold(boolean)
,AefStandardPackage.getStructuredViewModel_Bold()
-
setBold
void setBold(boolean value)
Sets the value of the 'Bold
' attribute.- Parameters:
value
- the new value of the 'Bold' attribute.- See Also:
isBold()
-
isShowContextMenu
boolean isShowContextMenu()
Returns the value of the 'Show Context Menu' attribute. Show context menu in view.- Returns:
- the value of the 'Show Context Menu' attribute.
- See Also:
setShowContextMenu(boolean)
,AefStandardPackage.getStructuredViewModel_ShowContextMenu()
-
setShowContextMenu
void setShowContextMenu(boolean value)
Sets the value of the 'Show Context Menu
' attribute.- Parameters:
value
- the new value of the 'Show Context Menu' attribute.- See Also:
isShowContextMenu()
-
getComparator
Comparator<Object> getComparator()
Returns the value of the 'Comparator' attribute. Comparator for view elements.- Returns:
- the value of the 'Comparator' attribute.
- See Also:
setComparator(Comparator)
,AefStandardPackage.getStructuredViewModel_Comparator()
-
setComparator
void setComparator(Comparator<Object> value)
Sets the value of the 'Comparator
' attribute.- Parameters:
value
- the new value of the 'Comparator' attribute.- See Also:
getComparator()
-
-