Package com._1c.g5.v8.dt.ui.aef.actions
Interface IDtAction
- All Known Implementing Classes:
AbstractCheckAllAction
,AbstractDtModelEditingSupportAwareAction
,AggregatesAddNewAction
,AttributesAddAction
,CommonAttributesDataUseAction
,DtCollapseAllAction
,DtCommandActionBase
,DtDeleteAction
,DtEditAction
,DtExpandAllAction
,DtMoveDownAction
,DtMoveUpAction
,DtPredefinedFolderAddAction
,DtPredefinedItemAddAction
,DtPredefinedItemMoveAction
,DtSortAction
,DtSubsystemFilterAction
,DtWizardAction
,HttpServiceCheckAllAction
,LoadIntegrationServiceChannelsAction
,PredefinedAccountExtDimensionTypesAddAction
,RegisterDataAddAction
,StandardAttributesFilterAction
,WebServiceCheckAllAction
,XdtoFromXsdAction
,XdtoToXsdAction
public interface IDtAction
Defines public contract of DT actions.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
executeWith
(org.eclipse.emf.ecore.EObject model, org.eclipse.emf.ecore.EStructuralFeature feature, ISelection selection) Executes the action for a givenmodel
, modelfeature
andselection
.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
.
-
Method Details
-
getIcon
org.eclipse.swt.graphics.Image getIcon()- Returns:
- action icon image.
-
getToolTip
String getToolTip()- Returns:
- action tool tip text.
-
isEnabledFor
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
.- Parameters:
model
- model to check.feature
- feature to check.selection
- selection to check.- Returns:
true
if action is enabled,false
otherwise.
-
executeWith
void executeWith(org.eclipse.emf.ecore.EObject model, org.eclipse.emf.ecore.EStructuralFeature feature, ISelection selection) Executes the action for a givenmodel
, modelfeature
andselection
.- Parameters:
model
- model to execute with.feature
- feature to execute with.selection
- selection to execute with.
-