|
Eclipse Platform Release 3.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.jface.text.source.SourceViewerConfiguration
org.eclipse.ui.editors.text.TextSourceViewerConfiguration
Source viewer configuration for the text editor.
Constructor Summary | |
TextSourceViewerConfiguration()
Creates a text source viewer configuration. |
|
TextSourceViewerConfiguration(IPreferenceStore preferenceStore)
Creates a text source viewer configuration and initializes it with the given preference store. |
Method Summary | |
IAnnotationHover |
getAnnotationHover(ISourceViewer sourceViewer)
Returns the annotation hover which will provide the information to be shown in a hover popup window when requested for the given source viewer.This implementation always returns null . |
int |
getTabWidth(ISourceViewer sourceViewer)
Returns the visual width of the tab character. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TextSourceViewerConfiguration()
public TextSourceViewerConfiguration(IPreferenceStore preferenceStore)
preferenceStore
- the preference store used to initialize this configurationMethod Detail |
public IAnnotationHover getAnnotationHover(ISourceViewer sourceViewer)
SourceViewerConfiguration
null
.
getAnnotationHover
in class SourceViewerConfiguration
sourceViewer
- the source viewer to be configured by this configuration
null
if no hover support should be installedpublic int getTabWidth(ISourceViewer sourceViewer)
SourceViewerConfiguration
getTabWidth
in class SourceViewerConfiguration
sourceViewer
- the source viewer to be configured by this configuration
|
Eclipse Platform Release 3.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2004. All rights reserved.