Interface IReferenceFinderParticipant.IReferenceDescriptionFinderParticipant

  • All Superinterfaces:
    org.eclipse.xtext.resource.IReferenceDescription
    Enclosing interface:
    IReferenceFinderParticipant

    public static interface IReferenceFinderParticipant.IReferenceDescriptionFinderParticipant
    extends org.eclipse.xtext.resource.IReferenceDescription
    Special IReferenceDescription for IReferenceFinderParticipant which provides additional information about source element
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      org.eclipse.swt.graphics.Image getImage()
      Gets image of reference element
      String getTextPresentation()
      Gets text presentation of reference element
      org.eclipse.swt.graphics.Image getTopObjectImage()
      Gets image of reference's parent container element
      String getTopObjectTextPresentation()
      Gets text presentation of reference's parent container element
      • Methods inherited from interface org.eclipse.xtext.resource.IReferenceDescription

        getContainerEObjectURI, getEReference, getIndexInList, getSourceEObjectUri, getTargetEObjectUri
    • Method Detail

      • getTextPresentation

        String getTextPresentation()
        Gets text presentation of reference element
        Returns:
        text presentation of reference element, never null
      • getImage

        org.eclipse.swt.graphics.Image getImage()
        Gets image of reference element
        Returns:
        image of reference element, can be null
      • getTopObjectTextPresentation

        String getTopObjectTextPresentation()
        Gets text presentation of reference's parent container element
        Returns:
        text presentation of reference's parent container element, never null
      • getTopObjectImage

        org.eclipse.swt.graphics.Image getTopObjectImage()
        Gets image of reference's parent container element
        Returns:
        image of reference's parent container element, can be null