Skip to main content



      Home
Home » Eclipse Projects » GEF » Creating a request
Creating a request [message #227167] Thu, 30 November 2006 02:25 Go to next message
Eclipse UserFriend
Originally posted by: dstamkokeng.gmail.com

Hi,

May I know how do I create a new Request type and where and how do I send
the Request so that my Command in my EditPolicy can handle it?

Or are the number of Request fixed and I can only create my own Commands
to handle the Request?

Thanks :)
Re: Creating a request [message #227224 is a reply to message #227167] Thu, 30 November 2006 13:04 Go to previous messageGo to next message
Eclipse UserFriend
Hi,

You can create as many new requests as you like - there is no limit.
Requests are sent to edit parts to obtain a command for the request, to be
able later on to execute the command and, hence, deliver changes to the
model.
Requests can be created by various user actions: clicking on actions on
the popup menus and tool bars, drag and drop, mouse clicks on figures etc.
Requests are created by:
1) tools - subclasses of AbstractTool
2) actions, i.e. actions contributed to tool bars

Hope this helps.

Cheers,
Alex
Re: Creating a request [message #227249 is a reply to message #227224] Thu, 30 November 2006 16:14 Go to previous message
Eclipse UserFriend
Per previous comment:

Requests can also be created inside edit policies to obtain subcommands.
Previous Topic:How to set focus on IPropertySource?
Next Topic:How to provide printing functionality in GEF application?
Goto Forum:
  


Current Time: Wed May 14 18:19:45 EDT 2025

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

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

Back to the top