|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Choice
Description of a syntax completion choice. A choice is characterized by a kind (indicating the type of model construct that it represents), a name, and a description (which is useful for constructing text for a content-assist window). The choice also can provide the actual model element that it represents, in case the client knows how to interpret it.
Note that this interface is not intended to be implemented by clients.
Method Summary | |
---|---|
java.lang.String |
getDescription()
Obtains my description, suitable for display in a UI tool tip or pop-up help window. |
java.lang.Object |
getElement()
Obtains the model element (property, operation, type, etc.) that is the choice in question. |
ChoiceKind |
getKind()
Queries the kind of syntax completion suggestion that I am. |
java.lang.String |
getName()
Obtains my name, suitable for display in a UI list. |
Method Detail |
---|
ChoiceKind getKind()
java.lang.String getName()
java.lang.String getDescription()
java.lang.Object getElement()
|
Copyright 2002, 2007 IBM Corporation and others. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |