Alphabetical Ordering of Elements in EMF Editor [message #1024032] |
Mon, 25 March 2013 13:23  |
Eclipse User |
|
|
|
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 #1026580 is a reply to message #1024266] |
Tue, 26 March 2013 08:01  |
Eclipse User |
|
|
|
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
>
|
|
|
Powered by
FUDForum. Page generated in 0.04075 seconds