Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » advanced graphics for linux?
advanced graphics for linux? [message #243344] Tue, 03 June 2008 07:54 Go to next message
Hauke Fuhrmann is currently offline Hauke Fuhrmann
Messages: 322
Registered: July 2009
Senior Member
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
Re: advanced graphics for linux? [message #243384 is a reply to message #243344] Wed, 04 June 2008 11:31 Go to previous message
Anthony Hunter is currently offline Anthony Hunter
Messages: 446
Registered: July 2009
Senior Member
Hi Hauke,

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
Previous Topic:Palette sample with Eclipse 3.3
Next Topic:fillPath() in ScaledGraphics
Goto Forum:
  


Current Time: Sat Jul 26 09:11:05 EDT 2014

Powered by FUDForum. Page generated in 0.01823 seconds