I've just done the first commit against
https://bugs.eclipse.org/bugs/show_bug.cgi?id=378298.

This adds a new element MCompositePart into the UI Model. It's a
combination of both an MPart and an MPartSashContainer; allowing a part to
contain a substructure.

This is just the first (and easiest) part of the development; the real work
is going to be how we map the new capability onto our existing
presentation.

What does 'getActivePart()' mean now ? Possibilities include (at least):

  - The 'outermost' active part (i.e. the first one encountered walking
*down* from the window / perspective
  - The 'innermost' one (i.e. the currently active leaf within the
substructure)
  - Perhaps a new API 'getActivePartChain' that returns an ordered list of
the 'active' parts ?

How does the Commands infrastructure interact with the collection of parts;
if the various parts on the active chain define different (possibly
conflicting?) key bindings how are they and their handlers resolved ?

If I have a CompositePart in a stack should the stack show the toolbar and
dropdown menu from the active leaf ?

This is for the case where the substructure consists of two (or more) parts
in a sash structure where the parts are *not* in a stack.

What other issues might come up ?

I've intentionally put the model element in place early so we'll have the
maximum amount of time to figure these things out before Luna ships...

Onwards,
Eric
_______________________________________________
e4-dev mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/e4-dev

Reply via email to