|
iSeries Remote Systems v6.0.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.etools.iseries.editor.codeassist.base.ISeriesEditorBaseCompletionProposal
The standard LPEX implementation of the ICompletionProposal
interface.
Field Summary | |
---|---|
protected String |
fAdditionalProposalInfo
|
protected com.ibm.lpex.alef.contentassist.IContextInformation |
fContextInformation
|
protected int |
fCursorPosition
|
protected String |
fDisplayString
|
protected Image |
fImage
|
protected int |
fReplacementLength
|
protected int |
fReplacementOffset
|
protected String |
fReplacementString
|
Constructor Summary | |
---|---|
ISeriesEditorBaseCompletionProposal(String replacementString,
int replacementOffset,
int replacementLength,
int cursorPosition)
Create a new completion proposal based on the information provided. |
|
ISeriesEditorBaseCompletionProposal(String replacementString,
int replacementOffset,
int replacementLength,
int cursorPosition,
Image image,
String displayString,
com.ibm.lpex.alef.contentassist.IContextInformation contextInformation,
String additionalProposalInfo)
Create a new completion proposal. |
Method Summary | |
---|---|
void |
apply(IDocument document)
Deprecated. Use apply(LpexTextViewer) . |
void |
apply(com.ibm.lpex.alef.LpexTextViewer viewer)
In LPEX, we apply against the LpexTextViewer directly, not its document. |
String |
getAdditionalProposalInfo()
|
com.ibm.lpex.alef.contentassist.IContextInformation |
getContextInformation()
|
String |
getDisplayString()
|
Image |
getImage()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected String fDisplayString
protected String fReplacementString
protected int fReplacementOffset
protected int fReplacementLength
protected int fCursorPosition
protected Image fImage
protected com.ibm.lpex.alef.contentassist.IContextInformation fContextInformation
protected String fAdditionalProposalInfo
Constructor Detail |
public ISeriesEditorBaseCompletionProposal(String replacementString, int replacementOffset, int replacementLength, int cursorPosition)
null
.
replacementString
- the actual string to be inserted into the documentreplacementOffset
- the offset of the text to be replaced relative to the
current cursor position (i.e., 0 or < 0)replacementLength
- the length of the text to be replacedcursorPosition
- N/U (in Eclipse: the position of the cursor following the
insert, relative to replacementOffset)public ISeriesEditorBaseCompletionProposal(String replacementString, int replacementOffset, int replacementLength, int cursorPosition, Image image, String displayString, com.ibm.lpex.alef.contentassist.IContextInformation contextInformation, String additionalProposalInfo)
replacementString
- the actual string to be inserted into the documentreplacementOffset
- the offset of the text to be replaced relative to the
current cursor position (i.e., 0 or < 0)replacementLength
- the length of the text to be replacedcursorPosition
- N/U (in Eclipse: the position of the cursor following the
insert, relative to replacementOffset)image
- the image to display for this proposaldisplayString
- the string to be displayed for the proposaladditionalProposalInfo
- the additional information associated with this proposalMethod Detail |
public void apply(IDocument document)
apply(LpexTextViewer)
.
apply(LpexTextViewer)
public void apply(com.ibm.lpex.alef.LpexTextViewer viewer)
apply
in interface com.ibm.lpex.alef.contentassist.ICompletionProposal
public com.ibm.lpex.alef.contentassist.IContextInformation getContextInformation()
getContextInformation
in interface com.ibm.lpex.alef.contentassist.ICompletionProposal
public Image getImage()
getImage
in interface com.ibm.lpex.alef.contentassist.ICompletionProposal
public String getDisplayString()
getDisplayString
in interface com.ibm.lpex.alef.contentassist.ICompletionProposal
public String getAdditionalProposalInfo()
getAdditionalProposalInfo
in interface com.ibm.lpex.alef.contentassist.ICompletionProposal
|
iSeries Remote Systems v6.0.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |