Skip to main content



      Home
Home » Eclipse Projects » GEF » is it possible for me to replace the palette with menu
is it possible for me to replace the palette with menu [message #16915] Sat, 17 August 2002 06:23 Go to next message
Eclipse UserFriend
Originally posted by: bkandan.selectica.com

hi all,
i am trying to replace the palette with popup menu
in my application...is it possible..if so how can i achieve it?

thanks in advance...

Balaji...
Re: is it possible for me to replace the palette with menu [message #17000 is a reply to message #16915] Sun, 18 August 2002 23:32 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: hudsonr.spam.com

What are you really trying to do? If you are trying to activate the
existing tools, like the creation tool, using a context menu, I would
recommend against it. We are going away from "modes" like this, and will be
using a drag-and-drop approach similar to visio. The only "mode" for most
applications should be the SelecitonTool. If you want something on the menu
like "create foo here", you don't need a tool for that, just an Action.

"netbeans" <bkandan@selectica.com> wrote in message
news:ajl7oj$l7v$1@rogue.oti.com...
> hi all,
> i am trying to replace the palette with popup menu
> in my application...is it possible..if so how can i achieve it?
>
> thanks in advance...
>
> Balaji...
>
>
Re: is it possible for me to replace the palette with menu [message #17027 is a reply to message #16915] Mon, 19 August 2002 06:54 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: bkandan.selectica.com

hi,
does anyone know where i can find a detailed documentation for GEF...as
iam find it difficult to learn from the logic example....

i am tryin to create an xml editor using gef...unlike the visio which uses
drag and drop mechanism for adding nodes, i want to let the user right click
any node and say add node or something like that, so that the user need not
draw connectors between nodes...

this is what i am trying to achieve...

thanks in advance...
Balaji

"netbeans" <bkandan@selectica.com> wrote in message
news:ajl7oj$l7v$1@rogue.oti.com...
> hi all,
> i am trying to replace the palette with popup menu
> in my application...is it possible..if so how can i achieve it?
>
> thanks in advance...
>
> Balaji...
>
>
Re: is it possible for me to replace the palette with menu [message #17055 is a reply to message #17027] Mon, 19 August 2002 09:17 Go to previous message
Eclipse UserFriend
Originally posted by: hudsonr.spam.com

Is the user able to position nodes in your application? If so, there is no
mouse location information when the context menu appears (Shift+F10 invokes
context menu also). On creation, how would you know where to create the
node?

Anyway, there is some documentation in the integrated help. You might look
at CreateRequest, and your action could extend SelectinAction, and only
enable when the correct parent is the only selected part.

"netbeans" <bkandan@selectica.com> wrote in message
news:ajqi8p$c05$1@rogue.oti.com...
> hi,
> does anyone know where i can find a detailed documentation for GEF...as
> iam find it difficult to learn from the logic example....
>
> i am tryin to create an xml editor using gef...unlike the visio which uses
> drag and drop mechanism for adding nodes, i want to let the user right
click
> any node and say add node or something like that, so that the user need
not
> draw connectors between nodes...
>
> this is what i am trying to achieve...
>
> thanks in advance...
> Balaji
>
> "netbeans" <bkandan@selectica.com> wrote in message
> news:ajl7oj$l7v$1@rogue.oti.com...
> > hi all,
> > i am trying to replace the palette with popup menu
> > in my application...is it possible..if so how can i achieve it?
> >
> > thanks in advance...
> >
> > Balaji...
> >
> >
>
>
Previous Topic:opening a viewer on an EditPart?
Next Topic:question regarding canceling tool activation
Goto Forum:
  


Current Time: Thu Mar 13 13:46:02 EDT 2025

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

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

Back to the top