Package com._1c.g5.v8.dt.ui.aef.actions
Class DtWizardAction
- java.lang.Object
- 
- com._1c.g5.v8.dt.ui.aef.actions.DtWizardAction
 
- 
- 
Constructor SummaryConstructors Constructor Description DtWizardAction(String wizardId, IModelEditingSupport modelEditingSupport)Instantiates a new DT wizard action.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecuteWith(org.eclipse.emf.ecore.EObject model, org.eclipse.emf.ecore.EStructuralFeature feature, ISelection selection)Executes the action for a givenmodel, modelfeatureandselection.org.eclipse.swt.graphics.ImagegetIcon()StringgetToolTip()booleanisEnabledFor(org.eclipse.emf.ecore.EObject model, org.eclipse.emf.ecore.EStructuralFeature feature, ISelection selection)Checks whether the action is enabled for a givenmodel, modelfeatureandselection.
 
- 
- 
- 
Constructor Detail- 
DtWizardActionpublic DtWizardAction(String wizardId, IModelEditingSupport modelEditingSupport) Instantiates a new DT wizard action.- Parameters:
- wizardId- the wizard id.
- modelEditingSupport- the model editiong suport, cannot be- null.
 
 
- 
 - 
Method Detail- 
getIconpublic org.eclipse.swt.graphics.Image getIcon() 
 - 
getToolTippublic String getToolTip() - Specified by:
- getToolTipin interface- IDtAction
- Returns:
- action tool tip text.
 
 - 
isEnabledForpublic boolean isEnabledFor(org.eclipse.emf.ecore.EObject model, org.eclipse.emf.ecore.EStructuralFeature feature, ISelection selection)Description copied from interface:IDtActionChecks whether the action is enabled for a givenmodel, modelfeatureandselection.- Specified by:
- isEnabledForin interface- IDtAction
- Parameters:
- model- model to check.
- feature- feature to check.
- selection- selection to check.
- Returns:
- trueif action is enabled,- falseotherwise.
 
 - 
executeWithpublic void executeWith(org.eclipse.emf.ecore.EObject model, org.eclipse.emf.ecore.EStructuralFeature feature, ISelection selection)Description copied from interface:IDtActionExecutes the action for a givenmodel, modelfeatureandselection.- Specified by:
- executeWithin interface- IDtAction
- Parameters:
- model- model to execute with.
- feature- feature to execute with.
- selection- selection to execute with.
 
 
- 
 
-