Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » UI Issue with using Modeling Nature
UI Issue with using Modeling Nature [message #1864874] Tue, 16 April 2024 20:39 Go to next message
Carsten Wesp is currently offline Carsten WespFriend
Messages: 1
Registered: April 2024
Junior Member
Hey,
I noticed some unexpected behavior in the Model Explorer with the generated code from a .genmodel in an ECore Modeling Project.
In below screenshot, you can see that the src-gen folder does not properly display the files as expected. It rather displays them in a text only mode.

index.php/fa/44146/0/

However, you can make it display text and icons by removing the Modeling Nature from the project natures.

index.php/fa/44147/0/

I am using Eclipse version 2024-03 (4.31.0).
To reproduce this, create a blank Ecore Modeling Project. Create a basic model and generate the code. Could reproduce it on two different Eclipse installations.

How can I resolve this or did anyone have the same issue?

Thanks
Re: UI Issue with using Modeling Nature [message #1864886 is a reply to message #1864874] Thu, 18 April 2024 13:58 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33216
Registered: July 2009
Senior Member
Probably you should ask here:

https://github.com/eclipse-sirius/sirius-desktop/discussions

It's also possible that it's an Ecore Tools issue:

https://github.com/eclipse-ecoretools/ecoretools/issues


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: UI Issue with using Modeling Nature [message #1865697 is a reply to message #1864886] Thu, 09 May 2024 08:44 Go to previous message
Ed Willink is currently offline Ed WillinkFriend
Messages: 7670
Registered: July 2009
Senior Member
While the Modeling nature/perspective was well-intentioned, its implementation is sadly deficient. The Model Explorer view that 'replaces' the Package Explorer View familiar to Java users unfortunately replaces rather than extends. Consequently many behaviors differ in ways that confuse Java users. e.g a number of menu entries are missing and some additional ones are very expensive.

Yes. I have seen similar issues, resolved them and reported them. Bottom line, never use the Sirius/Modeling perspective if you can possibly avoid it. (I am working on a regular Initialize Diagram action accessible from the Package Explorer View so that creating a diagram is as easy as it was in the pre-Sirius Ecore Tools days.)



Previous Topic:Order of multi-inheritance is not deterministic?
Next Topic:How to get a localized name of EEnumLiteral
Goto Forum:
  


Current Time: Thu Sep 19 08:32:16 GMT 2024

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

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

Back to the top