Hiding containers [message #85251] |
Wed, 13 December 2006 16:39 ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: Stefan.Warwas.freenet.de
This is a multi-part message in MIME format.
--------------000803020409090704000707
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit
Hi,
I am new to GMF and I have the following problem: the metamodel I am
working with has a lot of containers that I don't want to appear in the
generated editor (see appendix for an example).
The user should not be aware of Container1 and Container2. It should
only be possible to see/place "A", "B" and the link between them in the
editor/diagram.
My question is now: how is it possible to hide these containers?
Thank you for your help!
Stefan
--------------000803020409090704000707
Content-Type: image/jpeg;
name="metamodel.jpg"
Content-Transfer-Encoding: base64
Content-Disposition: inline;
filename="metamodel.jpg"
/9j/4AAQSkZJRgABAQEASABIAAD/4QAWRXhpZgAATU0AKgAAAAgAAAAAAAD/ /gAXQ3JlYXRl
ZCB3aXRoIFRoZSBHSU1Q/9sAQwAFAwQEBAMFBAQEBQUFBgcMCAcHBwcPCwsJ DBEPEhIRDxER
ExYcFxMUGhURERghGBodHR8fHxMXIiQiHiQcHh8e/9sAQwEFBQUHBgcOCAgO HhQRFB4eHh4e
Hh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4e /8AAEQgBPAEY
AwEiAAIRAQMRAf/EABwAAQEAAwEBAQEAAAAAAAAAAAAFAwQGBwIBCP/EAEoQ AAEEAQEDBgsF
BQUGBwAAAAABAgMEBREGEhMVITFVlNMUIjRBUVN0lbPR0gcjNmGRMoGSobIW JDNCcSVSYqLB
8AgXgqOksfH/xAAYAQEAAwEAAAAAAAAAAAAAAAAAAQIDBP/EACQRAQEAAwAB AwMFAAAAAAAA
AAABAgMREgQxQRNRYSEycaHB/9oADAMBAAIRAxEAPwD+ywAAAAAAAAAAAAAA AAAABMzsMNix
i4LEUc0T7a7zHtRzXaQyrzov5ohwt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6rIe75/oKA
An8r1PVZD3fP9A5XqeqyHu+f6CgAJ/K9T1WQ93z/AEDlep6rIe75/oKAAn8r 1PVZD3fP9A5X
qeqyHu+f6CgAJ/K9T1WQ93z/AEDlep6rIe75/oKAAmT5eLgu4EVxJP8ALv4+ wrf36MJkeciy
Gax1J1eeCzFZc96OjcjVTgypzK5EXz+dEOjniZPC6KTe3XdO69Wr+qc5KylC lv4qp4HAtdbj
tYljRWr9zKvOnn5+cCwCfyJheqMf2ZnyHImF6ox/ZmfICgCfyJheqMf2ZnyH ImF6ox/ZmfIB
P+Iqfslj+uEoEiKjSp7RVfA6devv1J97hRoze0fDprp09KlcAAAAAAAAARMR Jk215kr06ckX
hdnddJacxy/fP6USNdP1LZExOUxlavNDZyNOGVtuzvMkna1yazPVNUVfQBt8 XNdX4/tr+6HF
zXV+P7a/uhy3het8f2lnzHLeF63x/aWfMBxc11fj+2v7ocXNdX4/tr+6HLeF 63x/aWfMct4X
rfH9pZ8wGzX4dxnskX9CFA0Nm/w7jfZIv6EN8AAAAAAAAAAAAAAAAAAABLzq zNsYta8cckvh
a7rZHqxq/cy9Koi6foVCZnZ4a1jFzWJo4Ym213nyORrU1hlTnVfzA++Lmur8 f21/dDi5rq/H
9tf3Q5bwvW+P7Sz5jlvC9b4/tLPmA4ua6vx/bX90OLmur8f21/dDlvC9b4/t LPmOW8L1vj+0
s+YGCJ9120VXwyvXh0qT7vCnWTXx4dddWt083pK5Iiu0rm0VXwO3XsblSfe4 UiP3dXw6a6dH
QpXAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP/Z
--------------000803020409090704000707--
|
|
|
Re: Hiding containers [message #85293 is a reply to message #85251] |
Wed, 13 December 2006 17:26 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: vcciubot.uwaterloo.ca
It's possible using the runtime. I'm doing that for my diagram. But I'm
not sure it's doable from the gmfmap.
vlad
On Wed, 13 Dec 2006 17:39:45 +0100, Stefan Warwas wrote:
> Hi,
>
> I am new to GMF and I have the following problem: the metamodel I am
> working with has a lot of containers that I don't want to appear in the
> generated editor (see appendix for an example).
> The user should not be aware of Container1 and Container2. It should
> only be possible to see/place "A", "B" and the link between them in the
> editor/diagram.
> My question is now: how is it possible to hide these containers?
>
> Thank you for your help!
>
> Stefan
|
|
|
|
Re: Hiding containers [message #86011 is a reply to message #85293] |
Sun, 17 December 2006 13:01 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: Stefan.Warwas.freenet.de
Hi,
I started reading about the runtime but I am not sure where to start
exactly in order to solve the described problem. Can you give me some
more information about your approach? Is your solution similar to the
solution Linda sent me
(https://bugs.eclipse.org/bugs/show_bug.cgi?id=146535 )?
Thanks a lot!
Stefan
Vlad Ciubotariu schrieb:
> It's possible using the runtime. I'm doing that for my diagram. But I'm
> not sure it's doable from the gmfmap.
>
> vlad
>
> On Wed, 13 Dec 2006 17:39:45 +0100, Stefan Warwas wrote:
>
>> Hi,
>>
>> I am new to GMF and I have the following problem: the metamodel I am
>> working with has a lot of containers that I don't want to appear in the
>> generated editor (see appendix for an example).
>> The user should not be aware of Container1 and Container2. It should
>> only be possible to see/place "A", "B" and the link between them in the
>> editor/diagram.
>> My question is now: how is it possible to hide these containers?
>>
>> Thank you for your help!
>>
>> Stefan
>
|
|
|
Re: Hiding containers [message #86075 is a reply to message #86011] |
Sun, 17 December 2006 20:56 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: vcciubot.uwaterloo.ca
Assuming you have generated a node with a compartment, there are two
things you have to do:
(1) For that given compartment edit part you have to modify its canonical
policy to do the following:
- listen to the correct container
- return children from the correct container
(2) In the edit helper corresponding to the element type of the Node that
has the compartment you must ensure creation is done using the correct
containment feature.
These changes are straightforward, but there might be some complications
due to the way generated code works.
You can either send me your plugins so I can modify the diagram one, or I
can send you my example plugins so you see how it's done.
vlad
On Sun, 17 Dec 2006 14:01:42 +0100, Stefan Warwas wrote:
> Hi,
>
> I started reading about the runtime but I am not sure where to start
> exactly in order to solve the described problem. Can you give me some
> more information about your approach? Is your solution similar to the
> solution Linda sent me
> (https://bugs.eclipse.org/bugs/show_bug.cgi?id=146535 )?
>
> Thanks a lot!
>
> Stefan
>
>
> Vlad Ciubotariu schrieb:
>> It's possible using the runtime. I'm doing that for my diagram. But I'm
>> not sure it's doable from the gmfmap.
>>
>> vlad
>>
>> On Wed, 13 Dec 2006 17:39:45 +0100, Stefan Warwas wrote:
>>
>>> Hi,
>>>
>>> I am new to GMF and I have the following problem: the metamodel I am
>>> working with has a lot of containers that I don't want to appear in the
>>> generated editor (see appendix for an example).
>>> The user should not be aware of Container1 and Container2. It should
>>> only be possible to see/place "A", "B" and the link between them in the
>>> editor/diagram.
>>> My question is now: how is it possible to hide these containers?
>>>
>>> Thank you for your help!
>>>
>>> Stefan
>>
|
|
|
Re: Hiding containers [message #87956 is a reply to message #86075] |
Wed, 27 December 2006 16:05 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: Stefan.Warwas.freenet.de
Hi,
can you send me your example plugins? I have not succeeded in modifying
the generated code.
Thanks a lot!
Stefan
Vlad Ciubotariu schrieb:
> Assuming you have generated a node with a compartment, there are two
> things you have to do:
>
> (1) For that given compartment edit part you have to modify its canonical
> policy to do the following:
> - listen to the correct container
> - return children from the correct container
>
> (2) In the edit helper corresponding to the element type of the Node that
> has the compartment you must ensure creation is done using the correct
> containment feature.
>
>
> These changes are straightforward, but there might be some complications
> due to the way generated code works.
>
> You can either send me your plugins so I can modify the diagram one, or I
> can send you my example plugins so you see how it's done.
>
> vlad
>
>
> On Sun, 17 Dec 2006 14:01:42 +0100, Stefan Warwas wrote:
>
>> Hi,
>>
>> I started reading about the runtime but I am not sure where to start
>> exactly in order to solve the described problem. Can you give me some
>> more information about your approach? Is your solution similar to the
>> solution Linda sent me
>> (https://bugs.eclipse.org/bugs/show_bug.cgi?id=146535 )?
>>
>> Thanks a lot!
>>
>> Stefan
>>
>>
>> Vlad Ciubotariu schrieb:
>>> It's possible using the runtime. I'm doing that for my diagram. But I'm
>>> not sure it's doable from the gmfmap.
>>>
>>> vlad
>>>
>>> On Wed, 13 Dec 2006 17:39:45 +0100, Stefan Warwas wrote:
>>>
>>>> Hi,
>>>>
>>>> I am new to GMF and I have the following problem: the metamodel I am
>>>> working with has a lot of containers that I don't want to appear in the
>>>> generated editor (see appendix for an example).
>>>> The user should not be aware of Container1 and Container2. It should
>>>> only be possible to see/place "A", "B" and the link between them in the
>>>> editor/diagram.
>>>> My question is now: how is it possible to hide these containers?
>>>>
>>>> Thank you for your help!
>>>>
>>>> Stefan
>
|
|
|
Powered by
FUDForum. Page generated in 0.05196 seconds