/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/manifest/ |
D | ManifestEditorContributor.java | 56 protected IAction getAction(ITextEditor editor, String actionID) { in getAction() argument 57 return (editor == null ? null : editor.getAction(actionID)); in getAction() 75 ITextEditor editor = in setActivePage() local 79 getAction(editor, ITextEditorActionConstants.DELETE)); in setActivePage() 81 getAction(editor, ITextEditorActionConstants.UNDO)); in setActivePage() 83 getAction(editor, ITextEditorActionConstants.REDO)); in setActivePage() 85 getAction(editor, ITextEditorActionConstants.CUT)); in setActivePage() 87 getAction(editor, ITextEditorActionConstants.COPY)); in setActivePage() 89 getAction(editor, ITextEditorActionConstants.PASTE)); in setActivePage() 91 getAction(editor, ITextEditorActionConstants.SELECT_ALL)); in setActivePage() [all …]
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/manifest/pages/ |
D | OverviewInfoPart.java | 38 public OverviewInfoPart(Composite body, FormToolkit toolkit, ManifestEditor editor) { in OverviewInfoPart() argument 39 super(body, toolkit, editor, in OverviewInfoPart() 40 getManifestUiNode(editor), // uiElementNode in OverviewInfoPart() 50 private static UiElementNode getManifestUiNode(ManifestEditor editor) { in getManifestUiNode() argument 51 AndroidManifestDescriptors manifestDescriptors = editor.getManifestDescriptors(); in getManifestUiNode() 54 if (editor.getUiRootNode().getDescriptor() == desc) { in getManifestUiNode() 55 return editor.getUiRootNode(); in getManifestUiNode() 57 return editor.getUiRootNode().findUiChildNode(desc.getXmlName()); in getManifestUiNode() 63 return editor.getUiRootNode(); in getManifestUiNode()
|
D | PermissionPage.java | 30 import org.eclipse.ui.forms.editor.FormPage; 49 public PermissionPage(ManifestEditor editor) { in PermissionPage() argument 50 super(editor, PAGE_ID, "Permissions"); // tab label, keep it short in PermissionPage() 51 mEditor = editor; in PermissionPage()
|
D | InstrumentationPage.java | 30 import org.eclipse.ui.forms.editor.FormPage; 45 public InstrumentationPage(ManifestEditor editor) { in InstrumentationPage() argument 46 super(editor, PAGE_ID, "Instrumentation"); // tab's label, keep it short in InstrumentationPage() 47 mEditor = editor; in InstrumentationPage()
|
D | ApplicationPage.java | 33 import org.eclipse.ui.forms.editor.FormPage; 58 public ApplicationPage(ManifestEditor editor) { in ApplicationPage() argument 59 super(editor, PAGE_ID, "Application"); // tab's label, keep it short in ApplicationPage() 60 mEditor = editor; in ApplicationPage()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
D | RenderService.java | 116 private RenderService(GraphicalEditorPart editor, Object credential) { in RenderService() argument 117 mEditor = editor; in RenderService() 120 mProject = editor.getProject(); in RenderService() 121 LayoutCanvas canvas = editor.getCanvasControl(); in RenderService() 123 ConfigurationChooser chooser = editor.getConfigurationChooser(); in RenderService() 133 mLayoutLib = editor.getReadyLayoutLib(true /*displayError*/); in RenderService() 134 mResourceResolver = editor.getResourceResolver(); in RenderService() 135 mProjectCallback = editor.getProjectCallback(true /*reset*/, mLayoutLib); in RenderService() 136 mMinSdkVersion = editor.getMinSdkVersion(); in RenderService() 137 mTargetSdkVersion = editor.getTargetSdkVersion(); in RenderService() [all …]
|
D | LayoutWindowCoordinator.java | 235 private void sync(@Nullable GraphicalEditorPart editor) { in sync() argument 236 if (editor == null) { in sync() 240 editor.showStructureViews(true /*outline*/, true /*properties*/, true /*layout*/); in sync() 242 editor.showStructureViews(false /*outline*/, false /*properties*/, true /*layout*/); in sync() 243 editor.getCanvasControl().getOutlinePage().setShowPropertySheet(!mPropertiesOpen); in sync() 245 editor.showStructureViews(true /*outline*/, !mPropertiesOpen /*properties*/, in sync() 252 LayoutEditorDelegate editor = LayoutEditorDelegate.fromEditor((IEditorPart) part); in sync() local 253 if (editor != null) { in sync() 254 sync(editor.getGraphicalEditor()); in sync() 262 IEditorPart editor = activePage.getActiveEditor(); in syncActive() local [all …]
|
D | LayoutMetadata.java | 173 @NonNull final AndroidXmlEditor editor, in setProperty() 183 AdtUtils.setToolsAttribute(editor, element, undoLabel, name, value, in setProperty() 188 final IFile file = editor.getInputFile(); in setProperty() 212 boolean old = editor.getIgnoreXmlUpdate(); in setProperty() 214 editor.setIgnoreXmlUpdate(true); in setProperty() 217 editor.setIgnoreXmlUpdate(old); in setProperty() 242 AndroidXmlEditor editor = AdtUtils.getXmlEditor(part); in setPropertyInEditor() local 243 if (editor != null) { in setPropertyInEditor() 244 Document doc = DomUtilities.getDocument(editor); in setPropertyInEditor() 248 AdtUtils.setToolsAttribute(editor, element, undoLabel, name, in setPropertyInEditor()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/ |
D | VisualRefactoringAction.java | 78 IEditorPart editor = null; in selectionChanged() local 82 editor = AdtUtils.getActiveEditor(); in selectionChanged() 83 mFile = getSelectedFile(editor); in selectionChanged() 88 editor = AdtUtils.getActiveEditor(); in selectionChanged() 89 mFile = getSelectedFile(editor); in selectionChanged() 93 mDelegate = LayoutEditorDelegate.fromEditor(editor); in selectionChanged() 113 private IFile getSelectedFile(IEditorPart editor) { in getSelectedFile() argument 114 if (editor != null) { in getSelectedFile() 115 IEditorInput input = editor.getEditorInput(); in getSelectedFile()
|
D | UseCompoundDrawableWizard.java | 22 UseCompoundDrawableWizard(UseCompoundDrawableRefactoring ref, LayoutEditorDelegate editor) { in UseCompoundDrawableWizard() argument 23 super(ref, editor); in UseCompoundDrawableWizard()
|
D | UnwrapWizard.java | 22 public UnwrapWizard(UnwrapRefactoring ref, LayoutEditorDelegate editor) { in UnwrapWizard() argument 23 super(ref, editor); in UnwrapWizard()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/ |
D | AddSuppressAttribute.java | 68 @NonNull AndroidXmlEditor editor, in AddSuppressAttribute() 74 mEditor = editor; in AddSuppressAttribute() 141 @NonNull AndroidXmlEditor editor, in createFixes() 153 node = DomUtilities.getNode(editor.getStructuredDocument(), 0); in createFixes() 158 node = DomUtilities.getNode(editor.getStructuredDocument(), offset); in createFixes() 177 fixes.add(new AddSuppressAttribute(editor, id, marker, element, desc, null)); in createFixes() 192 fixes.add(new AddSuppressAttribute(editor, id, marker, element, in createFixes() 197 fixes.add(new AddSuppressAttribute(editor, id, marker, element, in createFixes() 218 @NonNull AndroidXmlEditor editor, in createFixForAll() 227 Node node = DomUtilities.getNode(editor.getStructuredDocument(), 0); in createFixForAll() [all …]
|
D | LintEditAction.java | 39 public LintEditAction(@NonNull IAction action, @NonNull AndroidXmlEditor editor) { in LintEditAction() argument 41 mEditor = editor; in LintEditAction()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/otherxml/ |
D | PlainXmlEditorDelegate.java | 32 public PlainXmlEditorDelegate(CommonXmlEditor editor) { in PlainXmlEditorDelegate() argument 33 super(editor, new OtherXmlContentAssist()); in PlainXmlEditorDelegate() 34 editor.addDefaultTargetListener(); in PlainXmlEditorDelegate()
|
D | OtherXmlTreePage.java | 28 import org.eclipse.ui.forms.editor.FormPage; 41 public OtherXmlTreePage(CommonXmlEditor editor) { in OtherXmlTreePage() argument 42 super(editor, PAGE_ID, "Structure"); // tab's label, keep it short in OtherXmlTreePage() 43 mEditor = editor; in OtherXmlTreePage()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/menu/ |
D | MenuTreePage.java | 28 import org.eclipse.ui.forms.editor.FormPage; 41 public MenuTreePage(CommonXmlEditor editor) { in MenuTreePage() argument 42 super(editor, PAGE_ID, "Layout"); // tab's label, keep it short in MenuTreePage() 43 mEditor = editor; in MenuTreePage()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/export/ |
D | ExportPropertiesPage.java | 24 import org.eclipse.ui.forms.editor.FormPage; 48 public ExportPropertiesPage(ExportEditor editor) { in ExportPropertiesPage() argument 49 super(editor, PAGE_ID, "Export Properties"); // tab's label, user visible, keep it short in ExportPropertiesPage() 50 mEditor = editor; in ExportPropertiesPage()
|
D | ExportLinksPart.java | 41 public ExportLinksPart(Composite body, FormToolkit toolkit, ExportEditor editor) { in ExportLinksPart() argument 77 mFormText.addHyperlinkListener(editor.createHyperlinkListener()); in ExportLinksPart() 110 public void onModelInit(ExportEditor editor) { in onModelInit() argument 121 public void onModelChanged(ExportEditor editor, DocumentEvent event) { in onModelChanged() argument
|
D | AbstractPropertiesFieldsPart.java | 52 public AbstractPropertiesFieldsPart(Composite body, FormToolkit toolkit, ExportEditor editor) { in AbstractPropertiesFieldsPart() argument 54 mEditor = editor; in AbstractPropertiesFieldsPart() 264 public void onModelInit(ExportEditor editor) { in onModelInit() argument 273 IDocument doc = editor.getDocument(); in onModelInit() 348 public void onModelChanged(ExportEditor editor, DocumentEvent event) { in onModelChanged() argument 353 onModelInit(editor); in onModelChanged()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/properties/ |
D | ResourceValueCompleter.java | 65 CommonXmlEditor editor = this.xmlProperty.getXmlEditor(); in getProposals() local 66 if (editor != null) { in getProposals() 68 editor, in getProposals() 89 static String[] computeResourceStringMatches(AndroidXmlEditor editor, in computeResourceStringMatches() argument 98 AndroidTargetData data = editor.getTargetData(); in computeResourceStringMatches() 106 AndroidTargetData data = editor.getTargetData(); in computeResourceStringMatches() 118 IProject project = editor.getProject(); in computeResourceStringMatches()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/ |
D | AndroidXmlEditor.java | 70 import org.eclipse.ui.forms.editor.FormEditor; 71 import org.eclipse.ui.forms.editor.IFormPage; 285 IEditorPart editor = AdtUtils.getActiveEditor(); in getAdapter() local 286 if (editor instanceof AndroidXmlEditor) { in getAdapter() 287 AndroidXmlEditor xmlEditor = (AndroidXmlEditor) editor; in getAdapter() 355 public int addPage(IEditorPart editor, IEditorInput input) throws PartInitException { 356 int index = super.addPage(editor, input); 357 if (editor instanceof IPageImageProvider) { 358 setPageImage(index, ((IPageImageProvider) editor).getPageImage()); 678 IEditorPart editor = getEditor(mTextPageIndex); [all …]
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/uimodel/ |
D | UiAttributeNode.java | 85 AndroidXmlEditor editor = getUiParent().getEditor(); in setDirty() local 86 if (editor != null) { in setDirty() 87 editor.editorDirtyStateChanged(); in setDirty()
|
/sdk/apps/NotificationStudio/src/com/android/notificationstudio/editor/ |
D | Editors.java | 17 package com.android.notificationstudio.editor; 69 Editor editor = EDITORS.get(item.getType()); in newEditor() local 70 if (editor == null) in newEditor() 72 Runnable updater = editor.bindEditor(editorView, item, new Runnable() { in newEditor()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/values/ |
D | ValuesTreePage.java | 34 import org.eclipse.ui.forms.editor.FormPage; 48 public ValuesTreePage(CommonXmlEditor editor) { in ValuesTreePage() argument 49 super(editor, PAGE_ID, "Resources"); // tab's label, keep it short in ValuesTreePage() 50 mEditor = editor; in ValuesTreePage()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gre/ |
D | NodeProxy.java | 220 final AndroidXmlEditor editor = mNode.getEditor(); in editXml() local 222 if (editor != null) { in editXml() 224 editor.wrapUndoEditXmlModel( in editXml() 241 final AndroidXmlEditor editor = mNode.getEditor(); in checkEditOK() local 242 if (!editor.isEditXmlModelPending()) { in checkEditOK() 267 AndroidXmlEditor editor = mNode.getEditor(); in insertOrAppend() local 268 if (editor != null) { in insertOrAppend() 271 IProject project = editor.getProject(); in insertOrAppend() 300 LayoutEditorDelegate delegate = LayoutEditorDelegate.fromEditor(editor); in insertOrAppend() 326 engine.callCreateHooks(editor, this, newNode, null); in insertOrAppend()
|