Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Master Detail Block-Retain Section state(Retain Section state in Master Detail Block)
Master Detail Block-Retain Section state [message #792516] Tue, 07 February 2012 04:24 Go to next message
Madhushree  S is currently offline Madhushree S
Messages: 20
Registered: September 2010
Junior Member
Hi All,

I have created a master block with the tree and the detailsPart which shows up the sections on selection.
1.There is a scenario where there a 3 items in the tree.
2.I select the first item and 3 sections are shown in the expanded state.
3.Now I change the second section expanded state to collapsed state.
4.Then I select the 2nd item in the tree. All the 3 sections are still expanded. But I want to retain the 2nd section collapsed state on selection because I had changed it to collapsed state in step 3.
Is there a way to do this?
And are there any standard eclipse editors where I can see the master detail block impl to retain the section states?
Thank You.

Regards,
Madhu
Re: Master Detail Block-Retain Section state [message #794714 is a reply to message #792516] Thu, 09 February 2012 16:05 Go to previous message
Grant Gayed is currently offline Grant Gayed
Messages: 2151
Registered: July 2009
Senior Member
Hi Madhu,

This question belongs in the eclipse.platform.rcp newsgroup. I notice
that you posted it there a few weeks ago and didn't get a response, but
I would still suggest that you re-post it there since the master-details
thing doesn't come from swt.

Grant


On 2/6/2012 11:24 PM, Madhushree S wrote:
> Hi All,
>
> I have created a master block with the tree and the detailsPart which
> shows up the sections on selection. 1.There is a scenario where there a
> 3 items in the tree.
> 2.I select the first item and 3 sections are shown in the expanded state.
> 3.Now I change the second section expanded state to collapsed state.
> 4.Then I select the 2nd item in the tree. All the 3 sections are still
> expanded. But I want to retain the 2nd section collapsed state on
> selection because I had changed it to collapsed state in step 3.
> Is there a way to do this?
> And are there any standard eclipse editors where I can see the master
> detail block impl to retain the section states?
> Thank You.
>
> Regards,
> Madhu
Previous Topic:please delete double post
Next Topic:Crash using browser.evaluate
Goto Forum:
  


Current Time: Fri Oct 31 12:58:29 GMT 2014

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

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