Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Scale factor for feedback layer
Scale factor for feedback layer [message #636451] Mon, 01 November 2010 08:35 Go to previous message
Eclipse User
Originally posted by: torsten.keil.isx-software.de

We use the feedback layer of the diagram
(org.eclipse.gef.editparts.ScalableFreeformRootEditPart) to add
additional information to elements selected in another view.

This works perfect as long as the scale factor is 1 (100%) or the
figures drawn in the feedback layer are "independent" from the elements
in the default layer.

If the diagram is scaled it doesn't work, because the scale factor of
the graphics provided to the figures in the feedback layer is always 1
(100%) and the graphics object isn't an advanced graphics object like
the one used in the default layer.

Is there a common way to solve the problem of the unknown scale factor?
Do i have a chance to get another advanced graphics object for figures
in the feedback layer?

Thanks in advance,
Torsten
 
Read Message
Read Message
Previous Topic:SWT/JFace SourceViewer and GEF SWT Widget
Next Topic:Text label clipped when exporting to image
Goto Forum:
  


Current Time: Tue May 21 21:31:33 EDT 2013

Powered by FUDForum. Page generated in 0.01597 seconds