//Now create the tabs initially:
Iterator tabIter = cl.getCategories().iterator();
while(tabIter.hasNext()){
Category cat = (Category)tabIter.next();
TabItem tabItem = new TabItem(tabFolder, SWT.NONE);
tabItem.setText(cat.getName());
//Layout for the fields in this tab
GridLayout gl = new GridLayout();
gl.numColumns = 2;
//composite, field and label
Composite mainContents = new Composite(tabFolder, SWT.NONE);
mainContents.setLayout(gl);
//Loop through the category getting the parameters
Iterator tagIter = cat.getParams().iterator();
while(tagIter.hasNext()){
Parameter pr = (Parameter)tagIter.next();
String labelname = pr.getName() + " : ";
if(pr.isRequired()){
labelname = pr.getName() + " *: ";