[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.tools.emf] Re: ecore editor that only shows a specific type of annotation

Yes, unfortunately our tools are not always as slick as they would be if someone invested a significant time in that aspect.


aappddeevv wrote:
Ecore tools does indeed have the tree view of the world and its better than the gui for seeing more of the annotations at one time, however, removing the other annotations and operations is not possible. Again, its an ability to see things in context and edit many entries quickly and all at once that helps with editing.

I noticed the need when I saw the difference for seeing things in context and editing quickly in multiple places with java pojo code versus jpa annotations after moving to EMF and teneo (which can be annotation heavy for legacy database mapping). When I realized I need to make a bunch of edits and add documentation, the disruptive editing flow became clear. I also noticed the editing speed issue when looking into grails/gorm where I could create the domain model as easily (easier actually) in code but my desire is to use EMF+Teneo and hence, annotation editing is the key aspect of this.

This may only be an issue for annotation heavy EMF model frameworks so I do not want to claim that everyone in the world is better off with such an "editor."

I bought the EMF framework book and it is clear that there is plenty of code support for navigating the ecore model and the UI needs a tree viewer with columns and some sort of filtering on the annotations (the right side of the editor).



Ed Merks wrote:
Eike,

Ecore Tools has such nice forms for editing extended meta data annotations. And make the EEF project could help produce such forms too...


Eike Stepper wrote:
I never heard of such a view but I think it's a nice idea. Why don't you develop it and contribute it to the Mint component in EMFT?

Cheers
/Eike

----
http://thegordian.blogspot.com



aappddeevv schrieb:
I am using Teneo to store my model data in a RDBMS. Its a legacy database so the table and column names are quite a bit different than those used in the model. I have to add JPA/hibernate annotations to make the model persist correctly.

However, adding and editing the annotations specific to the teneo.jpa annotation is made more difficult without being able to see and edit all of them at one time versus using the properties view for each entity and continuously reselecting the entity.

Is there a view already created that shows all the entities and attributes on the left and a specific annotation on the right that allows me to edit and see all of the annotations at one time? I wanted to avoid direct XML editing because for ecore, it is quite prone to editing errors that become hard to correct.

With this view I could edit all of the jpa annotations at once and then all of the documentation annotations at once.