SWT LPEX
v3.0.5

com.ibm.lpex.alef
Class LpexSourceViewerConfiguration

java.lang.Object
  extended byorg.eclipse.jface.text.source.SourceViewerConfiguration
      extended bycom.ibm.lpex.alef.LpexSourceViewerConfiguration

public class LpexSourceViewerConfiguration
extends SourceViewerConfiguration

This class extends the configuration space defined by SourceViewerConfiguration, with LPEX's content assist for use with an LpexSourceViewer. Instances of this class are passed to the configure() method of LpexSourceViewer.

See Also:
SourceViewerConfiguration, ISourceViewer

Constructor Summary
LpexSourceViewerConfiguration()
           
 
Method Summary
 IContentAssistant getLpexContentAssistant(ISourceViewer sourceViewer)
          Returns a content assistant ready to be used with the given LPEX source viewer.
 
Methods inherited from class org.eclipse.jface.text.source.SourceViewerConfiguration
getAnnotationHover, getAutoIndentStrategy, getConfiguredContentTypes, getConfiguredDocumentPartitioning, getConfiguredTextHoverStateMasks, getContentAssistant, getContentFormatter, getDefaultPrefixes, getDoubleClickStrategy, getIndentPrefixes, getInformationControlCreator, getInformationPresenter, getOverviewRulerAnnotationHover, getPresentationReconciler, getReconciler, getTabWidth, getTextHover, getTextHover, getUndoManager
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LpexSourceViewerConfiguration

public LpexSourceViewerConfiguration()
Method Detail

getLpexContentAssistant

public IContentAssistant getLpexContentAssistant(ISourceViewer sourceViewer)
Returns a content assistant ready to be used with the given LPEX source viewer. The default implementation of this method in LpexSourceViewerConfiguration returns null.

Parameters:
sourceViewer - the LpexSourceViewer to be configured by this configuration
Returns:
a content assistant, or null if content assist should not be supported

SWT LPEX
v3.0.5

(C) Copyright IBM Corporation 1998, 2005.  All Rights Reserved.