Home
last modified time | relevance | path

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

12

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/export/
DExportPropertiesPage.java42 ExportEditor mEditor; field in ExportPropertiesPage
50 mEditor = editor; in ExportPropertiesPage()
70 mFieldsPart = new ExportFieldsPart(body, toolkit, mEditor); in createFormContent()
74 mLinksPart = new ExportLinksPart(body, toolkit, mEditor); in createFormContent()
78 mFieldsPart.onModelInit(mEditor); in createFormContent()
79 mLinksPart.onModelInit(mEditor); in createFormContent()
90 mFieldsPart.onModelInit(mEditor); in onModelInit()
94 mLinksPart.onModelInit(mEditor); in onModelInit()
106 mFieldsPart.onModelChanged(mEditor, event); in onModelChanged()
110 mLinksPart.onModelChanged(mEditor, event); in onModelChanged()
DAbstractPropertiesFieldsPart.java48 private ExportEditor mEditor; field in AbstractPropertiesFieldsPart
54 mEditor = editor; in AbstractPropertiesFieldsPart()
62 return mEditor; in getEditor()
129 mEditor.wrapRewriteSession(new Runnable() { in commit()
146 IDocument doc = mEditor.getDocument(); in saveFieldsToModel()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/manifest/pages/
DOverviewPage.java54 ManifestEditor mEditor; field in OverviewPage
64 mEditor = editor; in OverviewPage()
90 mOverviewPart = new OverviewInfoPart(body, toolkit, mEditor); in createFormContent()
96 OverviewExportPart exportPart = new OverviewExportPart(this, body, toolkit, mEditor); in createFormContent()
100 mOverviewLinkPart = new OverviewLinksPart(body, toolkit, mEditor); in createFormContent()
106 UiElementNode manifest = mEditor.getUiRootNode(); in newManifestExtrasPart()
107 mTreeBlock = new UiTreeBlock(mEditor, manifest, in newManifestExtrasPart()
128 UiElementNode manifest = mEditor.getUiRootNode(); in refreshUiApplicationNode()
136 UiElementNode manifest = mEditor.getUiRootNode(); in computeManifestExtraFilters()
137 AndroidManifestDescriptors manifestDescriptor = mEditor.getManifestDescriptors(); in computeManifestExtraFilters()
DPermissionPage.java45 ManifestEditor mEditor; field in PermissionPage
51 mEditor = editor; in PermissionPage()
73 UiElementNode manifest = mEditor.getUiRootNode(); in createFormContent()
74 AndroidManifestDescriptors manifestDescriptor = mEditor.getManifestDescriptors(); in createFormContent()
85 mTreeBlock = new UiTreeBlock(mEditor, manifest, in createFormContent()
98 UiElementNode manifest = mEditor.getUiRootNode(); in refreshUiNode()
99 AndroidManifestDescriptors manifestDescriptor = mEditor.getManifestDescriptors(); in refreshUiNode()
DInstrumentationPage.java41 ManifestEditor mEditor; field in InstrumentationPage
47 mEditor = editor; in InstrumentationPage()
69 UiElementNode manifest = mEditor.getUiRootNode(); in createFormContent()
70 AndroidManifestDescriptors manifestDescriptor = mEditor.getManifestDescriptors(); in createFormContent()
79 mTreeBlock = new UiTreeBlock(mEditor, manifest, in createFormContent()
92 UiElementNode manifest = mEditor.getUiRootNode(); in refreshUiNode()
93 AndroidManifestDescriptors manifestDescriptor = mEditor.getManifestDescriptors(); in refreshUiNode()
DApplicationPage.java50 ManifestEditor mEditor; field in ApplicationPage
60 mEditor = editor; in ApplicationPage()
89 mTooglePart = new ApplicationToggle(body, toolkit, mEditor, appUiNode); in createFormContent()
92 mAttrPart = new ApplicationAttributesPart(body, toolkit, mEditor, appUiNode); in createFormContent()
96 mTreeBlock = new UiTreeBlock(mEditor, appUiNode, in createFormContent()
109 AndroidManifestDescriptors manifestDescriptor = mEditor.getManifestDescriptors(); in getUiApplicationNode()
112 return mEditor.getUiRootNode().findUiChildNode(desc.getXmlName()); in getUiApplicationNode()
115 return mEditor.getUiRootNode(); in getUiApplicationNode()
DOverviewLinksPart.java38 private final ManifestEditor mEditor; field in OverviewLinksPart
43 mEditor = editor; in OverviewLinksPart()
113 AndroidManifestDescriptors manifestDescriptor = mEditor.getManifestDescriptors(); in onSdkChanged()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/values/
DValuesTreePage.java46 CommonXmlEditor mEditor; field in ValuesTreePage
50 mEditor = editor; in ValuesTreePage()
56 IFile file = mEditor.getInputFile(); in getPageImage()
81 IEditorInput input = mEditor.getEditorInput(); in createFormContent()
100 UiElementNode resources = mEditor.getUiRootNode(); in createFormContent()
101 UiTreeBlock block = new UiTreeBlock(mEditor, resources, in createFormContent()
DValuesContentAssist.java102 AndroidTargetData data = mEditor.getTargetData(); in computeAttributeValues()
156 AndroidTargetData data = mEditor.getTargetData(); in computeTextValues()
183 uiParent.setEditor(mEditor); in computeTextValues()
212 mEditor, null /*attributeDescriptor*/, prefix); in computeTextValues()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactorings/core/
DRenameResourceXmlTextAction.java76 private final ITextEditor mEditor; field in RenameResourceXmlTextAction
85 mEditor = editor; in RenameResourceXmlTextAction()
119 Shell shell = mEditor.getSite().getShell(); in run()
153 MessageDialog.openInformation(mEditor.getSite().getShell(), in run()
160 if (mEditor instanceof ITextEditorExtension2) in validateEditorInputState()
161 return ((ITextEditorExtension2) mEditor).validateEditorInputState(); in validateEditorInputState()
162 else if (mEditor instanceof ITextEditorExtension) in validateEditorInputState()
163 return !((ITextEditorExtension) mEditor).isEditorInputReadOnly(); in validateEditorInputState()
164 else if (mEditor != null) in validateEditorInputState()
165 return mEditor.isEditable(); in validateEditorInputState()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/
DLintEditAction.java30 private final AndroidXmlEditor mEditor; field in LintEditAction
41 mEditor = editor; in LintEditAction()
47 mEditor.runEditHooks(); in runWithEvent()
DLintListDialog.java59 private final IEditorPart mEditor; field in LintListDialog
74 mEditor = editor; in LintListDialog()
139 mIgnoreAllButton.setEnabled(mEditor instanceof AndroidXmlEditor); in createDialogArea()
247 if (mEditor instanceof AndroidXmlEditor) { in widgetSelected()
248 AndroidXmlEditor editor = (AndroidXmlEditor) mEditor; in widgetSelected()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/otherxml/
DOtherXmlTreePage.java39 CommonXmlEditor mEditor; field in OtherXmlTreePage
43 mEditor = editor; in OtherXmlTreePage()
63 UiElementNode rootNode = mEditor.getUiRootNode(); in createFormContent()
64 UiTreeBlock block = new UiTreeBlock(mEditor, rootNode, in createFormContent()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/menu/
DMenuTreePage.java39 CommonXmlEditor mEditor; field in MenuTreePage
43 mEditor = editor; in MenuTreePage()
63 UiElementNode rootNode = mEditor.getUiRootNode(); in createFormContent()
64 UiTreeBlock block = new UiTreeBlock(mEditor, rootNode, in createFormContent()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DCreateNewConfigJob.java44 private final GraphicalEditorPart mEditor; field in CreateNewConfigJob
53 mEditor = editor; in CreateNewConfigJob()
77 String text = mEditor.getEditorDelegate().getEditor().getStructuredDocument().get(); in run()
92 Display display = mEditor.getConfigurationChooser().getDisplay(); in run()
102 ConfigurationChooser chooser = mEditor.getConfigurationChooser(); in run()
DLayoutActionBar.java73 private GraphicalEditorPart mEditor; field in LayoutActionBar
94 mEditor = editor; in LayoutActionBar()
119 LayoutCanvas canvas = mEditor.getCanvasControl(); in updateSelection()
143 RulesEngine engine = mEditor.getRulesEngine(); in updateSelection()
350 mEditor.getCanvasControl().getSelectionManager().getSelections(); in getSelectedNodes()
561 CommonXmlEditor editor = mEditor.getEditorDelegate().getEditor(); in createLintControls()
576 updateErrorIndicator(mEditor.getEditedFile()); in updateErrorIndicator()
662 LayoutCanvas canvas = mEditor.getCanvasControl(); in rescale()
689 mEditor.getCanvasControl().setScale(1, true /*redraw*/); in resetScale()
696 mEditor.getCanvasControl().setFitScale(onlyZoomOut, true /*allowZoomIn*/); in rescaleToFit()
[all …]
DPaletteControl.java191 private GraphicalEditorPart mEditor; field in PaletteControl
262 mEditor = editor; in PaletteControl()
367 LayoutLibrary layoutLibrary = mEditor.getLayoutLibrary(); in previewsAvailable()
378 ConfigurationChooser configChooser = mEditor.getConfigurationChooser(); in reloadPalette()
514 CustomViewFinder finder = CustomViewFinder.get(mEditor.getProject()); in reloadPalette()
563 final CustomViewFinder finder = CustomViewFinder.get(mEditor.getProject()); in addCustomItems()
578 ViewElementDescriptor desc = service.getDescriptor(mEditor.getProject(), fqcn); in addCustomItems()
595 AdtPlugin.openJavaClass(mEditor.getProject(), fqcn); in addCustomItems()
601 AdtPlugin.openJavaClass(mEditor.getProject(), fqcn); in addCustomItems()
610 return mEditor; in getEditor()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactorings/extractstring/
DExtractStringAction.java77 private IEditorPart mEditor; field in ExtractStringAction
114 mEditor = getActiveEditor(); in selectionChanged()
115 mFile = getSelectedFile(mEditor); in selectionChanged()
128 ExtractStringRefactoring ref = new ExtractStringRefactoring(mFile, mEditor, mSelection); in run()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/ui/
DResourcePreviewHelper.java64 private final GraphicalEditorPart mEditor; field in ResourcePreviewHelper
84 this.mEditor = editor; in ResourcePreviewHelper()
128 ResourceResolver resources = mEditor.getResourceResolver(); in updatePreview()
139 ResourceResolver resources = mEditor.getResourceResolver(); in updatePreview()
168 RenderService renderService = RenderService.create(mEditor); in updatePreview()
183 Display display = mEditor.getSite().getShell().getDisplay(); in updatePreview()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/ui/tree/
DPasteAction.java43 private final AndroidXmlEditor mEditor; field in PasteAction
48 mEditor = editor; in PasteAction()
69 mEditor.wrapEditXmlModel(new Runnable() { in run()
73 IStructuredDocument sse_doc = mEditor.getStructuredDocument(); in run()
DCopyCutAction.java53 private final AndroidXmlEditor mEditor; field in CopyCutAction
78 mEditor = editor; in CopyCutAction()
165 IStructuredModel model = mEditor.getModelForRead(); in getXmlTextFromEditor()
167 IStructuredDocument sse_doc = mEditor.getStructuredDocument(); in getXmlTextFromEditor()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/ui/
DUiElementPart.java46 private ManifestEditor mEditor; field in UiElementPart
56 mEditor = editor; in UiElementPart()
72 return mEditor; in getEditor()
270 mEditor.wrapEditXmlModel(new Runnable() { in commit()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/common/
DCommonXmlDelegate.java48 private final CommonXmlEditor mEditor; field in CommonXmlDelegate
83 mEditor = editor; in CommonXmlDelegate()
96 return mEditor; in getEditor()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/animator/
DAnimationContentAssist.java63 String folderName = AdtUtils.getParentFolderName(mEditor.getEditorInput()); in getRootDescriptorId()
82 AndroidTargetData data = mEditor.getTargetData(); in computeAttributeValues()
113 AndroidTargetData data = mEditor.getTargetData(); in computeAttributeValues()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/
DAndroidContentAssist.java115 protected AndroidXmlEditor mEditor; field in AndroidContentAssist
145 if (mEditor == null) { in computeCompletionProposals()
146 mEditor = AndroidXmlEditor.fromTextViewer(viewer); in computeCompletionProposals()
147 if (mEditor == null) { in computeCompletionProposals()
167 UiElementNode rootUiNode = mEditor.getUiRootNode(); in computeCompletionProposals()
413 AndroidTargetData data = mEditor.getTargetData(); in getChoicesForAttribute()
470 mEditor, attributeDescriptor, value); in getAttributeValueChoices()
475 mEditor, attributeDescriptor, value); in getAttributeValueChoices()
500 ISourceViewer viewer = mEditor.getStructuredSourceViewer(); in computeTextValues()
756 return mEditor; in getEditor()
[all …]

12