up-to-date list of supported annotations? [message #12486] |
Thu, 12 February 2009 05:10  |
Eclipse User |
|
|
|
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 #565221 is a reply to message #12486] |
Thu, 12 February 2009 05:15  |
Eclipse User |
|
|
|
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
|
|
|
|
Powered by
FUDForum. Page generated in 0.06856 seconds