NonResizableEditPolicy [message #9888] |
Thu, 13 June 2002 05:21  |
Eclipse User |
|
|
|
Originally posted by: g.wagenknecht.intershop.de
Hi!
Is there a newer version available with protected useRealtimeFigure or a
setter/getter for this member?
Cu, Gunnar
|
|
|
Re: NonResizableEditPolicy [message #9911 is a reply to message #9888] |
Thu, 13 June 2002 13:56   |
Eclipse User |
|
|
|
Originally posted by: none.ibm.com
Using the real figure doesn't work in applications that allow you to
reparent a figure. The figure would get clipped by its current parent.
Also, moving the figure at all fights against the layout manager. If the
layout decided to layout for some odd reason, such as showing target
feedback caused it to invalidate itself, or auto-scroll caused it to
revalidate, then the layout manager would undo any feedback, and you'd get
bouncing and flashing, etc.
So, we intend to provide something slightly better than the current dashed
XOR rectangle. We would like to take a snapshot of the figure being dragged
by asking it to paint to a buffer. Then, we'll make that buffer 50% opaque,
and the feedback will be this "ghost" version of the original Figure. We
might provide or choose other renditions, such as just capturing the
geometry of the figures paint calls, etc.
"Gunnar Wagenknecht" <g.wagenknecht@intershop.de> wrote in message
news:ae9mtm$b0c$1@rogue.oti.com...
> Hi!
>
> Is there a newer version available with protected useRealtimeFigure or a
> setter/getter for this member?
>
> Cu, Gunnar
>
>
|
|
|
Re: NonResizableEditPolicy [message #9955 is a reply to message #9911] |
Thu, 13 June 2002 14:24   |
Eclipse User |
|
|
|
Originally posted by: g.wagenknecht.planet-wagenknecht.de
Hi!
"Randy Hudson" <none@ibm.com> schrieb im Newsbeitrag
news:aeal82$t2o$1@rogue.oti.com...
> Using the real figure doesn't work in applications that allow you to
> reparent a figure. The figure would get clipped by its current parent.
> Also, moving the figure at all fights against the layout manager. If the
> layout decided to layout for some odd reason, such as showing target
> feedback caused it to invalidate itself, or auto-scroll caused it to
> revalidate, then the layout manager would undo any feedback, and you'd get
> bouncing and flashing, etc.
I noticed similar problems while doing some tests.
> So, we intend to provide something slightly better than the current dashed
> XOR rectangle. We would like to take a snapshot of the figure being
dragged
> by asking it to paint to a buffer. Then, we'll make that buffer 50%
opaque,
> and the feedback will be this "ghost" version of the original Figure. We
> might provide or choose other renditions, such as just capturing the
> geometry of the figures paint calls, etc.
Is there something ready for testing or something for playing with?
Another question, can I modify the alpha blending of a image/figure/shape in
Draw2d/GEF?
Cu, Gunnar
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03200 seconds