Examples of RevisionRange


Examples of org.eclipse.jface.text.revisions.RevisionRange

    private RevisionRange fMouseDownRegion;

    private void handleMouseUp(Event e) {
      if (e.button == 1) {
        RevisionRange upRegion= fFocusRange;
        RevisionRange downRegion= fMouseDownRegion;
        fMouseDownRegion= null;

        if (upRegion == downRegion) {
          Revision revision= upRegion == null ? null : upRegion.getRevision();
          if (revision == fSelectedRevision)
View Full Code Here

Examples of org.eclipse.jface.text.revisions.RevisionRange

    /*
     * @see org.eclipse.jface.text.source.IAnnotationHoverExtension#getHoverInfo(org.eclipse.jface.text.source.ISourceViewer,
     *      org.eclipse.jface.text.source.ILineRange, int)
     */
    public Object getHoverInfo(ISourceViewer sourceViewer, ILineRange lineRange, int visibleNumberOfLines) {
      RevisionRange range= getRange(lineRange.getStartLine());
      Object info= range == null ? null : range.getRevision().getHoverInfo();
      return info;
    }
View Full Code Here

Examples of org.eclipse.jface.text.revisions.RevisionRange

    /*
     * @see org.eclipse.jface.text.source.IAnnotationHoverExtension#getHoverLineRange(org.eclipse.jface.text.source.ISourceViewer,
     *      int)
     */
    public ILineRange getHoverLineRange(ISourceViewer viewer, int lineNumber) {
      RevisionRange range= getRange(lineNumber);
      return range == null ? null : new LineRange(lineNumber, 1);
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.