Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Epsilon » up-to-date list of supported annotations?
up-to-date list of supported annotations? [message #12486] Thu, 12 February 2009 10:10 Go to next message
Michael Moser is currently offline Michael Moser
Messages: 914
Registered: July 2009
Senior Member
Hi, I tried a few more of the @gmf annotations listed at
http://epsilonlabs.wiki.sourceforge.net/EuGENia,

among them things like ... figure="...", color="..."

When defining explicitly figure="roundedrectangle" (just to make this
explicit, even though that's the default) then - when generating the
diagram code - this leads to:

roundedrectangle cannot be resolved to a type ProcessEditPart.java
test.diagram/src/test/diagram/edit/parts line 217 Java Problem
The method add(WrappingLabel) is undefined for the type
ProcessEditPart.ProcessFigure ProcessEditPart.java
test.diagram/src/test/diagram/edit/parts line 242 Java Problem
The method setBackgroundColor(Color) is undefined for the type
ProcessEditPart.ProcessFigure ProcessEditPart.java
test.diagram/src/test/diagram/edit/parts line 230 Java Problem
Type mismatch: cannot convert from ProcessEditPart.ProcessFigure to
IFigure ProcessEditPart.java test.diagram/src/test/diagram/edit/parts
line 97 Java Problem

I guess only the first is the real problem, the others seem to be
consequential bugs. Shall I open a Bugzilla?

Michael
Re: up-to-date list of supported annotations? [message #12531 is a reply to message #12486] Thu, 12 February 2009 10:15 Go to previous messageGo to next message
Dimitrios Kolovos is currently offline Dimitrios Kolovos
Messages: 1776
Registered: July 2009
Senior Member
Hi Michael,

Michael Moser wrote:
> Hi, I tried a few more of the @gmf annotations listed at
> http://epsilonlabs.wiki.sourceforge.net/EuGENia,
>
> among them things like ... figure="...", color="..."
>
> When defining explicitly figure="roundedrectangle" (just to make this
> explicit, even though that's the default) then - when generating the
> diagram code - this leads to:
>
> roundedrectangle cannot be resolved to a type ProcessEditPart.java
> test.diagram/src/test/diagram/edit/parts line 217 Java Problem
> The method add(WrappingLabel) is undefined for the type
> ProcessEditPart.ProcessFigure ProcessEditPart.java
> test.diagram/src/test/diagram/edit/parts line 242 Java Problem
> The method setBackgroundColor(Color) is undefined for the type
> ProcessEditPart.ProcessFigure ProcessEditPart.java
> test.diagram/src/test/diagram/edit/parts line 230 Java Problem
> Type mismatch: cannot convert from ProcessEditPart.ProcessFigure to
> IFigure ProcessEditPart.java test.diagram/src/test/diagram/edit/parts
> line 97 Java Problem
>
> I guess only the first is the real problem, the others seem to be
> consequential bugs. Shall I open a Bugzilla?

Typo (albeit big one). It should be "rounded" instead of
"roundedrectangle". Could you please open a bug and post the link here
and I'll fix it in the wiki page asap.

>
> Michael
>

Cheers,
Dimitris
Re: up-to-date list of supported annotations? [message #12620 is a reply to message #12531] Thu, 12 February 2009 16:22 Go to previous message
Michael Moser is currently offline Michael Moser
Messages: 914
Registered: July 2009
Senior Member
Dimitris Kolovos wrote:
> ...
> Could you please open a bug and post the link here
> and I'll fix it in the wiki page asap.

My pleasure: https://bugs.eclipse.org/bugs/show_bug.cgi?id=264709

Michael
Re: up-to-date list of supported annotations? [message #565221 is a reply to message #12486] Thu, 12 February 2009 10:15 Go to previous message
Dimitrios Kolovos is currently offline Dimitrios Kolovos
Messages: 1776
Registered: July 2009
Senior Member
Hi Michael,

Michael Moser wrote:
> Hi, I tried a few more of the @gmf annotations listed at
> http://epsilonlabs.wiki.sourceforge.net/EuGENia,
>
> among them things like ... figure="...", color="..."
>
> When defining explicitly figure="roundedrectangle" (just to make this
> explicit, even though that's the default) then - when generating the
> diagram code - this leads to:
>
> roundedrectangle cannot be resolved to a type ProcessEditPart.java
> test.diagram/src/test/diagram/edit/parts line 217 Java Problem
> The method add(WrappingLabel) is undefined for the type
> ProcessEditPart.ProcessFigure ProcessEditPart.java
> test.diagram/src/test/diagram/edit/parts line 242 Java Problem
> The method setBackgroundColor(Color) is undefined for the type
> ProcessEditPart.ProcessFigure ProcessEditPart.java
> test.diagram/src/test/diagram/edit/parts line 230 Java Problem
> Type mismatch: cannot convert from ProcessEditPart.ProcessFigure to
> IFigure ProcessEditPart.java test.diagram/src/test/diagram/edit/parts
> line 97 Java Problem
>
> I guess only the first is the real problem, the others seem to be
> consequential bugs. Shall I open a Bugzilla?

Typo (albeit big one). It should be "rounded" instead of
"roundedrectangle". Could you please open a bug and post the link here
and I'll fix it in the wiki page asap.

>
> Michael
>

Cheers,
Dimitris
Re: up-to-date list of supported annotations? [message #565313 is a reply to message #12531] Thu, 12 February 2009 16:22 Go to previous message
Michael Moser is currently offline Michael Moser
Messages: 914
Registered: July 2009
Senior Member
Dimitris Kolovos wrote:
> ...
> Could you please open a bug and post the link here
> and I'll fix it in the wiki page asap.

My pleasure: https://bugs.eclipse.org/bugs/show_bug.cgi?id=264709

Michael
Previous Topic:Odd bug in generated graphical editor
Next Topic:Odd bug in generated graphical editor
Goto Forum:
  


Current Time: Mon Sep 22 06:22:14 GMT 2014

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

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