com.ibm.etools.iseries.edit.codeassist.base
Class ISeriesEditorTemplateCompletionProposal
java.lang.Object
com.ibm.etools.iseries.edit.codeassist.base.ISeriesEditorBaseCompletionProposal
com.ibm.etools.iseries.edit.codeassist.base.ISeriesEditorCompletionProposal
com.ibm.etools.iseries.edit.codeassist.base.ISeriesEditorTemplateCompletionProposal
public class ISeriesEditorTemplateCompletionProposal
- extends ISeriesEditorCompletionProposal
Methods inherited from class com.ibm.etools.iseries.edit.codeassist.base.ISeriesEditorCompletionProposal |
apply, blankString, deleteBlanksBefore, doDelete, getAdditionalColumnWidth, getHSpecIndent, insertLine, positionOfLastSeparator, resetColumnSensitivity, trimTrailingWhitespace, turnOffColumnSensitivity |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ISeriesEditorTemplateCompletionProposal
public ISeriesEditorTemplateCompletionProposal(String replacementString,
int replacementOffset,
int replacementLength,
int cursorPosition,
Image image,
String displayString,
IContextInformation contextInformation,
String additionalProposalInfo,
ISeriesEditorTemplateProposalMatch match)
getReplacementWidth
protected int getReplacementWidth(int offset)
- Overrides:
getReplacementWidth
in class ISeriesEditorCompletionProposal
trimLeadingWhitespace
protected void trimLeadingWhitespace(int amount)
- Overrides:
trimLeadingWhitespace
in class ISeriesEditorCompletionProposal
getCursorOffset
protected com.ibm.etools.iseries.edit.codeassist.base.ISeriesEditorTemplateCompletionProposal.CursorOffset getCursorOffset(int originalElement,
int originalPosition,
String replacementString)
insertText
protected void insertText(LpexView lpexView,
String replacementString)
- Overrides:
insertText
in class ISeriesEditorCompletionProposal
makeSubstitutions
protected String makeSubstitutions(String replacementString)
makeSubstitutions
protected String makeSubstitutions(String replacementString,
List vars,
List values)
getSubstitution
protected String getSubstitution(String variable)
Copyright © 2011 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.