private List hideTrimControls(Shell mainShell) {
		List controls = new ArrayList();
		Control[] children = mainShell.getChildren();
		for (int i = 0; i < children.length; i++) {
			Control child = children[i];			
			if (child.isDisposed() || !child.isVisible())
				continue;
			if (child.getClass().equals(Canvas.class))
				continue;
			if (child.getClass().equals(Composite.class))
				continue;
			
			// org.eclipse.jface.action.StatusLine is an internal class
			//the only way to hide it is by getting its name in string form
			//TODO: find a more elegant way to do fetch the status line
			
			
			
			if (!getHideStatusBar() && child.getClass().toString().contains("StatusLine")){ //$NON-NLS-1$
				child.setVisible(true);
			}else{
				child.setVisible(false);
			}
			controls.add(child);
		}
		return controls;
	}