I try to draw a cubic bezier curve using SWT's drawPath(Path) method.
I get this exception:
Exception in thread "Thread-1" java.lang.RuntimeException: The class:
class
org.eclipse.gmf.runtime.draw2d.ui.render.internal.graphics.R enderedMapModeGraphics
has not implemented this new graphics function
Looks like the error comes from draw2d and not directly SWT. Hence the
SWT guys have sent me here.
I use Eclipse 3.4RC2 on Linux x86-32-GTK. Any components I need
additonally or is this functionality simply not implemented at that
platform?
This is not a exactly GEF issue, the code you are using is in GMF.
The exception indicates that this support is not implemented in the
ScaledGraphics in GMF. I would raise an enhancement request in Bugzilla.It
is not clear to me if the ScaledGraphics in GEF has implemented this feature
either.
Cheers...
Anthony
"Hauke Fuhrmann" <haf@informatik.uni-kiel.de> wrote in message
news:g23beh$80o$1@build.eclipse.org...
> Hi there,
>
> I try to draw a cubic bezier curve using SWT's drawPath(Path) method.
>
> I get this exception:
>
> Exception in thread "Thread-1" java.lang.RuntimeException: The class:
> class
> org.eclipse.gmf.runtime.draw2d.ui.render.internal.graphics.R enderedMapModeGraphics
> has not implemented this new graphics function
>
> Looks like the error comes from draw2d and not directly SWT. Hence the
> SWT guys have sent me here.
>
> I use Eclipse 3.4RC2 on Linux x86-32-GTK. Any components I need
> additonally or is this functionality simply not implemented at that
> platform?
>
> Cheers,
> Hauke