Remote Systems
v6.4.1

com.ibm.etools.systems.core.ui.commands
Class SystemCommandViewerConfiguration

java.lang.Object
  extended bySourceViewerConfiguration
      extended bycom.ibm.etools.systems.core.ui.commands.SystemCommandViewerConfiguration

public class SystemCommandViewerConfiguration
extends SourceViewerConfiguration

See Also:
Serialized Form

Field Summary
static String copyright
           
 
Constructor Summary
SystemCommandViewerConfiguration()
          Constructor You must call setSubstVarList.
 
Method Summary
protected  char[] getCompletionProposalAutoActivationCharacters()
          Return the characters which trigger the auto-display of the list substitution variables.
 IContentAssistant getContentAssistant(ISourceViewer sourceViewer)
          Parent override.
protected  int getStart(String string, int end)
          Guesses the start position of the completion.
 SystemCmdSubstVarList getSubstVarList()
          Return the current substitution variable list
 void setSubstVarList(SystemCmdSubstVarList variableList)
          Reset the variable list
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

copyright

public static final String copyright
See Also:
Constant Field Values
Constructor Detail

SystemCommandViewerConfiguration

public SystemCommandViewerConfiguration()
Constructor You must call setSubstVarList.

Method Detail

setSubstVarList

public void setSubstVarList(SystemCmdSubstVarList variableList)
Reset the variable list


getSubstVarList

public SystemCmdSubstVarList getSubstVarList()
Return the current substitution variable list


getContentAssistant

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

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

getStart

protected int getStart(String string,
                       int end)
Guesses the start position of the completion. Based on org.eclipse.jdt.internal.ui.text.template.TemplateVariableProcessor#getStart(String,int).

Overridable by subclasses for cases when not using ${...} substitution variable patterns


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.


Remote Systems
v6.4.1

Copyright © 2005 IBM Corp. All Rights Reserved.

Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.