Package org.eclipse.jdt.core

Examples of org.eclipse.jdt.core.ISourceReference


    }
    else if (part instanceof IEditorPart
        && selection instanceof ITextSelection) {
      if (part instanceof JavaEditor) {
        JavaEditor je = (JavaEditor) part;
        ISourceReference sourceRef = computeHighlightRangeSourceReference(je);
        IJavaElement javaElement = (IJavaElement) sourceRef;
        return javaElement;
      }
    }
    return null;
View Full Code Here


      }
    }
    else if (part instanceof IEditorPart && selection instanceof ITextSelection) {
      if (part instanceof JavaEditor) {
        JavaEditor je = (JavaEditor) part;
        ISourceReference sourceRef = computeHighlightRangeSourceReference(je);
        IJavaElement javaElement = (IJavaElement) sourceRef;
        return javaElement;
      }
    }
    return null;
View Full Code Here

TOP

Related Classes of org.eclipse.jdt.core.ISourceReference

Copyright © 2018 www.massapicom. 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.