|
Eclipse Platform 2.1 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--org.eclipse.jface.text.contentassist.ContextInformation
A default implementation of the IContextInformation interface.
| Constructor Summary | |
ContextInformation(Image image,
String contextDisplayString,
String informationDisplayString)
Creates a new context information with an image. |
|
ContextInformation(String contextDisplayString,
String informationDisplayString)
Creates a new context information without an image. |
|
| Method Summary | |
boolean |
equals(Object object)
Compares the given object with this receiver. |
String |
getContextDisplayString()
Returns the string to be displayed in the list of contexts. |
Image |
getImage()
Returns the image for this context information. |
String |
getInformationDisplayString()
Returns the string to be displayed in the tooltip like information popup. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ContextInformation(String contextDisplayString,
String informationDisplayString)
contextDisplayString - the string to be used when presenting the contextinformationDisplayString - the string to be displayed when presenting the context information
public ContextInformation(Image image,
String contextDisplayString,
String informationDisplayString)
image - the image to display when presenting the context informationcontextDisplayString - the string to be used when presenting the contextinformationDisplayString - the string to be displayed when presenting the context information,
may not be null| Method Detail |
public boolean equals(Object object)
IContextInformationequals in interface IContextInformationequals in class Objectorg.eclipse.jface.text.contentassist.IContextInformationObject.equals(Object)public String getInformationDisplayString()
IContextInformationgetInformationDisplayString in interface IContextInformationorg.eclipse.jface.text.contentassist.IContextInformationpublic Image getImage()
IContextInformationgetImage in interface IContextInformationorg.eclipse.jface.text.contentassist.IContextInformationnull if no image is desiredpublic String getContextDisplayString()
IContextInformationgetContextDisplayString in interface IContextInformationorg.eclipse.jface.text.contentassist.IContextInformation
|
Eclipse Platform 2.1 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||