Class QlEObjectAtOffsetHelper

  • Direct Known Subclasses:
    RightQlEObjectAtOffsetHelper

    public class QlEObjectAtOffsetHelper
    extends org.eclipse.xtext.resource.EObjectAtOffsetHelper
    Specific to Ql implementation of EObjectAtOffsetHelper
    • Constructor Detail

      • QlEObjectAtOffsetHelper

        public QlEObjectAtOffsetHelper()
    • Method Detail

      • resolveElementAt

        public org.eclipse.emf.ecore.EObject resolveElementAt​(org.eclipse.xtext.resource.XtextResource resource,
                                                              int offset)
        Overrides:
        resolveElementAt in class org.eclipse.xtext.resource.EObjectAtOffsetHelper
        Returns:
        the declared or the referenced element next to the offset
      • getCrossReferenceNode

        public org.eclipse.xtext.nodemodel.INode getCrossReferenceNode​(org.eclipse.xtext.resource.XtextResource resource,
                                                                       org.eclipse.xtext.util.ITextRegion region)
        Overrides:
        getCrossReferenceNode in class org.eclipse.xtext.resource.EObjectAtOffsetHelper
      • internalResolveElementAt

        protected org.eclipse.emf.ecore.EObject internalResolveElementAt​(org.eclipse.xtext.resource.XtextResource resource,
                                                                         int offset,
                                                                         boolean containment)
        Overrides:
        internalResolveElementAt in class org.eclipse.xtext.resource.EObjectAtOffsetHelper
      • findDbViewForTableFromSource

        protected DbViewElement findDbViewForTableFromSource​(org.eclipse.emf.ecore.EObject obj)
        Gets actual DbViewElement for table from sources
        Parameters:
        obj - actual semantic object, can't be null
        Returns:
        actual DbViewElement for table from sources or null if DbViewElement wasn't found