Interface TreeViewModel
-
- All Superinterfaces:
ControlViewModel,org.eclipse.emf.ecore.EObject,IControlViewModel,IViewModel,org.eclipse.emf.common.notify.Notifier
- All Known Implementing Classes:
TreeViewModelImpl
public interface TreeViewModel extends ControlViewModel
A representation of the model object 'Tree View Model'.The following features are supported:
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetControlId()Returns the value of the 'Control Id' attribute.intgetExpandLevel()Returns the value of the 'Expand Level' attribute.TreeInputgetInput()Returns the value of the 'Input' containment reference.booleanisShowContextMenu()Returns the value of the 'Show Context Menu' attribute.voidsetControlId(String value)Sets the value of the 'Control Id' attribute.voidsetExpandLevel(int value)Sets the value of the 'Expand Level' attribute.voidsetInput(TreeInput value)Sets the value of the 'Input' containment reference.voidsetShowContextMenu(boolean value)Sets the value of the 'Show Context Menu' 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
-
getControlId
String getControlId()
Returns the value of the 'Control Id' attribute. The default value is"".- Returns:
- the value of the 'Control Id' attribute.
- See Also:
setControlId(String),ApplicationEditorAefPackage.getTreeViewModel_ControlId()
-
setControlId
void setControlId(String value)
Sets the value of the 'Control Id' attribute.- Parameters:
value- the new value of the 'Control Id' attribute.- See Also:
getControlId()
-
isShowContextMenu
boolean isShowContextMenu()
Returns the value of the 'Show Context Menu' attribute. The default value is"false".- Returns:
- the value of the 'Show Context Menu' attribute.
- See Also:
setShowContextMenu(boolean),ApplicationEditorAefPackage.getTreeViewModel_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()
-
getExpandLevel
int getExpandLevel()
Returns the value of the 'Expand Level' attribute. The default value is"1".- Returns:
- the value of the 'Expand Level' attribute.
- See Also:
setExpandLevel(int),ApplicationEditorAefPackage.getTreeViewModel_ExpandLevel()
-
setExpandLevel
void setExpandLevel(int value)
Sets the value of the 'Expand Level' attribute.- Parameters:
value- the new value of the 'Expand Level' attribute.- See Also:
getExpandLevel()
-
getInput
TreeInput getInput()
Returns the value of the 'Input' containment reference.- Returns:
- the value of the 'Input' containment reference.
- See Also:
setInput(TreeInput),ApplicationEditorAefPackage.getTreeViewModel_Input()
-
setInput
void setInput(TreeInput value)
Sets the value of the 'Input' containment reference.- Parameters:
value- the new value of the 'Input' containment reference.- See Also:
getInput()
-
-