Integer height = null;
if (componentAnnotation.dialogWidth() > 0) {
width = componentAnnotation.dialogWidth();
}
if (componentAnnotation.dialogHeight() > 0) {
height = componentAnnotation.dialogHeight();
}
DialogParameters dialogParams = new DialogParameters();
dialogParams.setContainedElements(Dialog.buildTabPanel(tabList));
dialogParams.setTitle(dialogTitle);
dialogParams.setFileName(componentAnnotation.fileName());