Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » JFace » How to prevent Treeviewer from responding to "* " shortcut(How to prevent Treeviewer from responding to "*" shortcut )
How to prevent Treeviewer from responding to "* " shortcut [message #1213189] Wed, 27 November 2013 06:15
Missing name Mising name is currently offline Missing name Mising name
Messages: 6
Registered: August 2011
Location: India
Junior Member
Hi All,

I am using TreeViewer to display my objects in View.

I have given my implementation in createPartControl of view and attached content provider for tree.

My Tree works fine. I have not provided implementation for "*" and "+". But as eclipse provide shortcut for this keys My tree responds for my objects and expand it.

Tree works fine for these ("+" and "*") shortcuts. But when Tree found any cyclic dependencies like X->Y->X my tree fails for "*" it hangs and my application stops working. (Attached the exception)

Now I want my tree should not respond for "+" and "*" button as I have provided separate Context menu to achieve "expand" and "expand to all children".

How can I do that?

Please provide some guide line for this.

Thanks
Previous Topic:How can I programmatically expand items in a TreeViewer?
Next Topic:Comboboxes linked together
Goto Forum:
  


Current Time: Thu Sep 18 05:46:06 GMT 2014

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

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