|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ibm.etools.iseries.edit.codeassist.base.ISeriesEditorBaseCompletionProposal
public class ISeriesEditorBaseCompletionProposal
The standard LPEX implementation of the ICompletionProposal
interface.
Field Summary | |
---|---|
protected String |
fAdditionalProposalInfo
|
protected 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,
IContextInformation contextInformation,
String additionalProposalInfo)
Create a new completion proposal. |
Method Summary | |
---|---|
void |
apply(IDocument document)
Deprecated. Use apply(LpexTextViewer) . |
void |
apply(LpexTextViewer viewer)
In LPEX, we apply against the LpexTextViewer directly, not its document. |
String |
getAdditionalProposalInfo()
|
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 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, 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 proposalcontentInformation
- the context information associated with this proposaladditionalProposalInfo
- the additional information associated with this proposalMethod Detail |
---|
public void apply(IDocument document)
apply(LpexTextViewer)
.
apply(LpexTextViewer)
public void apply(LpexTextViewer viewer)
public IContextInformation getContextInformation()
public Image getImage()
public String getDisplayString()
public String getAdditionalProposalInfo()
|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |