Home
last modified time | relevance | path

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

123456

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/manifest/
DManifestEditorContributor.java56 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/
DOverviewInfoPart.java38 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()
DPermissionPage.java30 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()
DInstrumentationPage.java30 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()
DApplicationPage.java33 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/
DRenderService.java116 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 …]
DLayoutWindowCoordinator.java235 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 …]
DLayoutMetadata.java173 @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/
DVisualRefactoringAction.java78 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()
DUseCompoundDrawableWizard.java22 UseCompoundDrawableWizard(UseCompoundDrawableRefactoring ref, LayoutEditorDelegate editor) { in UseCompoundDrawableWizard() argument
23 super(ref, editor); in UseCompoundDrawableWizard()
DUnwrapWizard.java22 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/
DAddSuppressAttribute.java68 @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 …]
DLintEditAction.java39 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/
DPlainXmlEditorDelegate.java32 public PlainXmlEditorDelegate(CommonXmlEditor editor) { in PlainXmlEditorDelegate() argument
33 super(editor, new OtherXmlContentAssist()); in PlainXmlEditorDelegate()
34 editor.addDefaultTargetListener(); in PlainXmlEditorDelegate()
DOtherXmlTreePage.java28 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/
DMenuTreePage.java28 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/
DExportPropertiesPage.java24 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()
DExportLinksPart.java41 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
DAbstractPropertiesFieldsPart.java52 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/
DResourceValueCompleter.java65 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/
DAndroidXmlEditor.java70 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/
DUiAttributeNode.java85 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/
DEditors.java17 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/
DValuesTreePage.java34 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/
DNodeProxy.java220 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()

123456