How to add a toolbar into the GEF editor [message #241831] |
Tue, 18 March 2008 19:16 |
Eclipse User |
|
|
|
Originally posted by: yifanzhou.gmx.de
Hi,
i need some help to implment to add a toolbar into the gef editor, just like the UML editor in Borland Together, there a beautiful toolbar in it, could someone can give me some hints.
Thank you very much
yifan
|
|
|
Re: How to add a toolbar into the GEF editor [message #241842 is a reply to message #241831] |
Wed, 19 March 2008 02:06 |
Xiang Qinxian Messages: 119 Registered: July 2009 |
Senior Member |
|
|
Hi,
Do you mean toolbar on top of the gef editor?
If so, you must override or overload the GEFEditor class, such as
GraphicalEditor, provide yourself createpartcontrol, at that point, add
a toolbar control, and the GraphicalViewer, which is gefEditor's core.
But there is a hatable thing, too many toolbar objects if tool many
editor opened, it's waste of system resources.
Cheers,
Qinxian
Yifan Zhou 写道:
> Hi,
>
> i need some help to implment to add a toolbar into the gef editor, just like the UML editor in Borland Together, there a beautiful toolbar in it, could someone can give me some hints.
> Thank you very much
>
> yifan
>
|
|
|
|
Powered by
FUDForum. Page generated in 0.03576 seconds