Package com._1c.g5.v8.dt.md.ui.wizards
Class PredefinedItemWizard.ByFeatures
- java.lang.Object
-
- com._1c.g5.v8.dt.md.ui.wizards.base.DtNewWizardParentDetectionStrategy.ByFeatures
-
- com._1c.g5.v8.dt.md.ui.wizards.PredefinedItemWizard.ByFeatures
-
- All Implemented Interfaces:
IDtNewWizardParentDetectionStrategy
- Enclosing class:
- PredefinedItemWizard<M extends PredefinedItem>
protected class PredefinedItemWizard.ByFeatures extends DtNewWizardParentDetectionStrategy.ByFeatures
-
-
Constructor Summary
Constructors Constructor Description ByFeatures(org.eclipse.emf.ecore.EStructuralFeature... features)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
detectInSelection(IDtNewWizardContext<?> context, Object selection, boolean searchForFeatureInParent)
Detect parent by selected object.-
Methods inherited from class com._1c.g5.v8.dt.md.ui.wizards.base.DtNewWizardParentDetectionStrategy.ByFeatures
areChildrenPotentialParents, detectParent, dispose, getV8ProjectManager, isParentSelected, isPotentialParent, obtainFeatureHint
-
-
-
-
Method Detail
-
detectInSelection
protected boolean detectInSelection(IDtNewWizardContext<?> context, Object selection, boolean searchForFeatureInParent)
Description copied from class:DtNewWizardParentDetectionStrategy.ByFeatures
Detect parent by selected object.- Overrides:
detectInSelection
in classDtNewWizardParentDetectionStrategy.ByFeatures
- Parameters:
context
- the wizard context, cannot benull
selection
- the selected object, cannot benull
searchForFeatureInParent
- serch in parent flag- Returns:
true
if detected
-
-