Community
Participate
Working Groups
I have done some POCs for XWT to develop an animation UI in SWT. I met a problem to implement a n independent "Move" and "Resize" animation solution. It is in fact the missing of the pre-event of "Resize" and "Move" in SWT. As an independent solution to animate any widget, we need to know the old value and new value. With Move and Resize event, I get only the new value and the event already occurs. I expect a new event like SWT.PreMove and SWT.PreResize, they must be raised before the the actions of "resize" or "move" and the new location/size should be provided in the instance of "org.eclipse.swt.widgets.Event" such as the field x, y, width and height.
Adding support for "pre" events is not in the plan for Eclipse 3.7 If you need to remember the bounds of a control before the move/resize event why don't you save them yourself and update them after processing the event ? This way during the event you have the old values in your slot and the new values in the control.
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug. If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie.