Home
last modified time | relevance | path

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

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/common/
DCommonXmlEditor.java94 private CommonXmlDelegate mDelegate = null; field in CommonXmlEditor
150 mDelegate = creator.createForFile(this, type); in init()
151 if (mDelegate != null) { in init()
157 if (mDelegate == null) { in init()
165 mDelegate = new PlainXmlEditorDelegate(this); in init()
174 mDelegate = new OtherXmlEditorDelegate(this); in init()
177 mDelegate = creator.createForFile(this, type); in init()
178 if (mDelegate != null) { in init()
184 if (mDelegate == null) { in init()
192 mDelegate = new PlainXmlEditorDelegate(this); in init()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
DVisualRefactoringWizard.java29 protected final LayoutEditorDelegate mDelegate; field in VisualRefactoringWizard
33 mDelegate = editor; in VisualRefactoringWizard()
38 mDelegate.getEditor().setIgnoreXmlUpdate(true); in performFinish()
42 mDelegate.getEditor().setIgnoreXmlUpdate(false); in performFinish()
43 mDelegate.refreshXmlModel(); in performFinish()
DExtractIncludeAction.java32 ExtractIncludeRefactoring ref = new ExtractIncludeRefactoring(mFile, mDelegate, in run()
34 RefactoringWizard wizard = new ExtractIncludeWizard(ref, mDelegate); in run()
DUseCompoundDrawableAction.java33 mFile, mDelegate, mTextSelection, mTreeSelection); in run()
34 RefactoringWizard wizard = new UseCompoundDrawableWizard(ref, mDelegate); in run()
DExtractStyleAction.java32 ExtractStyleRefactoring ref = new ExtractStyleRefactoring(mFile, mDelegate, in run()
34 RefactoringWizard wizard = new ExtractStyleWizard(ref, mDelegate); in run()
DUnwrapAction.java32 UnwrapRefactoring ref = new UnwrapRefactoring(mFile, mDelegate, in run()
34 RefactoringWizard wizard = new UnwrapWizard(ref, mDelegate); in run()
DChangeLayoutAction.java32 ChangeLayoutRefactoring ref = new ChangeLayoutRefactoring(mFile, mDelegate, in run()
34 RefactoringWizard wizard = new ChangeLayoutWizard(ref, mDelegate); in run()
DChangeViewAction.java32 ChangeViewRefactoring ref = new ChangeViewRefactoring(mFile, mDelegate, in run()
34 RefactoringWizard wizard = new ChangeViewWizard(ref, mDelegate); in run()
DWrapInAction.java32 WrapInRefactoring ref = new WrapInRefactoring(mFile, mDelegate, in run()
34 RefactoringWizard wizard = new WrapInWizard(ref, mDelegate); in run()
DVisualRefactoringAction.java43 protected LayoutEditorDelegate mDelegate; field in VisualRefactoringAction
93 mDelegate = LayoutEditorDelegate.fromEditor(editor); in selectionChanged()
96 && mFile != null && mDelegate != null); in selectionChanged()
DVisualRefactoring.java114 protected final LayoutEditorDelegate mDelegate; field in VisualRefactoring
146 mDelegate = null; in VisualRefactoring()
155 mDelegate = delegate; in VisualRefactoring()
186 mDelegate = editor; in VisualRefactoring()
305 GraphicalEditorPart graphicalEditor = mDelegate.getGraphicalEditor(); in openFile()
334 IDE.openEditor(mDelegate.getEditor().getEditorSite().getPage(), file); in openFile()
646 IStructuredDocument document = mDelegate.getEditor().getStructuredDocument(); in getText()
699 IStructuredDocument doc = mDelegate.getEditor().getStructuredDocument(); in initElements()
760 if (mDelegate.getUiRootNode() != null) { in getDomDocument()
761 return mDelegate.getUiRootNode().getXmlDocument(); in getDomDocument()
[all …]
DExtractIncludeRefactoring.java239 IProject project = mDelegate.getEditor().getProject(); in computeChanges()
240 IFile sourceFile = mDelegate.getEditor().getInputFile(); in computeChanges()
462 mDelegate.getGraphicalEditor().refreshProjectResources(); in createFinishHook()
468 IWorkbenchPage page = mDelegate.getEditor().getEditorSite().getPage(); in createFinishHook()
469 page.saveEditor(mDelegate.getEditor(), false); in createFinishHook()
655 return new ExtractIncludeWizard(this, mDelegate);
DChangeViewRefactoring.java159 IFile file = mDelegate.getEditor().getInputFile(); in computeChanges()
196 IStructuredModel model = mDelegate.getEditor().getModelForRead(); in computeChanges()
283 return new ChangeViewWizard(this, mDelegate); in createWizard()
DWrapInRefactoring.java197 IStructuredDocument document = mDelegate.getEditor().getStructuredDocument(); in computeChanges()
204 IFile file = mDelegate.getEditor().getInputFile(); in computeChanges()
218 IStructuredModel model = mDelegate.getEditor().getModelForRead(); in computeChanges()
424 return new WrapInWizard(this, mDelegate); in createWizard()
DUnwrapRefactoring.java177 IFile file = mDelegate.getEditor().getInputFile(); in computeChanges()
231 return new UnwrapWizard(this, mDelegate); in createWizard()
DChangeLayoutRefactoring.java225 IFile file = mDelegate.getEditor().getInputFile(); in computeChanges()
253 IStructuredModel model = mDelegate.getEditor().getModelForRead(); in computeChanges()
587 LayoutCanvas canvas = mDelegate.getGraphicalEditor().getCanvasControl(); in convertAnyToRelative()
609 LayoutCanvas canvas = mDelegate.getGraphicalEditor().getCanvasControl(); in convertAnyToGridLayout()
655 return new ChangeLayoutWizard(this, mDelegate); in createWizard()
DExtractStyleRefactoring.java335 IFile file = getStyleFile(mDelegate.getEditor().getProject()); in computeChanges()
375 IFile sourceFile = mDelegate.getEditor().getInputFile(); in computeChanges()
510 return new ExtractStyleWizard(this, mDelegate); in createWizard()
559 ResourceResolver resolver = mDelegate.getGraphicalEditor().getResourceResolver(); in getParentStyle()
DUseCompoundDrawableRefactoring.java205 IFile file = mDelegate.getEditor().getInputFile(); in computeChanges()
341 IStructuredModel model = mDelegate.getEditor().getModelForRead(); in computeChanges()
436 return new UseCompoundDrawableWizard(this, mDelegate); in createWizard()
DExtractIncludeWizard.java44 addPage(new InputPage(mDelegate.getEditor().getProject(), sourceFile, initialName)); in addUserInputPages()
DChangeViewWizard.java66 addPage(new InputPage(mDelegate.getEditor().getProject(), oldType)); in addUserInputPages()
DChangeLayoutWizard.java58 addPage(new InputPage(mDelegate.getEditor().getProject(), oldType)); in addUserInputPages()
DWrapInWizard.java65 addPage(new InputPage(mDelegate.getEditor().getProject(), oldType)); in addUserInputPages()
DExtractStyleWizard.java67 addPage(new InputPage(mDelegate.getEditor().getProject(), initialName)); in addUserInputPages()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/
DAndroidSourceViewerConfig.java176 private IContentAssistProcessor mDelegate; field in AndroidSourceViewerConfig.FilteringContentAssistProcessor
180 mDelegate = delegate; in FilteringContentAssistProcessor()
185 ICompletionProposal[] result = mDelegate.computeCompletionProposals(viewer, offset); in computeCompletionProposals()
220 return mDelegate.computeContextInformation(viewer, offset); in computeContextInformation()
225 return mDelegate.getCompletionProposalAutoActivationCharacters(); in getCompletionProposalAutoActivationCharacters()
230 return mDelegate.getContextInformationAutoActivationCharacters(); in getContextInformationAutoActivationCharacters()
235 return mDelegate.getContextInformationValidator(); in getContextInformationValidator()
240 return mDelegate.getErrorMessage(); in getErrorMessage()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/formatting/
DAndroidXmlFormattingStrategy.java96 private ContextBasedFormattingStrategy mDelegate = null; field in AndroidXmlFormattingStrategy
109 if (mDelegate == null) { in getDelegate()
110 mDelegate = new XMLFormattingStrategy(); in getDelegate()
113 return mDelegate; in getDelegate()