Package com._1c.g5.v8.dt.md.ui.wizards
Class SubsystemWizard.ByFeatures
- java.lang.Object
- 
- com._1c.g5.v8.dt.md.ui.wizards.base.DtNewWizardParentDetectionStrategy.ByFeatures
- 
- com._1c.g5.v8.dt.md.ui.wizards.SubsystemWizard.ByFeatures
 
 
- 
- All Implemented Interfaces:
- IDtNewWizardParentDetectionStrategy
 - Enclosing class:
- SubsystemWizard
 
 public class SubsystemWizard.ByFeatures extends DtNewWizardParentDetectionStrategy.ByFeatures Detects model parent by provided features for subsystem wizard.
- 
- 
Constructor SummaryConstructors Constructor Description ByFeatures(org.eclipse.emf.ecore.EStructuralFeature... features)Instantiates a new by-features strategy.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddetectParent(IDtNewWizardContext<?> context, IStructuredSelection selection)Detects the parent model for the givenselection.protected org.eclipse.emf.ecore.EStructuralFeatureobtainFeatureHint(Object selection)Obtaines feature hint.- 
Methods inherited from class com._1c.g5.v8.dt.md.ui.wizards.base.DtNewWizardParentDetectionStrategy.ByFeaturesareChildrenPotentialParents, detectInSelection, dispose, getV8ProjectManager, isParentSelected, isPotentialParent
 
- 
 
- 
- 
- 
Method Detail- 
detectParentpublic void detectParent(IDtNewWizardContext<?> context, IStructuredSelection selection) Description copied from class:DtNewWizardParentDetectionStrategy.ByFeaturesDetects the parent model for the givenselection. Stores the result in the wizardcontext.- Specified by:
- detectParentin interface- IDtNewWizardParentDetectionStrategy
- Overrides:
- detectParentin class- DtNewWizardParentDetectionStrategy.ByFeatures
- Parameters:
- context- wizard context.
- selection- selection to detect parent in.
 
 - 
obtainFeatureHintprotected org.eclipse.emf.ecore.EStructuralFeature obtainFeatureHint(Object selection) Description copied from class:DtNewWizardParentDetectionStrategy.ByFeaturesObtaines feature hint.- Overrides:
- obtainFeatureHintin class- DtNewWizardParentDetectionStrategy.ByFeatures
- Parameters:
- selection- the selection, can not be- null
- Returns:
- the obtained feature, nullif not obtained
 
 
- 
 
-