Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Creating a request
Creating a request [message #227167] Thu, 30 November 2006 07: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 18:04 Go to previous messageGo to next message
Alex Boyko is currently offline Alex BoykoFriend
Messages: 200
Registered: July 2009
Senior Member
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 21:14 Go to previous message
Alex Boyko is currently offline Alex BoykoFriend
Messages: 200
Registered: July 2009
Senior Member
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: Thu Apr 25 17:28:30 GMT 2024

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

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

Back to the top