Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Epsilon » [EuGENia] GMF compartment nodes behaving badly
[EuGENia] GMF compartment nodes behaving badly [message #631207] Wed, 06 October 2010 14:56 Go to next message
Jan Landen is currently offline Jan LandenFriend
Messages: 4
Registered: October 2010
Junior Member
Hello guys,

I'am a total newbie on GMF and Eugenia and having a problem with compartment features.

If I have following - very simple model defined - compartments wont work correctly. If I create two Box elements on the canvas and then drag one of them into another, there will be "shadow" Box element created as well. It is not a new Box object in the model but it just will be shown in the diagram...

Am I missing something or is this a bug? I could not find anything about this from previous posts...

@gmf.diagram(foo="bar")
class Diagram {
val Box[*] elements;
}

@gmf.node(label="name")
class Box{
attr String name;

@gmf.compartment(foo="bar")
val Box[*] boxes;
}

Thanks in advance,
Jan
Re: [EuGENia] GMF compartment nodes behaving badly [message #631352 is a reply to message #631207] Thu, 07 October 2010 08:12 Go to previous messageGo to next message
Dimitrios Kolovos is currently offline Dimitrios KolovosFriend
Messages: 1776
Registered: July 2009
Senior Member
Hi Jan,

Unfortunately, I can't seem to be able to reproduce this. Which version
of Eclipse/GMF are you using? I've tried this with Galileo Modeling SR2
and it works as expected (no shadow boxes).

Cheers,
Dimitris

On 06/10/2010 16:56, Jan Landen wrote:
> Hello guys,
>
> I'am a total newbie on GMF and Eugenia and having a problem with
> compartment features.
>
> If I have following - very simple model defined - compartments wont work
> correctly. If I create two Box elements on the canvas and then drag one
> of them into another, there will be "shadow" Box element created as
> well. It is not a new Box object in the model but it just will be shown
> in the diagram...
>
> Am I missing something or is this a bug? I could not find anything about
> this from previous posts...
>
> @gmf.diagram(foo="bar")
> class Diagram {
> val Box[*] elements; }
>
> @gmf.node(label="name")
> class Box{
> attr String name;
>
> @gmf.compartment(foo="bar")
> val Box[*] boxes;
> }
>
> Thanks in advance,
> Jan
>
Re: [EuGENia] GMF compartment nodes behaving badly [message #631358 is a reply to message #631352] Thu, 07 October 2010 08:45 Go to previous messageGo to next message
Jan Landen is currently offline Jan LandenFriend
Messages: 4
Registered: October 2010
Junior Member
Hello Dimitris,

Thank you for your reply!

I have Eclipse Helios as my IDE running on 64bit windows 7 with Eugenia version 0.8.9 and GMF SDK 2.3.0.

I had the same odd behavior with the Filesystem example as well...

I'll try this with other setup and let you know the result.

//Jan



Re: [EuGENia] GMF compartment nodes behaving badly [message #631386 is a reply to message #631207] Thu, 07 October 2010 11:15 Go to previous messageGo to next message
Jan Landen is currently offline Jan LandenFriend
Messages: 4
Registered: October 2010
Junior Member
Hello again,

I tried this again with Helios SR1 (64bit Windows 7) with following details.

The issue still remains - will produce "shadow" objects.

I'll try this with previous versions of Eclipse...


org.eclipse.gmf (1.4.1.v20100909-1300-7d9A78FYnmMD7VBZOqOghp2tsgXc) "Graphical Modeling Framework"
org.eclipse.gmf.doc (1.4.0.v20100518-2359-35-8s733L3H7L17395) "Graphical Modeling Framework Documentation"
org.eclipse.gmf.examples.runtime.ui.pde (1.4.0.v20100511-1355-2307w3121183101141) "Graphical Modeling Framework (GMF) Runtime Examples Plug-in"
org.eclipse.gmf.runtime.notation (1.4.1.v20100909-1000-37708s73533F5C1479I) "GMF Notation Model Support"
org.eclipse.gmf.runtime.sdk (1.4.1.v20100909-1300-67G29E9QYAZrXowmYt08ti7x8V1i) "Graphical Modeling Framework Runtime SDK"
org.eclipse.gmf.sdk (2.3.0.v20100508-1742-7779-95sDcLbJSsdu7Xz-x9w7ogv) "Graphical Modeling Framework SDK"
org.eclipse.gmf.tooling (2.3.0.v20100421-2359-7c7MFO-FLWUl0ilw5sQPVD1) "Graphical Modeling Framework Tooling"

org.eclipse.epsilon.eugenia (0.8.9.201004151115) "Eugenia Plug-in (Incubation)"
org.eclipse.epsilon.eugenia.runtime (0.8.9.201004151115) "Eugenia Runtime Plug-in (Incubation)"

//Jan
Re: [EuGENia] GMF compartment nodes behaving badly [message #631395 is a reply to message #631386] Thu, 07 October 2010 11:42 Go to previous messageGo to next message
Dimitrios Kolovos is currently offline Dimitrios KolovosFriend
Messages: 1776
Registered: July 2009
Senior Member
Hi,

Many thanks for the update. Please keep the newsgroup posted with your
findings!

Cheers,
Dimitris

On 07/10/2010 13:15, Jan Landen wrote:
> Hello again,
>
> I tried this again with Helios SR1 (64bit Windows 7) with following
> details.
>
> The issue still remains - will produce "shadow" objects.
>
> I'll try this with previous versions of Eclipse...
>
>
> org.eclipse.gmf (1.4.1.v20100909-1300-7d9A78FYnmMD7VBZOqOghp2tsgXc)
> "Graphical Modeling Framework"
> org.eclipse.gmf.doc (1.4.0.v20100518-2359-35-8s733L3H7L17395) "Graphical
> Modeling Framework Documentation"
> org.eclipse.gmf.examples.runtime.ui.pde
> (1.4.0.v20100511-1355-2307w3121183101141) "Graphical Modeling Framework
> (GMF) Runtime Examples Plug-in"
> org.eclipse.gmf.runtime.notation
> (1.4.1.v20100909-1000-37708s73533F5C1479I) "GMF Notation Model Support"
> org.eclipse.gmf.runtime.sdk
> (1.4.1.v20100909-1300-67G29E9QYAZrXowmYt08ti7x8V1i) "Graphical Modeling
> Framework Runtime SDK"
> org.eclipse.gmf.sdk (2.3.0.v20100508-1742-7779-95sDcLbJSsdu7Xz-x9w7ogv)
> "Graphical Modeling Framework SDK"
> org.eclipse.gmf.tooling (2.3.0.v20100421-2359-7c7MFO-FLWUl0ilw5sQPVD1)
> "Graphical Modeling Framework Tooling"
>
> org.eclipse.epsilon.eugenia (0.8.9.201004151115) "Eugenia Plug-in
> (Incubation)"
> org.eclipse.epsilon.eugenia.runtime (0.8.9.201004151115) "Eugenia
> Runtime Plug-in (Incubation)"
>
> //Jan
>
Re: [EuGENia] GMF compartment nodes behaving badly [message #631427 is a reply to message #631207] Thu, 07 October 2010 14:14 Go to previous messageGo to next message
Jan Landen is currently offline Jan LandenFriend
Messages: 4
Registered: October 2010
Junior Member
Hello,
I installed galileo modelling package (sr2) and now it works fine.
Many thanks!

//jan
Re: [EuGENia] GMF compartment nodes behaving badly [message #631540 is a reply to message #631427] Thu, 07 October 2010 21:18 Go to previous message
Dimitrios Kolovos is currently offline Dimitrios KolovosFriend
Messages: 1776
Registered: July 2009
Senior Member
Hi Jan,

Thanks for letting us know! I'll have a look at the new Helios distro to
figure out what's going wrong there and get back to you.

Cheers,
Dimitris

Jan Landen <jan.m.landen@gmail.com> wrote:
> Hello,
> I installed galileo modelling package (sr2) and now it works fine.
> Many thanks!
>
> //jan
>
Previous Topic:need help in ETL transformation rules
Next Topic:EOL .add alternative required
Goto Forum:
  


Current Time: Thu Dec 18 17:21:37 GMT 2014

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

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