|
Eclipse JDT Release 3.2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.jdt.ui.text.java.CompletionProposalLabelProvider
public class CompletionProposalLabelProvider
Provides labels for java content assist proposals. The functionality is
similar to the one provided by JavaElementLabels,
but based on signatures and CompletionProposals.
Signature| Constructor Summary | |
|---|---|
CompletionProposalLabelProvider()
Creates a new label provider. |
|
| Method Summary | |
|---|---|
ImageDescriptor |
createImageDescriptor(CompletionProposal proposal)
Creates and returns a decorated image descriptor for a completion proposal. |
String |
createLabel(CompletionProposal proposal)
Creates the display label for a given CompletionProposal. |
String |
createParameterList(CompletionProposal methodProposal)
Creates and returns a parameter list of the given method proposal suitable for display. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CompletionProposalLabelProvider()
| Method Detail |
|---|
public String createParameterList(CompletionProposal methodProposal)
Examples:
"void method(int i, Strings)" -> "int i, String s" "? extends Number method(java.lang.String s, ? super Number n)" -> "String s, Number n"
methodProposal - the method proposal to create the parameter list
for. Must be of kind CompletionProposal.METHOD_REF.
public String createLabel(CompletionProposal proposal)
CompletionProposal.
proposal - the completion proposal to create the display label for
proposalpublic ImageDescriptor createImageDescriptor(CompletionProposal proposal)
proposal - the proposal for which to create an image descriptor
null if no image is available
|
Eclipse JDT Release 3.2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||