|
Re: How to add a tooltip for element on the diagram? [message #61506 is a reply to message #61358] |
Thu, 12 October 2006 09:12  |
Eclipse User |
|
|
|
Hi,
There are no tooltip support in the gnfgraph model.
You may try to to add something like the code below to the generated
<DiagramElement>EditPart.
/**
* @generated NOT
*/
protected IFigure createFigure() {
IFigure result = super.createFigure();
result.setToolTip(new Label("My diagram tooltip"));
return result;
}
Regards,
Michael
"Junyan" <alexmajy@gmail.com> wrote in message
news:af5a21bf201a93a7641d6460c2e3eb0f$1@www.eclipse.org...
> Hi,
>
> Anyone konw how to add tooltip for element on the diagram? It seems that
> there is no any tooltip discussion in the group :)
>
>
> Best regards
> Junyan
>
|
|
|
Powered by
FUDForum. Page generated in 0.04313 seconds