Thanks Remy,

I see that if we want to allow users to hook everywhere we need a way to refer to a node.
And of course relative fragments are too fragile.

But is it really necessary to allow contributions to every node? Wouldn't it be ok if one could only add
children or refer to nodes which have a name/id?

We could specify the id attribute manually (i.e. giving it readable names like in 3.x). If the id attribute is not set the element wouldn't be referable (resp. extendable).

This would allow people to explicitly make their UI elements extendable or not.

And even more important we would get rid of the UUIDs.

Sven

On Mar 11, 2010, at 3:32 PM, Remy Suen wrote:

On Thu, Mar 11, 2010 at 9:24 AM, Sven Efftinge <[email protected] > wrote:
> A pointer to some code would be even better.

Well, if you can parse my code then you are more than welcome to try and grep it.

You can take a look at:
-E4XMIResource
-XMLModelReconciler

http://dev.eclipse.org/viewcvs/index.cgi/e4/org.eclipse.e4.ui/bundles/org.eclipse.e4.ui.workbench/src/org/eclipse/e4/workbench/ui/internal/

The tests are also generic enough that it should be possible to swap in reconciler implementations without too much effort.

Regards,
Remy

----------
Remy Suen
Eclipse Platform/UI Committer
IBM Ottawa
613-356-5162

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

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

Reply via email to