Home
last modified time | relevance | path

Searched refs:IFile (Results 1 – 25 of 148) sorted by relevance

123456

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/
DSourceFileData.java19 import org.eclipse.core.resources.IFile;
32 private final IFile mSourceFile;
33 private final List<IFile> mOutputFiles = new ArrayList<IFile>();
34 private final List<IFile> mDependencyFiles = new ArrayList<IFile>();
36 public SourceFileData(IFile sourceFile) { in SourceFileData()
40 SourceFileData(IFile sourceFile, in SourceFileData()
41 List<IFile> outputFiles, List<IFile> dependencyFiles) { in SourceFileData()
51 SourceFileData(IFile sourceFile, IFile outputFile) { in SourceFileData()
61 public IFile getSourceFile() { in getSourceFile()
73 public boolean dependsOn(IFile file) { in dependsOn()
[all …]
DDefaultSourceChangeHandler.java20 import org.eclipse.core.resources.IFile;
43 private final Set<IFile> mToCompile = new HashSet<IFile>();
46 private final Set<IFile> mRemoved = new HashSet<IFile>();
49 public boolean handleGeneratedFile(IFile file, int kind) { in handleGeneratedFile()
51 IFile sourceFile = mProcessor.isOutput(file); in handleGeneratedFile()
62 public void handleSourceFile(IFile file, int kind) { in handleSourceFile()
77 protected void addFileToCompile(IFile file) { in addFileToCompile()
81 Set<IFile> getFilesToCompile() { in getFilesToCompile()
85 protected void addRemovedFile(IFile file) { in addRemovedFile()
89 Set<IFile> getRemovedFiles() { in getRemovedFiles()
DSourceProcessor.java27 import org.eclipse.core.resources.IFile;
61 private final Map<IFile, SourceFileData> mFiles = new HashMap<IFile, SourceFileData>();
69 private final List<IFile> mToCompile = new ArrayList<IFile>();
72 private final List<IFile> mRemoved = new ArrayList<IFile>();
140 IFile isOutput(IFile file) { in isOutput()
157 List<IFile> isDependency(IFile file) { in isDependency()
158 ArrayList<IFile> files = new ArrayList<IFile>(); in isDependency()
172 SourceFileData getFileData(IFile file) { in getFileData()
196 final List<IFile> getToCompile() { in getToCompile()
200 final List<IFile> getRemovedFile() { in getRemovedFile()
[all …]
DSourceChangeHandler.java19 import org.eclipse.core.resources.IFile;
23 boolean handleGeneratedFile(IFile file, int kind); in handleGeneratedFile()
24 void handleSourceFile(IFile file, int kind); in handleSourceFile()
DAidlProcessor.java32 import org.eclipse.core.resources.IFile;
102 protected void doCompileFiles(List<IFile> sources, BaseBuilder builder, in doCompileFiles()
104 List<IPath> sourceFolders, List<IFile> notCompiledOut, List<File> libraryProjectsOut, in doCompileFiles()
151 for (IFile sourceFile : sources) { in doCompileFiles()
179 IFile javaFile = getAidlOutputFile(sourceFile, genFolder, in doCompileFiles()
199 IFile aidlOutFile = getAidlOutputFile(sourceFile, aidlOutFolder, in doCompileFiles()
224 IFile javaFile = getAidlOutputFile(data.getSourceFile(), genFolder, in loadOutputAndDependencies()
243 private boolean execAidl(BaseBuilder builder, IProject project, String[] command, IFile file, in execAidl()
319 private boolean parseAidlOutput(ArrayList<String> lines, IFile file) { in parseAidlOutput()
373 private IFile getAidlOutputFile(IFile sourceFile, IFolder outputFolder, boolean replaceExt, in getAidlOutputFile()
[all …]
DRsSourceChangeHandler.java24 import org.eclipse.core.resources.IFile;
42 public boolean handleGeneratedFile(IFile file, int kind) { in handleGeneratedFile()
65 public void handleSourceFile(IFile file, int kind) { in handleSourceFile()
DAaptQuickFix.java32 import org.eclipse.core.resources.IFile;
109 if (message.contains(getUnboundErrorMessage()) && markerResource instanceof IFile) { in getResolutions()
111 new CreateNamespaceFix((IFile) markerResource) in getResolutions()
171 IFile file = editor.getInputFile(); in computeQuickAssistProposals()
216 private IFile mFile;
218 public CreateNamespaceFix(IFile file) { in CreateNamespaceFix()
236 private IndexedRegion perform(IFile file) { in perform()
368 Pair<IFile, IRegion> location = in perform()
371 IFile file = location.getFirst(); in perform()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/project/
DAndroidManifestHelper.java28 import org.eclipse.core.resources.IFile;
66 IFile eclipseFile = null; in parseUnchecked()
153 IFile manifestFile = ProjectHelper.getManifest(javaProject.getProject()); in parse()
167 public static void parseForError(IFile manifestFile, XmlErrorListener errorListener) { in parseForError()
176 public static ManifestData parseForData(IFile manifestFile) { in parseForData()
186 IFile manifestFile = ProjectHelper.getManifest(project); in parseForData()
DXmlErrorHandler.java22 import org.eclipse.core.resources.IFile;
38 private final IFile mFile;
62 public XmlErrorHandler(IJavaProject javaProject, IFile file, XmlErrorListener errorListener) { in XmlErrorHandler()
68 public XmlErrorHandler(IFile file, XmlErrorListener errorListener) { in XmlErrorHandler()
108 protected final IFile getFile() { in getFile()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/io/
DIFileWrapper.java24 import org.eclipse.core.resources.IFile;
40 private final IFile mFile;
42 public IFileWrapper(IFile file) { in IFileWrapper()
118 public IFile getIFile() {
133 if (obj instanceof IFile) {
DIFolderWrapper.java24 import org.eclipse.core.resources.IFile;
81 if (f instanceof IFile) { in listMembers()
82 afiles[i] = new IFileWrapper((IFile) f); in listMembers()
115 IFile file = mFolder.getFile(name); in getFile()
119 IFile file = mContainer.getFile(new Path(name)); in getFile()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/launch/
DDelayedLaunchInfo.java21 import org.eclipse.core.resources.IFile;
51 private final IFile mPackageFile;
93 IAndroidLaunchAction launchAction, IFile pack, Boolean debuggable, in DelayedLaunchInfo()
148 public IFile getPackageFile() { in getPackageFile()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/exportgradle/
DBuildFileCreator.java41 import org.eclipse.core.resources.IFile;
93 private static final Comparator<IFile> FILE_COMPARATOR = new Comparator<IFile>() {
95 public int compare(IFile o1, IFile o2) {
132 List<IFile> files = new ArrayList<IFile>(); in createBuildFiles()
137 IFile file = module.getProject().getFile(BuildFileCreator.BUILD_FILE); in createBuildFiles()
166 IFile iFile = workspaceRoot.getFile(settingsGradle); in createBuildFiles()
179 IFile file = workspaceRoot.getFile(path); in createBuildFiles()
189 Set<IFile> confirmedFiles = validateEdit(files, status, shell); in createBuildFiles()
202 IFile file = moduleProject.getFile(BuildFileCreator.BUILD_FILE); in createBuildFiles()
536 static Set<IFile> validateEdit( in validateEdit()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/newxmlfile/
DNewXmlFileWizard.java39 import org.eclipse.core.resources.IFile;
136 final Pair<IFile, IRegion> created = createXmlFile(); in performFinish()
145 IFile file = created.getFirst(); in performFinish()
169 private Pair<IFile, IRegion> createXmlFile() { in createXmlFile()
170 IFile file = mValues.getDestinationFile(); in createXmlFile()
193 private static Pair<IFile, IRegion> createXmlFile(IFile file, String xmlns, in createXmlFile()
321 public static Pair<IFile, IRegion> createXmlFile(IProject project, IFile file, in createXmlFile()
420 public IFile getDestinationFile() { in getDestinationFile()
425 IFile file = project.getFile(dest); in getDestinationFile()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/resources/manager/
DConfigMatchTest.java42 import org.eclipse.core.resources.IFile;
80 IFile[] validMemberList = new IFile[] { in setUp()
85 IFile[] invalidMemberList = new IFile[] { in setUp()
281 IFile[] memberList) throws Exception { in addFolder()
293 for (IFile file : memberList) { in addFolder()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactorings/extractstring/
DExtractStringRefactoring.java36 import org.eclipse.core.resources.IFile;
167 private final IFile mFile;
234 mFile = (IFile) ResourcesPlugin.getWorkspace().getRoot().findMember(path); in ExtractStringRefactoring()
276 public ExtractStringRefactoring(IFile file, IEditorPart editor, ITextSelection selection) { in ExtractStringRefactoring()
541 private boolean findSelectionInXmlFile(IFile file, in findSelectionInXmlFile()
819 private boolean checkSourceFile(IFile file, in checkSourceFile()
900 Change change = createXmlChanges((IFile) targetXml, mXmlStringId, mXmlStringValue, in checkFinalConditions()
970 for (IFile xmlFile : findAllResXmlFiles()) { in checkFinalConditions()
1001 private Iterable<IFile> findAllResXmlFiles() { in findAllResXmlFiles()
1002 return new Iterable<IFile>() { in findAllResXmlFiles()
[all …]
DExtractStringAction.java21 import org.eclipse.core.resources.IFile;
78 private IFile mFile;
162 private IFile getSelectedFile(IEditorPart editor) { in getSelectedFile()
168 IFile file = fi.getFile(); in getSelectedFile()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/
DSourceRevealer.java27 import org.eclipse.core.resources.IFile;
137 if (resource instanceof IFile) { in revealMethod()
138 IFile file = (IFile) resource; in revealMethod()
189 if (resource instanceof IFile) { in revealMethod()
193 return displayFile((IFile) resource, lineNumber); in revealMethod()
234 return displayFile((IFile) match.getResource(), lineNumber); in revealLineMatch()
237 private boolean displayFile(IFile file, int lineNumber) { in displayFile()
277 if (m.getResource() instanceof IFile in filterMatchByFileName()
419 return match.getResource() instanceof IFile;
427 return match.getResource() instanceof IFile;
DAdtUtils.java47 import org.eclipse.core.resources.IFile;
378 public static Collection<IEditorPart> findEditorsFor(@NonNull IFile file, boolean restore) { in findEditorsFor()
432 public static IFile getActiveFile() { in getActiveFile()
491 public static IFile fileToIFile(File file) { in fileToIFile()
497 IFile[] files = workspace.findFilesForLocationURI(file.toURI()); in fileToIFile()
518 IFile[] files = workspace.findFilesForLocationURI(file.toURI()); in fileToResource()
533 public static IFile pathToIFile(IPath path) { in pathToIFile()
536 IFile[] files = workspace.findFilesForLocationURI(URIUtil.toURI(path.makeAbsolute())); in pathToIFile()
545 if (member instanceof IFile) { in pathToIFile()
546 return (IFile) member; in pathToIFile()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/
DLayoutEditorMatchingStrategy.java24 import org.eclipse.core.resources.IFile;
44 IFile file = fileInput.getFile(); in matches()
63 IFile editorFile = editorFileInput.getFile(); in matches()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
DAdtProjectTest.java44 import org.eclipse.core.resources.IFile;
203 protected IFile getTestDataFile(IProject project, String name) throws Exception { in getTestDataFile()
207 protected IFile getLayoutFile(IProject project, String name) throws Exception { in getLayoutFile()
211 protected IFile getValueFile(IProject project, String name) throws Exception { in getValueFile()
215 protected IFile getTestDataFile(IProject project, String sourceName, in getTestDataFile()
220 protected IFile getTestDataFile(IProject project, String sourceName, in getTestDataFile()
244 IFile file = parent.getFile(new Path(name)); in getTestDataFile()
332 protected int getCaretOffset(IFile file, String caretLocation) { in getCaretOffset()
429 IFile file, in TestLayoutEditorDelegate()
437 private final IFile mFile;
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
DExtractIncludeRefactoring.java53 import org.eclipse.core.resources.IFile;
119 IFile file, in ExtractIncludeRefactoring()
240 IFile sourceFile = mDelegate.getEditor().getInputFile(); in computeChanges()
252 List<IFile> layouts = getOtherLayouts(sourceFile); in computeChanges()
253 for (IFile file : layouts) { in computeChanges()
326 final IFile file = project.getFile(new Path(parentPath + WS_SEP + newFileName)); in computeChanges()
346 IFile sourceFile, int begin, int end, Document document, Element primary) { in handleIncludingFile()
400 private List<IFile> getOtherLayouts(IFile sourceFile) { in getOtherLayouts()
401 List<IFile> layouts = new ArrayList<IFile>(100); in getOtherLayouts()
411 && file instanceof IFile) { in getOtherLayouts()
[all …]
DExtractIncludeWizard.java23 import org.eclipse.core.resources.IFile;
43 IFile sourceFile = ref.getSourceFile(); in addUserInputPages()
50 private final IFile mSourceFile;
55 public InputPage(IProject project, IFile sourceFile, String suggestedName) { in InputPage()
/sdk/eclipse/plugins/com.android.ide.eclipse.ndk/src/com/android/ide/eclipse/ndk/internal/discovery/
DNdkDiscoveredPathInfo.java25 import org.eclipse.core.resources.IFile;
46 private long mLastUpdate = IFile.NULL_STAMP;
116 if (mLastUpdate == IFile.NULL_STAMP) in needUpdating()
126 mLastUpdate = IFile.NULL_STAMP; in delete()
172 long timestamp = IFile.NULL_STAMP; in load()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/templates/
DCreateFileChange.java27 import org.eclipse.core.resources.IFile;
71 IFile file = ResourcesPlugin.getWorkspace().getRoot().getFile(mPath); in isValid()
87 IFile file = (IFile) getModifiedResource(); in perform()

123456