Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Expand Section widget in Eclipse Forms(Expanding All sections)
Expand Section widget in Eclipse Forms [message #1752242] Fri, 20 January 2017 08:58
Deepak Sharma is currently offline Deepak SharmaFriend
Messages: 1
Registered: January 2017
Junior Member
Hello All,

I am new to eclipse and wanted to know few things on Section widget. I have a custom form with around 4 to 5 expandable sections added to it.

My requirement is to have a button to expand all or collapse all section with one mouse click. I am able to get the form and its section name but not able to get the section control to expand it programmatically.

So my questions is, if I have a form with multiple section widgets in it,

how do i get the section control so that I can use section.setexpanded(true).

Currently in my handler class i used
  IWorkbenchPart wbPart = HandlerUtil.getActivePart(executionevent);
			  IViewPart iviewpart = (IViewPart)HandlerUtil.getActivePart(executionevent); 


to get the viewpart.

Thanks
Previous Topic:bundleresource:// URL problem in library plugin
Next Topic:Compatibility between plugins versions in Eclipse Mars
Goto Forum:
  


Current Time: Fri Apr 26 16:08:25 GMT 2024

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

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

Back to the top