Skip to main content

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 nameFriend
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.

Previous Topic:[Databinding] Bind a bean with observable values as properties to table
Next Topic:Comboboxes linked together
Goto Forum:

Current Time: Sun Apr 11 08:11:07 GMT 2021

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

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

Back to the top