Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » How can I get a ecore model's SORTED elements tree view?
How can I get a ecore model's SORTED elements tree view? [message #415113] Fri, 30 November 2007 02:21 Go to next message
Anthony Lee is currently offline Anthony LeeFriend
Messages: 114
Registered: July 2009
Senior Member
Hi all,

When an ECore model has many elements I want to get
a sorted tree view of the model.
Can I get it by implementing some extension point?

Anthony Lee
Re: How can I get a ecore model's SORTED elements tree view? [message #415122 is a reply to message #415113] Fri, 30 November 2007 12:32 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33140
Registered: July 2009
Senior Member
Anthony,

You mean when editing an actual .ecore instance, right? I suppose that
could be done by setting a sorter on the tree viewer. I wonder if some
type of support for that would be cool to add to the generated editor?
I suspect it would confuse drag and drop badly because the underlying
item providers wouldn't know the actual order being displayed. In any
case, there's no extension point way to inject this, but you might want
to experiment by changing the editor. Maybe this is something you could
contribute.


Anthony Lee wrote:
> Hi all,
>
> When an ECore model has many elements I want to get
> a sorted tree view of the model.
> Can I get it by implementing some extension point?
>
> Anthony Lee
>
>
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:Undo/Redo using ChangeCommand
Next Topic:What techniques are EMF applying to improve performace and reduce memory footprint?
Goto Forum:
  


Current Time: Wed Apr 24 14:07:50 GMT 2024

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

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

Back to the top