|
|
Re: Linking different Models [message #530660 is a reply to message #530585] |
Fri, 30 April 2010 13:05 |
Patrick Schmitt Messages: 87 Registered: July 2009 |
Member |
|
|
I am using packages already. I fear that the models get to big and confusing. One Metamodel is possible, then I could create many dynamic instances choosing different root entry points from the metamodel.
But with the default tree view editor an access to other instances is not possible, isnt it ?
Jonas wrote on Fri, 30 April 2010 04:46 | Hi,
yes that is absolutely possible. Models are registered via extension
points and can therefore even be in different plugins. My question would
be, why you want to split both meta models and not just use packages...
Cheers
Jonas
Patrick Schmitt wrote:
> Hello,
> my question is if its possible to link model instances ?
> A simple scenario would be: One model to store customers into and a
> second model to store orders into -> When working in the order model to
> get access to the customers of the other model
>
> Ideally I also want 2 metamodels, one for customers and one for orders.
>
> Any ideas how to realise it ?
>
>
> Kind regards
> Patrick
|
[Updated on: Fri, 30 April 2010 13:10] Report message to a moderator
|
|
|
|
Re: Linking different Models [message #530983 is a reply to message #530733] |
Mon, 03 May 2010 09:21 |
Patrick Schmitt Messages: 87 Registered: July 2009 |
Member |
|
|
Thanks for your hint, i tried the load ressource option, its excactly what i wanted.
Sincerly
Patrick
Ed Merks wrote on Fri, 30 April 2010 12:06 | Patrick,
All the generated editors, including the Sample Ecore Editor support
Load Resource... that lets you load another resource and thereby gain
access to the objects in that resource. I think that's all you're
asking for.
Patrick Schmitt wrote:
> I am using packages already. I fear that the models get to big and
> confusing.
>
> Jonas wrote on Fri, 30 April 2010 04:46
>> Hi,
>> yes that is absolutely possible. Models are registered via extension
>> points and can therefore even be in different plugins. My question
>> would be, why you want to split both meta models and not just use
>> packages...
>> Cheers
>> Jonas
>>
>> Patrick Schmitt wrote:
>> > Hello,
>> > my question is if its possible to link model instances ?
>> > A simple scenario would be: One model to store customers into and a
>> > second model to store orders into -> When working in the order
>> model to > get access to the customers of the other model
>> > > Ideally I also want 2 metamodels, one for customers and one for
>> orders.
>> > > Any ideas how to realise it ?
>> > > > Kind regards
>> > Patrick
>
>
|
|
|
|
Powered by
FUDForum. Page generated in 0.02834 seconds