Skip to main content



      Home
Home » Modeling » EMF » Alphabetical Ordering of Elements in EMF Editor
Alphabetical Ordering of Elements in EMF Editor [message #1024032] Mon, 25 March 2013 13:23 Go to next message
Eclipse UserFriend
Hello,

I have created an EMF Editor and would like to have the the elements in alphabetic order.
All the elements are now displayed in the Editor in the order how they are created. For me it would be a great feature to order them by the label of the element like in the Project Explorer.
Does anybody have an idea how to achieve that?
I will be very grateful for any help!

Kind Regards, Skandir
Re: Alphabetical Ordering of Elements in EMF Editor [message #1024266 is a reply to message #1024032] Mon, 25 March 2013 23:00 Go to previous messageGo to next message
Eclipse UserFriend
Comments below.

On 25/03/2013 9:12 PM, Skandir Vlaskow wrote:
> Hello,
>
> I have created an EMF Editor and would like to have the the elements
> in alphabetic order.
Which elements?
> All the elements are now displayed in the Editor in the order how they
> are created. For me it would be a great feature to order them by the
> label of the element like in the Project Explorer.
The item providers always show children in the order in which they
actually appear in the model.
> Does anybody have an idea how to achieve that?
You could sort them in your model.
> I will be very grateful for any help!
>
> Kind Regards, Skandir
Re: Alphabetical Ordering of Elements in EMF Editor [message #1026580 is a reply to message #1024266] Tue, 26 March 2013 08:01 Go to previous message
Eclipse UserFriend
Hi

If you just want to view a *.ecore alphabetically, you can open the file
with the OCLinECore editor (install OCL Examples and Editors), where you
will find an Ecore-like tree as the Outline with a standard Xtext A-Z
sorting icon.

Regards

Ed Willink


On 26/03/2013 03:00, Ed Merks wrote:
> Comments below.
>
> On 25/03/2013 9:12 PM, Skandir Vlaskow wrote:
>> Hello,
>>
>> I have created an EMF Editor and would like to have the the elements
>> in alphabetic order.
> Which elements?
>> All the elements are now displayed in the Editor in the order how
>> they are created. For me it would be a great feature to order them by
>> the label of the element like in the Project Explorer.
> The item providers always show children in the order in which they
> actually appear in the model.
>> Does anybody have an idea how to achieve that?
> You could sort them in your model.
>> I will be very grateful for any help!
>>
>> Kind Regards, Skandir
>
Previous Topic:How to generate "@since" tags in JDoc?
Next Topic:Registering EMF EPackage for Xtext
Goto Forum:
  


Current Time: Tue Jul 22 22:06:23 EDT 2025

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

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

Back to the top