Class DataTemplateEObjectSelectionStrategyProvider

    • Constructor Detail

      • DataTemplateEObjectSelectionStrategyProvider

        public DataTemplateEObjectSelectionStrategyProvider()
        Initializes me.
    • Method Detail

      • handles

        protected boolean handles​(org.eclipse.emf.ecore.EObject owner,
                                  org.eclipse.emf.ecore.EReference reference)
        Description copied from class: ReferenceServiceCustomizationVendor
        Queries whether I should bid on the given owner and reference. The default implementation just returns true; subclasses should override.
        Overrides:
        handles in class ReferenceServiceCustomizationVendor<EObjectSelectionStrategy>
        Parameters:
        owner - the owner of a reference being edited by the Reference Service
        reference - the reference being edited
        Returns:
        whether I should bid
      • createEObjectSelectionStrategy

        public EObjectSelectionStrategy createEObjectSelectionStrategy()
        Create the selection strategy.
        Returns:
        the selection strategy