Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Problem about "TreeViewer and Canvas change together"
Problem about "TreeViewer and Canvas change together" [message #275619] Tue, 09 November 2004 21:37
zhang wei is currently offline zhang wei
Messages: 84
Registered: July 2009
Member
Hi all,

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.

Many thanks.
Previous Topic:Help on mirroring eclipse update site
Next Topic:two javac in my system
Goto Forum:
  


Current Time: Fri Aug 22 11:58:46 EDT 2014

Powered by FUDForum. Page generated in 0.03330 seconds