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] Wed, 10 November 2004 02:37
zhang wei is currently offline zhang weiFriend
Messages: 84
Registered: July 2009
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:How do I sync the name of a global action?
Next Topic:can find org.eclipse.ui.internal.forms.WizardEditorInput when run org.eclipse.ui.forms.examples???
Goto Forum:

Current Time: Tue Apr 24 21:20:41 GMT 2018

Powered by FUDForum. Page generated in 0.01783 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software