buildonSWTItemSet = false;
Control control = swtItem.getControl();
if (control == null) {
Composite parent = swtItem.getParent();
SWTSkinObject soParent = (SWTSkinObject) parent.getData("SkinObject");
String skinRef = getSkinRef();
if (skinRef != null) {
Shell shell = parent.getShell();
Cursor cursor = shell.getCursor();
try {
shell.setCursor(shell.getDisplay().getSystemCursor(SWT.CURSOR_WAIT));
// SWTSkinObjectContainer soContents = (SWTSkinObjectContainer) skin.createSkinObject(
// "MdiContents." + uniqueNumber++, "mdi.content.item",
// soParent, getSkinRefParams());
// skin.addSkinObject(soContents);
SWTSkinObject skinObject = skin.createSkinObject(id, skinRef,
soParent, getDatasourceCore());
control = skinObject.getControl();
control.setLayoutData(Utils.getFilledFormData());
control.getParent().layout(true);
// swtItem.setControl will set the control's visibility based on
// whether the control is selected. To ensure it doesn't set
// our control invisible, set selection now