Home
last modified time | relevance | path

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

123

/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/build/
DAaptQuickFixTest.java26 import com.android.ide.eclipse.adt.internal.editors.AndroidXmlEditor;
118 assertTrue(editor instanceof AndroidXmlEditor); in checkResourceFix()
119 AndroidXmlEditor layoutEditor = (AndroidXmlEditor) editor; in checkResourceFix()
192 currentFile instanceof AndroidXmlEditor); in checkResourceFix()
193 AndroidXmlEditor newEditor = (AndroidXmlEditor) currentFile; in checkResourceFix()
228 assertTrue(editor instanceof AndroidXmlEditor); in checkNamespaceFix()
229 AndroidXmlEditor layoutEditor = (AndroidXmlEditor) editor; in checkNamespaceFix()
277 assertTrue(newEditor instanceof AndroidXmlEditor); in checkNamespaceFix()
279 AndroidXmlEditor xmlEditor = (AndroidXmlEditor) newEditor; in checkNamespaceFix()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/
DLintEditAction.java19 import com.android.ide.eclipse.adt.internal.editors.AndroidXmlEditor;
30 private final AndroidXmlEditor mEditor;
39 public LintEditAction(@NonNull IAction action, @NonNull AndroidXmlEditor editor) { in LintEditAction()
DSetAttributeFix.java30 import com.android.ide.eclipse.adt.internal.editors.AndroidXmlEditor;
140 if (editor instanceof AndroidXmlEditor) { in getProposal()
141 AndroidXmlEditor xmlEditor = (AndroidXmlEditor) editor; in getProposal()
DLintListDialog.java22 import com.android.ide.eclipse.adt.internal.editors.AndroidXmlEditor;
139 mIgnoreAllButton.setEnabled(mEditor instanceof AndroidXmlEditor); in createDialogArea()
220 if (editor instanceof AndroidXmlEditor) { in widgetSelected()
221 IStructuredDocument doc = ((AndroidXmlEditor) editor).getStructuredDocument(); in widgetSelected()
247 if (mEditor instanceof AndroidXmlEditor) { in widgetSelected()
248 AndroidXmlEditor editor = (AndroidXmlEditor) mEditor; in widgetSelected()
DAddSuppressAttribute.java28 import com.android.ide.eclipse.adt.internal.editors.AndroidXmlEditor;
55 private final AndroidXmlEditor mEditor;
68 @NonNull AndroidXmlEditor editor, in AddSuppressAttribute()
141 @NonNull AndroidXmlEditor editor, in createFixes()
218 @NonNull AndroidXmlEditor editor, in createFixForAll()
DSetPropertyFix.java22 import com.android.ide.eclipse.adt.internal.editors.AndroidXmlEditor;
123 if (editor instanceof AndroidXmlEditor) { in apply()
124 ((AndroidXmlEditor) editor).invokeContentAssist(-1); in apply()
DExtractStringFix.java19 import com.android.ide.eclipse.adt.internal.editors.AndroidXmlEditor;
64 if (editorPart instanceof AndroidXmlEditor) { in apply()
DLintFixGenerator.java24 import com.android.ide.eclipse.adt.internal.editors.AndroidXmlEditor;
167 AndroidXmlEditor editor = AndroidXmlEditor.fromTextViewer(sourceViewer); in computeQuickAssistProposals()
294 if (part instanceof AndroidXmlEditor) { in addSuppressAnnotation()
295 AndroidXmlEditor editor = (AndroidXmlEditor) part; in addSuppressAnnotation()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DLayoutWindowCoordinator.java20 import com.android.ide.eclipse.adt.internal.editors.AndroidXmlEditor;
251 if (part instanceof AndroidXmlEditor) { in sync()
378 if (part instanceof AndroidXmlEditor) { in partActivated()
379 ((AndroidXmlEditor)part).activated(); in partActivated()
390 if (part instanceof AndroidXmlEditor) { in partDeactivated()
391 ((AndroidXmlEditor)part).deactivated(); in partDeactivated()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
DRefactoringAssistantTest.java23 import com.android.ide.eclipse.adt.internal.editors.AndroidXmlEditor;
78 assertTrue(editor instanceof AndroidXmlEditor); in checkFixes()
79 AndroidXmlEditor layoutEditor = (AndroidXmlEditor) editor; in checkFixes()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DLayoutMetadataTest.java27 import com.android.ide.eclipse.adt.internal.editors.AndroidXmlEditor;
80 assertTrue(newEditor instanceof AndroidXmlEditor); in getNode()
81 AndroidXmlEditor xmlEditor = (AndroidXmlEditor) newEditor; in getNode()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/
DHyperlinksTest.java210 assertTrue(editor.getClass().getName(), editor instanceof AndroidXmlEditor); in checkXmlNavigation() local
211 AndroidXmlEditor layoutEditor = (AndroidXmlEditor) editor; in checkXmlNavigation()
255 if (newEditor instanceof AndroidXmlEditor) { in checkXmlNavigation()
256 AndroidXmlEditor xmlEditor = (AndroidXmlEditor) newEditor; in checkXmlNavigation()
DAndroidXmlCharacterMatcherTest.java110 assertTrue(editor instanceof AndroidXmlEditor); in checkGotoMatching()
111 AndroidXmlEditor layoutEditor = (AndroidXmlEditor) editor; in checkGotoMatching()
DAndroidXmlAutoEditStrategyTest.java43 assertTrue(editor instanceof AndroidXmlEditor); in checkInsertNewline()
44 AndroidXmlEditor layoutEditor = (AndroidXmlEditor) editor; in checkInsertNewline()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/ui/tree/
DPasteAction.java20 import com.android.ide.eclipse.adt.internal.editors.AndroidXmlEditor;
43 private final AndroidXmlEditor mEditor;
46 public PasteAction(AndroidXmlEditor editor, Clipboard clipboard, UiElementNode ui_node) { in PasteAction()
DCopyCutAction.java20 import com.android.ide.eclipse.adt.internal.editors.AndroidXmlEditor;
53 private final AndroidXmlEditor mEditor;
63 public CopyCutAction(AndroidXmlEditor editor, Clipboard clipboard, ICommitXml xmlCommit, in CopyCutAction()
75 public CopyCutAction(AndroidXmlEditor editor, Clipboard clipboard, ICommitXml xmlCommit, in CopyCutAction()
DNewItemSelectionDialog.java20 import com.android.ide.eclipse.adt.internal.editors.AndroidXmlEditor;
160 AndroidXmlEditor editor = ui_node.getEditor(); in getLeafFileName()
184 AndroidXmlEditor editor = ui_node.getEditor(); in getLastUsedXmlName()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/uimodel/
DUiAttributeNode.java20 import com.android.ide.eclipse.adt.internal.editors.AndroidXmlEditor;
85 AndroidXmlEditor editor = getUiParent().getEditor(); in setDirty()
DUiTextAttributeNode.java19 import com.android.ide.eclipse.adt.internal.editors.AndroidXmlEditor;
136 ((GridData)data).widthHint = AndroidXmlEditor.TEXT_WIDTH_HINT; in setTextWidget()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/
DAndroidXmlEditor.java108 public abstract class AndroidXmlEditor extends FormEditor { class
172 public AndroidXmlEditor() { in AndroidXmlEditor() method in AndroidXmlEditor
193 return AndroidXmlEditor.this.getProject(); in addDefaultTargetListener()
286 if (editor instanceof AndroidXmlEditor) { in getAdapter()
287 AndroidXmlEditor xmlEditor = (AndroidXmlEditor) editor; in getAdapter()
288 xmlEditor.setActivePage(AndroidXmlEditor.TEXT_EDITOR_ID); in getAdapter()
1291 setActivePage(AndroidXmlEditor.TEXT_EDITOR_ID);
1317 setActivePage(AndroidXmlEditor.TEXT_EDITOR_ID);
1576 public static AndroidXmlEditor fromTextViewer(ITextViewer viewer) {
1583 if (editor instanceof AndroidXmlEditor) {
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
DRefactoringAssistant.java21 import com.android.ide.eclipse.adt.internal.editors.AndroidXmlEditor;
90 AndroidXmlEditor xmlEditor = AndroidXmlEditor.fromTextViewer(sourceViewer); in computeQuickAssistProposals()
276 private final AndroidXmlEditor mEditor;
279 RefactoringProposal(AndroidXmlEditor editor, Refactoring refactoring) { in RefactoringProposal()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/common/
DCommonXmlDelegate.java21 import com.android.ide.eclipse.adt.internal.editors.AndroidXmlEditor;
247 return AndroidXmlEditor.CATEGORY_OTHER; in delegateGetPersistenceCategory()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/manifest/pages/
DOverviewLinksPart.java20 import com.android.ide.eclipse.adt.internal.editors.AndroidXmlEditor;
91 … mFormText.setImage("srce_img", IconFactory.getInstance().getIcon(AndroidXmlEditor.ICON_XML_PAGE)); in OverviewLinksPart()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/newxmlfile/
DNewXmlFileWizard.java27 import com.android.ide.eclipse.adt.internal.editors.AndroidXmlEditor;
150 if (editor instanceof AndroidXmlEditor) { in performFinish()
151 final AndroidXmlEditor xmlEditor = (AndroidXmlEditor)editor; in performFinish()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/assetstudio/
DCreateAssetSetWizard.java21 import com.android.ide.eclipse.adt.internal.editors.AndroidXmlEditor;
285 if (activeEditor instanceof AndroidXmlEditor) { in guessProject()
286 Object input = ((AndroidXmlEditor) activeEditor).getEditorInput(); in guessProject()

123