[EuGENia] Is it possible to have gmf.node with without label attribute? [message #533687] |
Sat, 15 May 2010 11:01  |
Eclipse User |
|
|
|
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 16:12  |
Eclipse User |
|
|
|
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 16:12  |
Eclipse User |
|
|
|
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
>
|
|
|
Powered by
FUDForum. Page generated in 0.05410 seconds