Skip to main content



      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 03:58
Eclipse UserFriend
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: Sat Mar 22 12:49:14 EDT 2025

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

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

Back to the top