Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Editor with Context-Menu/ActionBar
Editor with Context-Menu/ActionBar [message #23201] Tue, 29 April 2003 19:22 Go to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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
Previous Topic:[ANN] release 1.0.9 of metrics plugin is now ready
Next Topic:Re: Capture SHIFT key down in Editor
Goto Forum:
  


Current Time: Thu Dec 26 21:48:20 GMT 2024

Powered by FUDForum. Page generated in 0.03740 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top