Editor with Context-Menu/ActionBar [message #23201] |
Tue, 29 April 2003 19:22 |
Eclipse User |
|
|
|
Originally posted by: junost.gmx.de
Hello
I need a ContextMenu and a ActionBar in my Editor. So I tried to take over
these things from 'Logic Example'. But it doesn't work.
I wrote two classes, which extends 'ActionBarContributer' and
'ContextMenuProvider'. I also implemented the 'createAction' -method in my
'SymbolEditor'-class.
What other classes from the 'Logic Example' need to be implemented?
Thank you
Alexander M
|
|
|
Re: Editor with Context-Menu/ActionBar [message #27497 is a reply to message #23201] |
Mon, 05 May 2003 04:34 |
Eclipse User |
|
|
|
Originally posted by: shilpagu.noida.hcltech.com
hi alexander,
u need to extend ActionDelegate class and implement IEditorActionDelegate
interface.
for further information refer to the article 'Contributing Action to the
Eclipse Workbench' by Simon Arsenault at Eclipse.org.
and when u do that pls tell me how did u add initial enablement logic in
xml(plugin file) to load the class which extends the above mentioned class
and implements that interface.
i have posted this query in this newsgroup.u can reply back there.
Alexander Müller wrote:
> Hello
> I need a ContextMenu and a ActionBar in my Editor. So I tried to take over
> these things from 'Logic Example'. But it doesn't work.
> I wrote two classes, which extends 'ActionBarContributer' and
> 'ContextMenuProvider'. I also implemented the 'createAction' -method in my
> 'SymbolEditor'-class.
> What other classes from the 'Logic Example' need to be implemented?
> Thank you
> Alexander Müller
|
|
|
Powered by
FUDForum. Page generated in 0.03740 seconds