Examples of ISourceFile


Examples of org.eclipse.handly.model.ISourceFile

        private IStructuredSelection getLinkedSelection(final ITextSelection selection) {
            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;
            }
View Full Code Here

Examples of org.eclipse.handly.model.ISourceFile

    private void reconcile(final boolean force) {
        if (documentProvider == null) {
            return;
        }
        final ISourceFile workingCopy = documentProvider.getWorkingCopy(editor
                .getEditorInput());
        if (workingCopy != null) {
            SafeRunner.run(new ISafeRunnable() {
                @Override
                public void run() throws CoreException {
                    workingCopy.reconcile(force, mon);
                }

                @Override
                public void handleException(final Throwable exception) {
                }
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.