[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [e4-dev] More Model Question and Proposals
|
Am 11.03.10 15:40, schrieb Eric Moffatt:
>
> Missed this one earlier...the reason that MWindowTrim is an MPSCElement
> is to allow for the eventual use of Editor Area based Toolbars
> (something that the eclipse community has wanted for a long time) but I
> agree that it may be too loose.
... but well it is named WindowTrim and not EditorTrim.
I think that we need to make it explicit that ElementContainer#children
are somehow seen as Part-Child-Relations and WindowTrim, EditorTrim are
special stuff which gets part of special attributes.
So if I look at the model and the resulting UI I would expect to see the
stuff in ElementContainer#children show up in the same order they are in
the children-container and if window-trims are in between my parts - our
current model would allow to have a list of modeled elements like this
below a Window:
Window
+ Part
+ PartStack
+ WindowTrim (bottom)
+ Part
+ WindowTrim (top)
Which is a bit unintuive not?
>
> My concern is that if we over-restrict the model we prevent clients from
> using it in new and wonderful ways. We do have to avoid being able to
> construct nonsense though.
I'm all for being as less restrictive as possible but we need to have a
structure. People can experiment with our model because they can extend
and if they want to add a EditorTrim-Type and an
EditorTrimPartStack-Type they can.
>
> On a related note one of the containment elements that's is currently
> missing is that there is no way to add a stack to a stack, do we need a
> StackPart ?
>
You mean PartStackContainer? The child of such container has to
something of type UILabel!
Tom
--
B e s t S o l u t i o n . a t EDV Systemhaus GmbH
------------------------------------------------------------------------
tom schindl geschaeftsfuehrer/CEO
------------------------------------------------------------------------
eduard-bodem-gasse 5/1 A-6020 innsbruck phone ++43 512 935834