Package org.eclipse.handly.model

Examples of org.eclipse.handly.model.ISourceElement


            final Object input = getTreeViewer().getInput();
            if (!(input instanceof ISourceElement)) {
                return null;
            }
            final ISourceFile sourceFile = ((ISourceElement) input).getSourceFile();
            final ISourceElement element = SourceElementUtil.getSourceElement(sourceFile,
                    selection.getOffset());
            if (element == null) {
                return null;
            }
            return new StructuredSelection(element);
View Full Code Here

TOP

Related Classes of org.eclipse.handly.model.ISourceElement

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.