Home
last modified time | relevance | path

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

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/io/
DIFileWrapper.java40 private final IFile mFile; field in IFileWrapper
43 mFile = file; in IFileWrapper()
49 return mFile.getContents(); in getContents()
52 if (mFile.isSynchronized(IResource.DEPTH_ZERO) == false) { in getContents()
62 mFile.setContents(source, IResource.FORCE, null); in setContents()
92 return mFile.getLocation().toOSString();
97 return mFile.getName();
102 return mFile.exists();
108 mFile.delete(true /*force*/, new NullProgressMonitor());
119 return mFile;
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/binaryxml/
DFileStorage.java44 private File mFile = null; field in FileStorage
52 mFile = file; in FileStorage()
62 stream = new FileInputStream(mFile); in getContents()
65 .getSymbolicName(), IStatus.ERROR, mFile.getAbsolutePath(), e)); in getContents()
75 return new Path(mFile.getAbsolutePath()); in getFullPath()
83 return mFile.getName(); in getName()
108 return mFile.equals(((FileStorage) obj).mFile); in equals()
118 return mFile.hashCode(); in hashCode()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/project/
DXmlErrorHandler.java38 private final IFile mFile; field in XmlErrorHandler
64 mFile = file; in XmlErrorHandler()
99 if (mFile != null) { in warning()
100 BaseProjectHelper.markResource(mFile, in warning()
109 return mFile; in getFile()
128 if (mFile != null) { in handleError()
129 BaseProjectHelper.markResource(mFile, in handleError()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactorings/extractstring/
DExtractStringAction.java78 private IFile mFile; field in ExtractStringAction
109 mFile = null; in selectionChanged()
115 mFile = getSelectedFile(mEditor); in selectionChanged()
119 action.setEnabled(mSelection != null && mFile != null); in selectionChanged()
127 if (mSelection != null && mFile != null) { in run()
128 ExtractStringRefactoring ref = new ExtractStringRefactoring(mFile, mEditor, mSelection); in run()
129 RefactoringWizard wizard = new ExtractStringWizard(ref, mFile.getProject()); in run()
DExtractStringRefactoring.java167 private final IFile mFile; field in ExtractStringRefactoring
234 mFile = (IFile) ResourcesPlugin.getWorkspace().getRoot().findMember(path); in ExtractStringRefactoring()
241 mFile = null; in ExtractStringRefactoring()
257 args.put(KEY_FILE, mFile.getFullPath().toPortableString()); in createArgumentMap()
278 mFile = file; in ExtractStringRefactoring()
298 mFile = null; in ExtractStringRefactoring()
399 if (!checkSourceFile(mFile, status, monitor)) { in checkInitialConditions()
405 mUnit = JavaCore.createCompilationUnitFrom(mFile); in checkInitialConditions()
428 if (mFile != null && SdkConstants.EXT_XML.equals(mFile.getFileExtension())) { in checkInitialConditions()
439 IPath path = mFile.getFullPath(); in checkInitialConditions()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/
DTraceFileParserTask.java50 private RandomAccessFile mFile; field in TraceFileParserTask
63 mFile = new RandomAccessFile(path, "r"); //$NON-NLS-1$ in TraceFileParserTask()
140 fileLength = mFile.length(); in run()
153 long filePointer = mFile.getFilePointer(); in run()
159 while ((msg = sReader.getMessageAtOffset(mFile, -1)) != null) { in run()
166 filePointer = mFile.getFilePointer(); in run()
213 mFile.close(); in run()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
DVisualRefactoringAction.java44 protected IFile mFile; field in VisualRefactoringAction
76 mFile = null; in selectionChanged()
83 mFile = getSelectedFile(editor); in selectionChanged()
89 mFile = getSelectedFile(editor); in selectionChanged()
96 && mFile != null && mDelegate != null); in selectionChanged()
DExtractIncludeAction.java31 if ((mTextSelection != null || mTreeSelection != null) && mFile != null) { in run()
32 ExtractIncludeRefactoring ref = new ExtractIncludeRefactoring(mFile, mDelegate, in run()
DChangeLayoutAction.java31 if ((mTextSelection != null || mTreeSelection != null) && mFile != null) { in run()
32 ChangeLayoutRefactoring ref = new ChangeLayoutRefactoring(mFile, mDelegate, in run()
DUseCompoundDrawableAction.java31 if ((mTextSelection != null || mTreeSelection != null) && mFile != null) { in run()
33 mFile, mDelegate, mTextSelection, mTreeSelection); in run()
DWrapInAction.java31 if ((mTextSelection != null || mTreeSelection != null) && mFile != null) { in run()
32 WrapInRefactoring ref = new WrapInRefactoring(mFile, mDelegate, in run()
DExtractStyleAction.java31 if ((mTextSelection != null || mTreeSelection != null) && mFile != null) { in run()
32 ExtractStyleRefactoring ref = new ExtractStyleRefactoring(mFile, mDelegate, in run()
DChangeViewAction.java31 if ((mTextSelection != null || mTreeSelection != null) && mFile != null) { in run()
32 ChangeViewRefactoring ref = new ChangeViewRefactoring(mFile, mDelegate, in run()
DUnwrapAction.java31 if ((mTextSelection != null || mTreeSelection != null) && mFile != null) { in run()
32 UnwrapRefactoring ref = new UnwrapRefactoring(mFile, mDelegate, in run()
DVisualRefactoring.java113 protected final IFile mFile; field in VisualRefactoring
141 mFile = (IFile) ResourcesPlugin.getWorkspace().getRoot().findMember(path); in VisualRefactoring()
157 mFile = delegate != null ? delegate.getEditor().getInputFile() : null; in VisualRefactoring()
185 mFile = file; in VisualRefactoring()
290 args.put(KEY_FILE, mFile.getFullPath().toPortableString()); in createArgumentMap()
298 return mFile; in getFile()
DExtractIncludeRefactoring.java450 return mFile; in getSourceFile()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/
DAaptQuickFix.java216 private IFile mFile; field in AaptQuickFix.CreateNamespaceFix
219 mFile = file; in CreateNamespaceFix()
312 AdtPlugin.openFile(mFile, null); in run()
314 AdtPlugin.log(e, "Can't open file %1$s", mFile.getName()); in run()
317 IndexedRegion indexedRegion = perform(mFile); in run()
322 AdtPlugin.openFile(mFile, region); in run()
324 AdtPlugin.log(e, "Can't open file %1$s", mFile.getName()); in run()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/
DContextPullParser.java61 private File mFile; field in ContextPullParser
74 mFile = file; in ContextPullParser()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/
DLintListDialog.java58 private final IFile mFile; field in LintListDialog
73 mFile = file; in LintListDialog()
164 mList.setResources(Collections.<IResource>singletonList(mFile)); in createDialogArea()
234 LintFixGenerator.suppressDetector(id, true, mFile, true /*all*/); in widgetSelected()
DEclipseLintClient.java1278 private File mFile;
1283 mFile = file;
1290 return Location.create(mFile, null /*contents*/, pos.getStart(), pos.getEnd());
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
DAdtProjectTest.java437 private final IFile mFile; field in AdtProjectTest.TestLayoutEditorDelegate.TestAndroidXmlCommonEditor
445 mFile = file; in TestAndroidXmlCommonEditor()
452 return mFile; in getInputFile()
457 return mFile.getProject(); in getProject()
479 return mm.getModelForRead(mFile); in getModelForRead()
DRefactoringTest.java300 testInfo.mFile = file; in setupTestContext()
318 protected IFile mFile; field in RefactoringTest.TestContext
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/configuration/
DThemeMenuAction.java300 private final IFile mFile; field in ThemeMenuAction.OpenThemeAction
304 mFile = file; in OpenThemeAction()
310 IProject project = mFile.getProject(); in run()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/newxmlfile/
DAddTranslationDialog.java114 private Label mFile; field in AddTranslationDialog
165 mFile = new Label(container, SWT.NONE); in createDialogArea()
166 mFile.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false, 1, 1)); in createDialogArea()
346 mFile.setText(""); in updateTarget()
353 mFile.setText(String.format("Creating %1$s", mTarget)); in updateTarget()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/
DHyperlinks.java1561 private final ResourceFile mFile; field in Hyperlinks.ResourceLink
1580 mFile = file; in ResourceLink()
1603 if (mFile == null && mType == ResourceType.ID) { in open()
1622 IAbstractFile wrappedFile = mFile != null ? mFile.getFile() : null; in open()
1664 return mFile; in getFile()