Package com._1c.g5.v8.dt.ui.aef.actions
Class DtExpandAllAction
java.lang.Object
com._1c.g5.v8.dt.ui.aef.actions.DtCommandActionBase
com._1c.g5.v8.dt.ui.aef.actions.DtExpandAllAction
- All Implemented Interfaces:
IDtAction
Expand all elements action
-
Field Summary
Fields inherited from class com._1c.g5.v8.dt.ui.aef.actions.DtCommandActionBase
FEATURE_VARIABLE, MODEL_VARIABLE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected String
Returns the command id to execute.org.eclipse.swt.graphics.Image
getIcon()
boolean
isEnabledFor
(org.eclipse.emf.ecore.EObject model, org.eclipse.emf.ecore.EStructuralFeature feature, ISelection selection) Checks whether the action is enabled for a givenmodel
, modelfeature
andselection
.Methods inherited from class com._1c.g5.v8.dt.ui.aef.actions.DtCommandActionBase
execute, executeWith, preExecute, setContextIds
-
Constructor Details
-
DtExpandAllAction
public DtExpandAllAction()
-
-
Method Details
-
getIcon
public org.eclipse.swt.graphics.Image getIcon()- Returns:
- action icon image.
-
getToolTip
- Returns:
- action tool tip text.
-
getCommandId
Description copied from class:DtCommandActionBase
Returns the command id to execute.- Specified by:
getCommandId
in classDtCommandActionBase
- Returns:
- the command id to execute, never
null
-
isEnabledFor
public boolean isEnabledFor(org.eclipse.emf.ecore.EObject model, org.eclipse.emf.ecore.EStructuralFeature feature, ISelection selection) Description copied from interface:IDtAction
Checks whether the action is enabled for a givenmodel
, modelfeature
andselection
.- Parameters:
model
- model to check.feature
- feature to check.selection
- selection to check.- Returns:
true
if action is enabled,false
otherwise.
-