Examples of JarEntryEditorInput


Examples of org.eclipse.jdt.internal.ui.javaeditor.JarEntryEditorInput

          && packageFragment.getElementName().equals(searchedPackage)) {
        for (Object njr: packageFragment.isDefaultPackage() ? packageFragmentRoot.getNonJavaResources() : packageFragment.getNonJavaResources()) {
          if (njr instanceof IJarEntryResource) {
            IJarEntryResource jer = (IJarEntryResource) njr;
            if (jer.getName().equals(searchedFileName)) {
              return new JarEntryEditorInput(jer);
            }
          } else if (njr instanceof IFile) {
            IFile file = (IFile) njr;
            if (file.getName().equals(searchedFileName)) {
              return new FileEditorInput(file);
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.