Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[eclipse-incubator-e4-dev] Locator Prototype

Since everyone else is checking in code, I thought I'd jump on the bandwagon :-)

http://wiki.eclipse.org/E4/Commands

A Locator prototype is now included in the ui-e4Set.psf ...
org.eclipse.e4.locator.  It's a plugin, although right now it is not
integrated with any of the other demos but does have running tests.

The Command+Handler framework in Eclipse 3.x has a lot of good
patterns and abstractions, but falls short in wiring local UI elements
(like a view tool item or context menu item) with a matching local
handler (that is informed about the local model like the view current
selection).

In E4 it would be nice to simplify the command+handler execution path
as much as possible, but it look like it must support at least these 2
usecases: executing the global application context, and executing
within some local context.  It would be nice if they didn't interfere
with each other.  The prototype builds on the IServiceLocator notion
introduced in 3.4 and generalizes it ... the local ILocator should be
able to look up information appropriate to the local context while
providing a global context to the application that makes sense.

Sorry the page is such a jumble :-) but it's getting late for me.

-- 
Paul Webster
Hi floor. Make me a sammich! - GIR


Back to the top