Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Different (looking) figures for printing
Different (looking) figures for printing [message #504174] Thu, 17 December 2009 15:04
Holger Kremss is currently offline Holger KremssFriend
Messages: 1
Registered: July 2009
Junior Member
How is it possible to create a custom figure which looks different on the screen than printed out on paper? I have a figure, which should be very visible on sceen, but should dissapear on paper (or PDF). What I tried to do is, customizing the outlineShape() fillShape() methods in the figures, but there seems to be no way to find out, what graphics context is used to render the figure. I'm using IMapMode, so the 'graphics' attribute is always of type org.eclipse.gmf.runtime.draw2d.ui.internal.graphics.MapModeG raphic or org.eclipse.gmf.runtime.draw2d.ui.render.internal.graphics.R enderedMapModeGraphics. The 'graphics' member of these is private, so I cannot acces it. Does anyone have an idea? Any comment is appreciated!

Cheers,

Holger
Previous Topic:How to create a Diagram Label outside of corresponding Node?
Next Topic:Shrinking a child figure in a Compartment
Goto Forum:
  


Current Time: Thu Apr 25 11:06:56 GMT 2024

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

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

Back to the top