|Problem about "TreeViewer and Canvas change together" [message #275619]
||Wed, 10 November 2004 02:37
| zhang wei
Registered: July 2009
I am making a software to parse xsd file. There is a tabletree on the user
interface to diaplay the nodes parsed from xsd. I have succeeded to
display node on the tree by extends AbstractTreeViewer.
For some reason, I need to add a connector area beside TreeViewer. To do
this I extend Canvas. So now for each node on the tabletree, there is a
connector(just a icon) at the connector area. When the tabletree is huge,
there is a scroll bar on TreeViewer. Now if I drag the scroll bar, the
tabletree and connector area can change together, and the location of
connector for each node is just beside the node.
But the problem is when expand node on the tabletree, the tabletree
expands and moves, the connector expands but not moves. So the connector
for each node is not diaplayed at corresponding location of the node.
Powered by FUDForum
. Page generated in 0.01730 seconds