Skip to main content



      Home
Home » Eclipse Projects » GEF » Editor with Context-Menu/ActionBar
Editor with Context-Menu/ActionBar [message #77454] Wed, 30 April 2003 10:45 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 #77470 is a reply to message #77454] Wed, 30 April 2003 11:40 Go to previous messageGo to next message
Eclipse UserFriend
Are either of these classes being created? Or is it a problem of
appropriate methods not being called? Does your plugin.xml reference
your ActionBarContributor subclass?

From logic example's plugin.xml:
....
contributorClass=" org.eclipse.gef.examples.logicdesigner.actions.LogicActionBa rContributor "
....


Eric


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
>
>
>
>
Re: Editor with Context-Menu/ActionBar [message #77501 is a reply to message #77470] Wed, 30 April 2003 12:06 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: junost.gmx.de

Thank you, I forgot the changes in 'plugin.xml'. ActionBar works now.
Do I need an entry in 'plugin.xml' for the Context-Menu?

Alexander M
Re: Editor with Context-Menu/ActionBar [message #77551 is a reply to message #77501] Wed, 30 April 2003 12:52 Go to previous message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

"Alexander M
Previous Topic:Mapping model elements to EditParts
Next Topic:Multi-page printing
Goto Forum:
  


Current Time: Wed Apr 30 21:26:46 EDT 2025

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

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

Back to the top