RSE
Release 3.2

org.eclipse.rse.shells.ui.view
Class CommandEntryViewerConfiguration

java.lang.Object
  extended by org.eclipse.jface.text.source.SourceViewerConfiguration
      extended by org.eclipse.rse.shells.ui.view.CommandEntryViewerConfiguration

public class CommandEntryViewerConfiguration
extends SourceViewerConfiguration

Source viewer configuration class for command line content assist.


Constructor Summary
CommandEntryViewerConfiguration()
          Constructor
 
Method Summary
protected  char[] getCompletionProposalAutoActivationCharacters()
          Return the characters which trigger the auto-display of the list substitution variables.
 IContentAssistant getContentAssistant(ISourceViewer sourceViewer)
          Parent override.
 IRemoteCommandShell getRemoteCommand()
           
 void setRemoteCommand(IRemoteCommandShell cmd)
           
 
Methods inherited from class org.eclipse.jface.text.source.SourceViewerConfiguration
getAnnotationHover, getAutoEditStrategies, getAutoIndentStrategy, getConfiguredContentTypes, getConfiguredDocumentPartitioning, getConfiguredTextHoverStateMasks, getContentFormatter, getDefaultPrefixes, getDoubleClickStrategy, getHyperlinkDetectors, getHyperlinkPresenter, getHyperlinkStateMask, getIndentPrefixes, getIndentPrefixesForTab, getInformationControlCreator, getInformationPresenter, getOverviewRulerAnnotationHover, getPresentationReconciler, getQuickAssistAssistant, 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

CommandEntryViewerConfiguration

public CommandEntryViewerConfiguration()
Constructor

Method Detail

setRemoteCommand

public void setRemoteCommand(IRemoteCommandShell cmd)

getRemoteCommand

public IRemoteCommandShell getRemoteCommand()

getContentAssistant

public IContentAssistant getContentAssistant(ISourceViewer sourceViewer)
Parent override. Returns the content assistant ready to be used with the given source viewer.

Overrides:
getContentAssistant in class SourceViewerConfiguration
Parameters:
sourceViewer - the source viewer to be configured by this configuration
Returns:
a content assistant or null if content assist should not be supported

getCompletionProposalAutoActivationCharacters

protected char[] getCompletionProposalAutoActivationCharacters()
Return the characters which trigger the auto-display of the list substitution variables. We return '$' by default, but this can be overridden.


RSE
Release 3.2

Copyright (c) IBM Corporation and others 2000, 2010. All Rights Reserved.