Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Drag n drop on tree not showing more than one item unless its not expanded after adding first item
Drag n drop on tree not showing more than one item unless its not expanded after adding first item [message #899257] Tue, 31 July 2012 08:55
preeti baviskar is currently offline preeti baviskarFriend
Messages: 11
Registered: July 2012
Junior Member
I am using Tree with multiple column and inside that using TreeViewer to make use of ContentProvider and LabelProvider.

Tree treeSWComponent = new Tree(swComponentComp, SWT.BORDER);
TreeViewer tree_viewer=new TreeViewer(treeSWComponent);

I am providing drag and drop facility on tree's child item only.

But if I drop more than one item on tree's child item, after expanding its showing only one item.

Whereas if I drop one item then expand it and again drop then its showing both item.

Why it is happening like that?
Previous Topic:Snippet 277
Next Topic:Java Web Start and Cocoa Display.getSystemMenu - Shell not shown
Goto Forum:
  


Current Time: Tue Sep 24 04:47:26 GMT 2024

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

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

Back to the top