Skip to main content



      Home
Home » Modeling » GMF (Graphical Modeling Framework) » Main Menu
Main Menu [message #118031] Tue, 10 April 2007 05:43 Go to next message
Eclipse UserFriend
Originally posted by: evaandoli.dodo.com.au

Has anyone managed to add a main menu using the .gmftool associating in the
..gmfmap and it appears in the diagram ?

Just can't get any menu to appear using the various .gmf files and editors.

Im using M5 build.
Re: Main Menu [message #118203 is a reply to message #118031] Tue, 10 April 2007 09:42 Go to previous messageGo to next message
Eclipse UserFriend
Hello stu,

This feature is not implemented yet. Should be in future.

-----------------
Alex Shatalin
Re: Main Menu [message #118312 is a reply to message #118203] Wed, 11 April 2007 04:55 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: evaandoli.dodo.com.au

Ok, so I want to call a "action" method from the diagram.
What method are implemented that I can use ?
Maybe toolbar ? (I couldnt get that to work from the GMF editor files
either).

Any suggestions would be great,

Stu

"Alex Shatalin" <vano@borland.com> wrote in message
news:3c3172e6125938c9499df248475e@news.eclipse.org...
> Hello stu,
>
> This feature is not implemented yet. Should be in future.
>
> -----------------
> Alex Shatalin
>
>
Re: Main Menu [message #118322 is a reply to message #118312] Wed, 11 April 2007 05:21 Go to previous messageGo to next message
Eclipse UserFriend
> Any suggestions would be great,
Hi,

Since the documentation for GMF Menu was quite poor I just added a menu
with Eclipse normal extension point (see org.eclipse.ui.editorActions
extension point and then menu and action tags, then inherits /
implements (I)ActionDelegate / IEditorActionDelegate in a class).

Perhaps you should just do that.
Re: Main Menu [message #118652 is a reply to message #118203] Thu, 12 April 2007 01:24 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: evaandoli.dodo.com.au

Does that mean the toolbar stuff is also not implemented from the editors ?

Im guessing all menu stuff (toolbar, main menu and context menu), is that
right ?

"Alex Shatalin" <vano@borland.com> wrote in message
news:3c3172e6125938c9499df248475e@news.eclipse.org...
> Hello stu,
>
> This feature is not implemented yet. Should be in future.
>
> -----------------
> Alex Shatalin
>
>
Re: Main Menu [message #118664 is a reply to message #118322] Thu, 12 April 2007 04:11 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: evaandoli.dodo.com.au

Ok I found the extension point stuff in the tutorial (not sure how I missed
it the first time - maybe because I didn;t really understand it).

Ok my issue now is - I don;t understand how these extension points work - is
there a good tutorial. I've gone over the GMF bit in tutorial 3 and I think
it assumes knowledge of extension points. So how do I get that :-)

Thanks in advance,

Stu

"Youmm P." <kototamo@gmail.com> wrote in message
news:evi9hd$5l2$1@build.eclipse.org...
>
>> Any suggestions would be great,
> Hi,
>
> Since the documentation for GMF Menu was quite poor I just added a menu
> with Eclipse normal extension point (see org.eclipse.ui.editorActions
> extension point and then menu and action tags, then inherits / implements
> (I)ActionDelegate / IEditorActionDelegate in a class).
>
> Perhaps you should just do that.
Re: Main Menu [message #118676 is a reply to message #118664] Thu, 12 April 2007 04:30 Go to previous messageGo to next message
Eclipse UserFriend
> there a good tutorial. I've gone over the GMF bit in tutorial 3 and I think
> it assumes knowledge of extension points. So how do I get that :-)
>
An extension point is like the "not yet connected" side of a piece of
puzzle :)

I found my happiness in the book "the Java developer's guid to Eclipse"
but you can also see http://help.eclipse.org/help32/index.jsp. I think
there is enough explanations. You can also look in some plugin examples
in the CVS, they all use extensions points, be sure :)!

http://wiki.eclipse.org/index.php/CVS_Howto
Re: Main Menu [message #118712 is a reply to message #118652] Thu, 12 April 2007 08:03 Go to previous messageGo to next message
Eclipse UserFriend
Hello stu,

> Does that mean the toolbar stuff is also not implemented from the
> editors ?
>
> Im guessing all menu stuff (toolbar, main menu and context menu), is
> that right ?
Yes.

-----------------
Alex Shatalin
Re: Main Menu [message #118785 is a reply to message #118031] Thu, 12 April 2007 08:32 Go to previous message
Eclipse UserFriend
Originally posted by: evaandoli.dodo.com.au

Ok a few pointer for us beginners :-)

Open up the MANIFEST and go to extension.
Click add and check out the wizards on the second tab.
The hello world example implements a simple extension which is nice to
follow.

Youmm P thanks for the pointers.

"Stu" <evaandoli@dodo.com.au> wrote in message
news:evfm8l$6m9$1@build.eclipse.org...
> Has anyone managed to add a main menu using the .gmftool associating in
> the .gmfmap and it appears in the diagram ?
>
> Just can't get any menu to appear using the various .gmf files and
> editors.
>
> Im using M5 build.
>
Previous Topic:edges between edges
Next Topic:Problems with Command
Goto Forum:
  


Current Time: Mon Jun 02 07:09:25 EDT 2025

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

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

Back to the top