com.ibm.lpex.alef
Class LpexSourceViewerConfiguration

java.lang.Object
  |
  +--org.eclipse.jface.text.source.SourceViewerConfiguration
        |
        +--com.ibm.lpex.alef.LpexSourceViewerConfiguration

public class LpexSourceViewerConfiguration
extends org.eclipse.jface.text.source.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 an LpexSourceViewer ISourceViewer.

See Also:
SourceViewerConfiguration, ISourceViewer

Constructor Summary
LpexSourceViewerConfiguration()
           
 
Method Summary
 IContentAssistant getLpexContentAssistant(org.eclipse.jface.text.source.ISourceViewer sourceViewer)
          Return a com.ibm.lpex.alef.contentassist.IContentAssistant ready to be used with the given LPEX source viewer.
 
Methods inherited from class org.eclipse.jface.text.source.SourceViewerConfiguration
getAnnotationHover, getAutoIndentStrategy, getConfiguredContentTypes, getContentAssistant, getContentFormatter, getDefaultPrefix, getDoubleClickStrategy, getIndentPrefixes, getPresentationReconciler, getReconciler, getTabWidth, 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(org.eclipse.jface.text.source.ISourceViewer sourceViewer)
Return a com.ibm.lpex.alef.contentassist.IContentAssistant ready to be used with the given LPEX source viewer. This implementation 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