I have been trying to recognize section(org.eclipse.ui.forms.widgets.Section). Below is my code
Object objFound = null;
SWTWidgetLocator widget=new SWTWidgetLocator(org.eclipse.ui.forms.widgets.Section.class);
IWidgetLocator[] Items= ui.findAll(widget);
for (IWidgetLocator loc : Items) {
objFound = ((IWidgetReference)loc).getWidget();
System.out.println("mywidget: " + objFound;}
Now my problem is that I got Section (mywidget: Section {}) as result, but it doesn't print name of section, How do I get it and iterate controls inside it? Can please somebody help me out?
Thanks