Home
last modified time | relevance | path

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

12

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/
DAndroidContentAssist.java142 public ICompletionProposal[] computeCompletionProposals(ITextViewer viewer, int offset) { in computeCompletionProposals() argument
143 String wordPrefix = extractElementPrefix(viewer, offset); in computeCompletionProposals()
146 mEditor = AndroidXmlEditor.fromTextViewer(viewer); in computeCompletionProposals()
159 Pair<Node, Node> context = DomUtilities.getNodeContext(viewer.getDocument(), offset); in computeCompletionProposals()
175 AttribInfo info = parseAttributeInfo(viewer, offset, offset - wordPrefix.length()); in computeCompletionProposals()
176 char nextChar = extractChar(viewer, offset); in computeCompletionProposals()
181 computeAttributeProposals(proposals, viewer, offset, wordPrefix, currentUiNode, in computeCompletionProposals()
184 computeNonAttributeProposals(viewer, offset, wordPrefix, proposals, parentNode, in computeCompletionProposals()
192 private void computeNonAttributeProposals(ITextViewer viewer, int offset, String wordPrefix, in computeNonAttributeProposals() argument
205 boolean isNew = replaceLength == 0 && nextNonspaceChar(viewer, offset) == '<'; in computeNonAttributeProposals()
[all …]
DAndroidSourceViewerConfig.java184 public ICompletionProposal[] computeCompletionProposals(ITextViewer viewer, int offset) { in computeCompletionProposals() argument
185 ICompletionProposal[] result = mDelegate.computeCompletionProposals(viewer, offset); in computeCompletionProposals()
219 public IContextInformation[] computeContextInformation(ITextViewer viewer, int offset) { in computeContextInformation() argument
220 return mDelegate.computeContextInformation(viewer, offset); in computeContextInformation()
DAndroidOutlineConfiguration.java34 public ILabelProvider getLabelProvider(TreeViewer viewer) { in getLabelProvider() argument
DAndroidXmlEditor.java1576 public static AndroidXmlEditor fromTextViewer(ITextViewer viewer) {
1586 if (ssviewer == viewer) {
1600 if (ssviewer == viewer) {
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/
DAndroidXmlAutoEditStrategyTest.java45 ISourceViewer viewer = layoutEditor.getStructuredSourceViewer(); in checkInsertNewline() local
48 IDocument document = viewer.getDocument(); in checkInsertNewline()
52 int offset = updateCaret(viewer, before); in checkInsertNewline()
77 viewer.setSelectedRange(caretOffset, 0); in checkInsertNewline()
81 Point selectedRange = viewer.getSelectedRange(); in checkInsertNewline()
DAndroidXmlCharacterMatcherTest.java112 ISourceViewer viewer = layoutEditor.getStructuredSourceViewer(); in checkGotoMatching() local
114 int caretPosBefore = updateCaret(viewer, caretBefore); in checkGotoMatching()
DHyperlinksTest.java212 ISourceViewer viewer = layoutEditor.getStructuredSourceViewer(); in checkXmlNavigation() local
215 IHyperlink[] links = resolver.detectHyperlinks(viewer, new Region(offset, 0), true); in checkXmlNavigation()
225 sb.append(viewer.getDocument().get(region.getOffset(), region.getLength())); in checkXmlNavigation()
DAndroidContentAssistTest.java907 ISourceViewer viewer = xmlEditor.getStructuredSourceViewer(); in complete() local
910 int offset = updateCaret(viewer, caretLocation); in complete()
913 ICompletionProposal[] proposals = assist.computeCompletionProposals(viewer, offset); in complete()
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/views/
DFrameSummaryView.java39 GLFunctionTraceViewer viewer = (GLFunctionTraceViewer) part; in doCreatePage() local
40 FrameSummaryViewPage page = viewer.getFrameSummaryViewPage(); in doCreatePage()
DStateView.java43 GLFunctionTraceViewer viewer = (GLFunctionTraceViewer) part; in doCreatePage() local
44 StateViewPage page = viewer.getStateViewPage(); in doCreatePage()
DFrameSummaryViewPage.java335 public void inputChanged(Viewer viewer, Object oldInput, Object newInput) { in inputChanged() argument
410 public int compare(Viewer viewer, Object e1, Object e2) { in compare() argument
438 return super.compare(viewer, e1, e2); in compare()
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/views/detail/
DDetailsView.java37 GLFunctionTraceViewer viewer = (GLFunctionTraceViewer) part; in doCreatePage() local
38 DetailsPage page = viewer.getDetailsPage(); in doCreatePage()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
DRefactoringAssistantTest.java80 final ISourceViewer viewer = layoutEditor.getStructuredSourceViewer(); in checkFixes() local
95 return viewer; in checkFixes()
DAdtProjectTest.java346 protected int updateCaret(ISourceViewer viewer, String caretLocation) { in updateCaret() argument
351 String text = viewer.getTextWidget().getText(); in updateCaret()
380 viewer.setSelectedRange(offset, length); in updateCaret()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/build/
DAaptQuickFixTest.java120 final ISourceViewer viewer = layoutEditor.getStructuredSourceViewer(); in checkResourceFix() local
161 return viewer; in checkResourceFix()
230 final ISourceViewer viewer = layoutEditor.getStructuredSourceViewer(); in checkNamespaceFix() local
261 return viewer; in checkNamespaceFix()
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/editors/
DStateContentProvider.java33 public void inputChanged(Viewer viewer, Object oldInput, Object newInput) { in inputChanged() argument
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/ui/tree/
DUiModelTreeContentProvider.java116 public void inputChanged(Viewer viewer, Object oldInput, Object newInput) { in inputChanged() argument
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/ui/
DResourceContentProvider.java119 public void inputChanged(Viewer viewer, Object oldInput, Object newInput) { in inputChanged() argument
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/
DCollectTraceAction.java175 GLFunctionTraceViewer viewer = getOpenTraceViewer(page, traceFilePath); in openInEditor() local
176 if (viewer != null) { in openInEditor()
177 viewer.setInput(shell, traceFilePath); in openInEditor()
/sdk/eclipse/plugins/com.android.ide.eclipse.pdt/src/com/android/ide/eclipse/pdt/internal/
DDevTreeProjectProvider.java103 public void inputChanged(Viewer viewer, Object oldInput, Object newInput) { in selectProject()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/
DColumnDialog.java117 public void inputChanged(Viewer viewer, Object oldInput, Object newInput) { in inputChanged() argument
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/newproject/
DImportPage.java408 public void inputChanged(Viewer viewer, Object oldInput, Object newInput) { in inputChanged() argument
483 private ProjectNameEditingSupport(ColumnViewer viewer) { in ProjectNameEditingSupport() argument
484 super(viewer); in ProjectNameEditingSupport()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/properties/
DFlagXmlPropertyDialog.java166 public void inputChanged(Viewer viewer, Object oldInput, Object newInput) { in inputChanged() argument
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/exportgradle/
DConfirmationPage.java132 public void inputChanged(Viewer viewer, Object oldInput, Object newInput) { in createControl()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/newxmlfile/
DAddTranslationDialog.java578 private TranslationEditingSupport(ColumnViewer viewer) { in TranslationEditingSupport() argument
579 super(viewer); in TranslationEditingSupport()

12