how to make objects moveable within container [message #113807] |
Thu, 22 March 2007 12:43  |
Eclipse User |
|
|
|
Hi All,
I've just started using a container in a node in my editor. What I'd like
to have is something similar to one of the containers in the Taipan
example. The one where you can add large and empty boxes to the ship node.
I've got my container working but when I add elements into the container
they stay fixed to the left hand side. I'd like to be able to freely move
these around within the container. I've tried copying all the settings
from the Tiapn example but the nodes still appear fixed to the left hand
side.
Also, I was looking at the viewlet for the mindmap container tutorial
http://www.eclipse.org/gmf/tutorial/viewlets/tutorial2.html (didn't see
anything set here either to indicate how to let elements within a
container to move freely) and noticed that when the collapsible tab was
clicked, which I have in my container, that the node shrunk back to its
original/optimal size. When I shrink my container the node stays the same
size. How would I be able to change it so node returns to original size on
shrinking the compartment.
Thanks very much for your help,
Gaff
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02546 seconds