Home
last modified time | relevance | path

Searched refs:getEditor (Results 1 – 25 of 81) sorted by relevance

1234

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/
DLayoutEditorDelegate.java260 IEditorInput input = getEditor().getEditorInput(); in delegateCreateFormPages()
281 mGraphicalEditorIndex = getEditor().addPage(mGraphicalEditor, in delegateCreateFormPages()
282 getEditor().getEditorInput()); in delegateCreateFormPages()
283 getEditor().setPageText(mGraphicalEditorIndex, mGraphicalEditor.getTitle()); in delegateCreateFormPages()
333 if (getEditor().getEditorInput().equals(editorInput)) { in showEditorInput()
339 getEditor().doSave(new NullProgressMonitor()); in showEditorInput()
342 int currentPage = getEditor().getActivePage(); in showEditorInput()
347 int count = getEditor().getPageCount(); in showEditorInput()
349 getEditor().removePage(i); in showEditorInput()
353 getEditor().removePage(i); in showEditorInput()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/animator/
DAnimationEditorDelegate.java100 AndroidTargetData data = getEditor().getTargetData(); in delegateXmlModelChanged()
117 getUiRootNode().setEditor(getEditor()); in delegateXmlModelChanged()
134 AndroidTargetData data = getEditor().getTargetData(); in delegateInitUiRootNode()
146 getUiRootNode().setEditor(getEditor()); in delegateInitUiRootNode()
155 String folderName = AdtUtils.getParentFolderName(getEditor().getEditorInput()); in getFolderType()
163 IStructuredModel model = getEditor().getModelForRead(); in onDescriptorsChanged()
166 Node node = getEditor().getXmlDocument(model).getDocumentElement(); in onDescriptorsChanged()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/drawable/
DDrawableEditorDelegate.java96 AndroidTargetData data = getEditor().getTargetData(); in delegateXmlModelChanged()
109 getUiRootNode().setEditor(getEditor()); in delegateXmlModelChanged()
126 AndroidTargetData data = getEditor().getTargetData(); in delegateInitUiRootNode()
134 getUiRootNode().setEditor(getEditor()); in delegateInitUiRootNode()
143 IStructuredModel model = getEditor().getModelForRead(); in onDescriptorsChanged()
146 Node node = getEditor().getXmlDocument(model).getDocumentElement(); in onDescriptorsChanged()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/color/
DColorEditorDelegate.java93 AndroidTargetData data = getEditor().getTargetData(); in delegateInitUiRootNode()
100 getUiRootNode().setEditor(getEditor()); in delegateInitUiRootNode()
106 IStructuredModel model = getEditor().getModelForRead(); in onDescriptorsChanged()
109 Node node = getEditor().getXmlDocument(model).getDocumentElement(); in onDescriptorsChanged()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/otherxml/
DOtherXmlEditorDelegate.java74 getEditor().addPage(new OtherXmlTreePage(getEditor())); in delegateCreateFormPages()
107 AndroidTargetData data = getEditor().getTargetData(); in delegateInitUiRootNode()
117 getUiRootNode().setEditor(getEditor()); in delegateInitUiRootNode()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/common/
DCommonXmlDelegate.java95 public @NonNull CommonXmlEditor getEditor() { in getEditor() method in CommonXmlDelegate
136 getEditor().setPartName(file.getName()); in delegateSetInput()
140 getEditor().setPartName(name); in delegateSetInput()
177 return getEditor().startLintJob(); in delegateRunLint()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gre/
DClientRulesEngine.java162 GraphicalEditorPart editor = mRulesEngine.getEditor(); in rename()
223 ViewHierarchy views = mRulesEngine.getEditor().getCanvasControl().getViewHierarchy(); in getViewObject()
248 return mRulesEngine.getEditor().getCanvasControl().getInsets(fqcn); in getMetadata()
262 IAndroidTarget target = currentSdk.getTarget(mRulesEngine.getEditor().getProject());
286 Document doc = mRulesEngine.getEditor().getModel().getXmlDocument();
296 IProject project = mRulesEngine.getEditor().getProject();
331 GraphicalEditorPart graphicalEditor = mRulesEngine.getEditor();
333 IProject project = delegate.getEditor().getProject();
367 GraphicalEditorPart graphicalEditor = mRulesEngine.getEditor();
374 GraphicalEditorPart editor = mRulesEngine.getEditor();
[all …]
DNodeProxy.java220 final AndroidXmlEditor editor = mNode.getEditor(); in editXml()
241 final AndroidXmlEditor editor = mNode.getEditor(); in checkEditOK()
267 AndroidXmlEditor editor = mNode.getEditor(); in insertOrAppend()
481 LayoutEditorDelegate delegate = LayoutEditorDelegate.fromEditor(mNode.getEditor()); in getFqcnViewDescriptor()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/menu/
DMenuEditorDelegate.java79 getEditor().addPage(new MenuTreePage(getEditor())); in delegateCreateFormPages()
147 AndroidTargetData data = getEditor().getTargetData(); in delegateInitUiRootNode()
157 getUiRootNode().setEditor(getEditor()); in delegateInitUiRootNode()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/values/
DValuesEditorDelegate.java82 getEditor().addPage(new ValuesTreePage(getEditor())); in delegateCreateFormPages()
131 getUiRootNode().setEditor(getEditor()); in delegateInitUiRootNode()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
DVisualRefactoringWizard.java38 mDelegate.getEditor().setIgnoreXmlUpdate(true); in performFinish()
42 mDelegate.getEditor().setIgnoreXmlUpdate(false); in performFinish()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DPreviewIconFactory.java167 if (!mPalette.getEditor().renderingSupports(Capability.ADAPTER_BINDING)) { in partitionRenderElements()
171 IAndroidTarget renderingTarget = mPalette.getEditor().getRenderingTarget(); in partitionRenderElements()
210 GraphicalEditorPart editor = mPalette.getEditor(); in render()
234 AndroidTargetData data = layoutEditorDelegate.getEditor().getTargetData(); in render()
242 model.setEditor(layoutEditorDelegate.getEditor()); in render()
368 mPalette.getEditor().recomputeLayout(); in render()
385 ResourceResolver resources = mPalette.getEditor().getResourceResolver(); in getColorsFromTheme()
439 GraphicalEditorPart editor = mPalette.getEditor(); in renderDrawableResource()
DLayoutCanvasViewer.java91 return mEditorDelegate.getEditor().getEditorInput(); in getInput()
117 if (mEditorDelegate.getEditor().getIgnoreXmlUpdate()) { in setSelection()
DOutlineDragListener.java63 final LayoutCanvas canvas = mOutlinePage.getEditor().getCanvasControl(); in dragStart()
97 LayoutCanvas canvas = mOutlinePage.getEditor().getCanvasControl(); in dragSetData()
DLayoutCanvas.java274 IFile file = editorDelegate != null ? editorDelegate.getEditor().getInputFile() : null; in LayoutCanvas()
324 IEditorSite editorSite = getEditorDelegate().getEditor().getEditorSite(); in LayoutCanvas()
426 IEditorSite editorSite = getEditorDelegate().getEditor().getEditorSite();
832 IFile file = mEditorDelegate.getEditor().getInputFile(); in setScale()
1159 page.saveEditor(mEditorDelegate.getEditor(), false); in showInclude()
1276 boolean found = mEditorDelegate.getEditor().show(xmlNode); in showXml()
1422 ITextEditor editor = mEditorDelegate.getEditor().getStructuredTextEditor(); in updateGlobalActions()
1423 boolean graphical = getEditorDelegate().getEditor().getActivePage() == 0; in updateGlobalActions()
1437 mUndoAction = new LintEditAction(undoAction, getEditorDelegate().getEditor()); in updateGlobalActions()
1442 mRedoAction = new LintEditAction(redoAction, getEditorDelegate().getEditor()); in updateGlobalActions()
[all …]
DFragmentMenu.java103 IProject project = mCanvas.getEditorDelegate().getEditor().getProject(); in addMenuItems()
245 LayoutMetadata.setProperty(delegate.getEditor(), xmlNode, KEY_FRAGMENT_LAYOUT, in setNewLayout()
289 IFile file = delegate.getEditor().getInputFile(); in run()
DOutlineDropListener.java113 final LayoutCanvas canvas = mOutlinePage.getEditor().getCanvasControl(); in performDrop()
125 canvas.getEditorDelegate().getEditor().wrapUndoEditXmlModel(label, new Runnable() { in performDrop()
DClipboardSupport.java207 mCanvas.getEditorDelegate().getEditor().wrapUndoEditXmlModel(title, new Runnable() { in deleteSelection()
290 mCanvas.getEditorDelegate().getEditor().wrapUndoEditXmlModel("Paste", new Runnable() { in pasteSelection()
337 delegate.getEditor().wrapUndoEditXmlModel(title, new Runnable() { in pasteInEmptyDocument()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/properties/
DPropertyValueCompleter.java32 protected CommonXmlEditor getEditor() { in getEditor() method in PropertyValueCompleter
DValueCompleter.java57 protected abstract CommonXmlEditor getEditor(); in getEditor() method in ValueCompleter
112 CommonXmlEditor editor = getEditor(); in getProposals()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/ui/tree/
DUiActions.java160 getRootNode().getEditor().wrapEditXmlModel(new Runnable() { in doRemove()
204 getRootNode().getEditor().wrapEditXmlModel(new Runnable() { in doUp()
385 getRootNode().getEditor().wrapEditXmlModel(new Runnable() { in doDown()
589 rootNode.getEditor().wrapEditXmlModel(new Runnable() { in addNewTreeElement()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/uimodel/
DUiElementNode.java581 public AndroidXmlEditor getEditor() { in getEditor() method in UiElementNode
582 return mUiParent == null ? mEditor : mUiParent.getEditor(); in getEditor()
591 return getEditor().getTargetData(); in getAndroidTarget()
859 AndroidXmlEditor editor = getEditor(); in reloadFromXmlNode()
1000 AndroidXmlEditor editor = getEditor(); in createXmlNode()
1095 getEditor().scheduleNodeReformat(this, false); in createXmlNode()
1181 AndroidXmlEditor editor = getEditor(); in updateElementList()
1247 AndroidXmlEditor editor = getEditor(); in updateElementList()
1645 if (AdtPrefs.getPrefs().getFormatGuiXml() && getEditor().supportsFormatOnGuiEdit()) { in commitDirtyAttributesToXml()
1770 getEditor().scheduleNodeReformat(this, true); in setAttributeValue()
[all …]
DUiAttributeNode.java85 AndroidXmlEditor editor = getUiParent().getEditor(); in setDirty()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/manifest/pages/
DOverviewInfoPart.java84 setUiElementNode(getManifestUiNode(getEditor())); in onSdkChanged()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/uimodel/
DUiViewElementNode.java89 IProject project = getEditor().getProject(); in getAttributeDescriptors()
173 AndroidXmlEditor editor = getEditor(); in getIcon()

1234