Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Epsilon » [EuGENia] Is it possible to have gmf.node with without label attribute?
[EuGENia] Is it possible to have gmf.node with without label attribute? [message #533687] Sat, 15 May 2010 15:01 Go to next message
Syed Imran is currently offline Syed ImranFriend
Messages: 25
Registered: January 2010
Location: Cork, Ireland
Junior Member
Hi,

Following the article "EuGENia: Nodes with images instead of shapes", Is it possible to have in Emfatic code the @gmf.node without label="name" attribute. As label: the name(s) of the EAttribute(s) of the EClass is a must property.

@gmf.node(figure="figures.ControlFigure", label="name", label.icon="false")
class Control extends properties{
          attr String name;
}

In the code above, I would like to show only the image without any label attached to it in GMF- editor.

Regards
Syed Imran
Re: [EuGENia] Is it possible to have gmf.node with without label attribute? [message #533712 is a reply to message #533687] Sat, 15 May 2010 20:12 Go to previous message
Dimitrios Kolovos is currently offline Dimitrios KolovosFriend
Messages: 1776
Registered: July 2009
Senior Member
Hi Syed,

You've hit https://bugs.eclipse.org/bugs/show_bug.cgi?id=292241 Until
this is implemented, the workaround is to define a dummy label and then
remove the related model elements in the .gmfgraph and .gmfmap models
using a polishing transformation. Please CC yourself to the bug to get
notified when we fix this.

Cheers,
Dimitris

Syed Imran wrote:
> Hi,
>
> Following the article "EuGENia: Nodes with images instead of shapes", Is
> it possible to have in Emfatic code the @gmf.node without label="name"
> attribute. As label: the name(s) of the EAttribute(s) of the EClass is
> a must property.
>
>
> @gmf.node(figure="figures.ControlFigure", label="name", label.icon="false")
> class Control extends properties{
> attr String name;
> }
> In the code above, I would like to show only the image without any label
> attached to it in GMF- editor.
> Regards
> Syed Imran
>
Re: [EuGENia] Is it possible to have gmf.node with without label attribute? [message #589238 is a reply to message #533687] Sat, 15 May 2010 20:12 Go to previous message
Dimitrios Kolovos is currently offline Dimitrios KolovosFriend
Messages: 1776
Registered: July 2009
Senior Member
Hi Syed,

You've hit https://bugs.eclipse.org/bugs/show_bug.cgi?id=292241 Until
this is implemented, the workaround is to define a dummy label and then
remove the related model elements in the .gmfgraph and .gmfmap models
using a polishing transformation. Please CC yourself to the bug to get
notified when we fix this.

Cheers,
Dimitris

Syed Imran wrote:
> Hi,
>
> Following the article "EuGENia: Nodes with images instead of shapes", Is
> it possible to have in Emfatic code the @gmf.node without label="name"
> attribute. As label: the name(s) of the EAttribute(s) of the EClass is
> a must property.
>
>
> @gmf.node(figure="figures.ControlFigure", label="name", label.icon="false")
> class Control extends properties{
> attr String name;
> }
> In the code above, I would like to show only the image without any label
> attached to it in GMF- editor.
> Regards
> Syed Imran
>
Previous Topic:[EuGENia] Is it possible to have gmf.node with without label attribute?
Next Topic:ECL/EML example not working
Goto Forum:
  


Current Time: Thu Apr 25 13:09:18 GMT 2024

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

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

Back to the top