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
ConstructorsConstructorDescriptionByFeatures
(org.eclipse.emf.ecore.EStructuralFeature... features) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionprotected 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
-
Constructor Details
-
ByFeatures
public ByFeatures(org.eclipse.emf.ecore.EStructuralFeature... features) Constructor.
-
-
Method Details
-
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
-