Home
last modified time | relevance | path

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

12

/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/
DHyperlinksTest.java225 sb.append(viewer.getDocument().get(region.getOffset(), region.getLength())); in checkXmlNavigation()
257 document = xmlEditor.getStructuredSourceViewer().getDocument(); in checkXmlNavigation()
269 document = textViewer.getDocument(); in checkXmlNavigation()
287 document = javaEditor.getDocumentProvider().getDocument(javaEditor.getEditorInput()); in checkXmlNavigation()
DAndroidXmlAutoEditStrategyTest.java48 IDocument document = viewer.getDocument(); in checkInsertNewline()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DDomUtilities.java160 public static Document getDocument(@NonNull IFile file) { in getDocument() method in DomUtilities
173 return domModel.getDocument(); in getDocument()
195 public static Document getDocument(@NonNull AndroidXmlEditor editor) { in getDocument() method in DomUtilities
200 return domModel.getDocument(); in getDocument()
804 return domModel.getDocument(); in parseStructuredDocument()
848 return domModel.getDocument(); in createEmptyDocument()
DLayoutMetadata.java244 Document doc = DomUtilities.getDocument(editor); in setPropertyInEditor()
270 Document doc = DomUtilities.getDocument(variation); in setPropertyInFile()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/resources/platform/
DAttrsXmlParser.java158 Document doc = getDocument(); in preload()
187 if (getDocument() != null) { in loadViewAttributes()
208 if (getDocument() != null) { in loadLayoutParamsAttributes()
253 private Document getDocument() { in getDocument() method in AttrsXmlParser
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/
DAaptQuickFix.java125 IDocument document = provider.getDocument(markerResource); in getResolutions()
175 IDocument document = sourceViewer.getDocument(); in computeQuickAssistProposals()
258 Document document = domModel.getDocument(); in perform()
DConvertSwitchQuickFixProcessor.java113 IDocument document = provider.getDocument(file); in getCorrections()
DAaptParser.java675 IDocument document = provider.getDocument(file); in findRange()
709 IDocument document = provider.getDocument(file); in findLineTextRange()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactorings/core/
DRenameResourceXmlTextAction.java101 IDocument document = getDocument(); in run()
388 private IDocument getDocument() { in getDocument() method in RenameResourceXmlTextAction
393 IDocument document = documentProvider.getDocument(mEditor.getEditorInput()); in getDocument()
DAndroidPackageRenameParticipant.java122 Document document = DomUtilities.getDocument(mManifestFile); in checkConditions()
396 Element root = domModel.getDocument().getDocumentElement();
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/export/
DAbstractPropertiesFieldsPart.java146 IDocument doc = mEditor.getDocument(); in saveFieldsToModel()
273 IDocument doc = editor.getDocument(); in onModelInit()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/
DAndroidTextEditor.java505 mDocument = provider.getDocument(getEditorInput());
535 public IDocument getDocument() {
DAndroidContentAssist.java159 Pair<Node, Node> context = DomUtilities.getNodeContext(viewer.getDocument(), offset); in computeCompletionProposals()
919 IDocument document = viewer.getDocument(); in extractElementPrefix()
951 IDocument document = viewer.getDocument(); in extractChar()
966 IDocument document = viewer.getDocument(); in nextNonspaceChar()
1026 IDocument document = viewer.getDocument(); in parseAttributeInfo()
DAndroidXmlEditor.java824 if (!(mTextEditor.getTextViewer().getDocument() instanceof IStructuredDocument)) {
876 return (IStructuredDocument) mTextEditor.getTextViewer().getDocument();
1214 return dom_model.getDocument();
1379 IDocument document = textViewer.getDocument();
1454 IDocument document = textViewer.getDocument();
DCompletionProposal.java197 Document dom = DomUtilities.getDocument(mAssist.getEditor()); in apply()
DHyperlinks.java918 Document document = domModel.getDocument(); in findValueInXml()
1007 Document document = domModel.getDocument(); in findIdInXml()
1089 Document document = parser.getDocument(); in findValueInXml()
1301 IDocument document = textViewer.getDocument(); in detectHyperlinks()
1429 IDocument document = textEditor.getDocumentProvider().getDocument( in detectHyperlinks()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactorings/extractstring/
DXmlStringFileHelper.java114 IDOMDocument doc = ((IDOMModel) smodel).getDocument(); in internalGetResIdsForFile()
/sdk/eclipse/plugins/com.android.ide.eclipse.pdt/src/com/android/ide/eclipse/pdt/internal/
DSourceRevealer.java98 IDocument document = documentProvider.getDocument(input); in reveal()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/
DAddSuppressAnnotation.java123 IDocument document = provider.getDocument(editorInput); in run()
315 IDocument document = provider.getDocument(editorInput); in createFixes()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/formatting/
DEclipseXmlPrettyPrinterTest.java58 document = domModel.getDocument(); in checkFormat()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/
DAdtUtils.java880 Document doc = domModel.getDocument();
922 IDocument currentDocument = buffer.getDocument();
1336 IDocument document = provider.getDocument(file);
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/build/
DAaptQuickFixTest.java280 IDocument document = xmlEditor.getStructuredSourceViewer().getDocument(); in checkNamespaceFix()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
DRefactoringAssistant.java173 Node node = DomUtilities.getNode(textViewer.getDocument(), caretOffset); in computeQuickAssistProposals()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
DRefactoringTest.java277 domDocument = domModel.getDocument(); in setupTestContext()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/project/
DBaseProjectHelper.java389 IDocument document = documentProvider.getDocument(input); in revealSource()

12