Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » EMF Ecore Treemodel and Diagramm
EMF Ecore Treemodel and Diagramm [message #483684] Wed, 02 September 2009 15:06 Go to next message
MJ  is currently offline MJ Friend
Messages: 16
Registered: August 2009
Junior Member
Hello everyone,

when creating an ecore file with the treemodel editor I noticed something.
I wanted to create an EData Type and set the "Instance Type Name" in the
properties view.

There I have to insert the whole data type by myself, without a drop down
menu, for example java.lang.Integer.

A co-worker showed me that he can get this drop down menu for choosing the
data type in the ecore diagramm (.ecorediag file). In this properties view
he can choose extended meta data and set the data type there.

I myself can not choose the extended meta data tab, it doesnt exist for me.
So do I have to activate it or how can I get this tab?

thx in advance
Michael
Re: EMF Ecore Treemodel and Diagramm [message #483693 is a reply to message #483684] Wed, 02 September 2009 15:35 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33142
Registered: July 2009
Senior Member
Michael,

Comments below.


MJ wrote:
> Hello everyone,
>
> when creating an ecore file with the treemodel editor I noticed
> something.
> I wanted to create an EData Type and set the "Instance Type Name" in
> the properties view.
>
> There I have to insert the whole data type by myself, without a drop
> down menu, for example java.lang.Integer.
It seems to me when you create an EDataType it's not possible to list
all possible Java instance type names. Generally things like Integer
are best supported using EInt or EIntegerObject rather than creating
your own EDataType for them...
>
> A co-worker showed me that he can get this drop down menu for choosing
> the data type in the ecore diagramm (.ecorediag file). In this
> properties view he can choose extended meta data and set the data type
> there.
>
> I myself can not choose the extended meta data tab, it doesnt exist
> for me.
> So do I have to activate it or how can I get this tab?
The Ecore Tools project provides a nice editor that has better
properties views than just the plain old Sample Ecore Editor. Are you
using that editor yourself? It's the only place you'll find that...
>
> thx in advance Michael
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:How to load files without reference missing
Next Topic:Loading GenModel
Goto Forum:
  


Current Time: Fri Apr 26 09:45:38 GMT 2024

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

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

Back to the top