Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » draw2d and menus
draw2d and menus [message #192142] Mon, 15 August 2005 12:18 Go to next message
Eclipse UserFriend
Originally posted by: sidney.lee.ibs.net

Hi!

I would like users to be able to extend the perspective menubar to be
able to initiate various application related tasks. To be able to
simulate a menu in GEF I have been looking at which draw2d components
would be appropriate. Do I merely need to create a composite using flow
containers and labels to achieve the desired result or are there other
draw2d components which are better suited?

Many Thanks, as always!
Re: draw2d and menus [message #192150 is a reply to message #192142] Mon, 15 August 2005 15:57 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

If you are popping up menus you should use menus, not figures.

"Sidney Lee" <sidney.lee@ibs.net> wrote in message
news:ddq13p$b5m$1@news.eclipse.org...
> Hi!
>
> I would like users to be able to extend the perspective menubar to be able
> to initiate various application related tasks. To be able to simulate a
> menu in GEF I have been looking at which draw2d components would be
> appropriate. Do I merely need to create a composite using flow containers
> and labels to achieve the desired result or are there other draw2d
> components which are better suited?
>
> Many Thanks, as always!
Re: draw2d and menus [message #192204 is a reply to message #192150] Tue, 16 August 2005 09:56 Go to previous message
Eclipse UserFriend
Originally posted by: sidney.lee.ibs.net

Well, what I am trying to do is to allow the user to extend the menu bar
for the perspective - though to a limited extent. So, a popup menu is
not really what I am trying to simulate. There are other ways of solving
the problem (popping up a dialog, displaying the menu items in a tree,
etc.) but I would like to try the wysiwyg approach, if possible, with a
menu bar at the top of my frame displaying the existing options, and a
'<new option>' as the last entry (on the menu bar itself or the active
submenu) where the user could use direct editing to add a menu item. So,
in essence, the menu is an extension of my existing model for which edit
parts would be created, and then displayed in some way.

Hope the explanation helps... Any suggestions?

Many Thanks!

Randy Hudson wrote:
> If you are popping up menus you should use menus, not figures.
>
> "Sidney Lee" <sidney.lee@ibs.net> wrote in message
> news:ddq13p$b5m$1@news.eclipse.org...
>
>>Hi!
>>
>>I would like users to be able to extend the perspective menubar to be able
>>to initiate various application related tasks. To be able to simulate a
>>menu in GEF I have been looking at which draw2d components would be
>>appropriate. Do I merely need to create a composite using flow containers
>>and labels to achieve the desired result or are there other draw2d
>>components which are better suited?
>>
>>Many Thanks, as always!
>
>
>
Previous Topic:IndexOutOfBoundsException in primAddSourceConnection
Next Topic:Connection to RootEditPart
Goto Forum:
  


Current Time: Wed Apr 24 16:17:16 GMT 2024

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

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

Back to the top