if (WidgetType.ROOT_LAYOUT_PANEL.equals(widgetType)) { return new PTRootLayoutPanel(); }
if (WidgetType.ROOT_PANEL.equals(widgetType)) { return new PTRootPanel(); }
if (WidgetType.LAYOUT_PANEL.equals(widgetType)) { return new PTLayoutPanel(); }
if (WidgetType.TAB_LAYOUT_PANEL.equals(widgetType)) { return new PTTabLayoutPanel(); }
if (WidgetType.ABSOLUTE_PANEL.equals(widgetType)) { return new PTAbsolutePanel(); }
if (WidgetType.TAB_PANEL.equals(widgetType)) { return new PTTabPanel(); }
if (WidgetType.VERTICAL_PANEL.equals(widgetType)) { return new PTVerticalPanel(); }
if (WidgetType.HORIZONTAL_PANEL.equals(widgetType)) { return new PTHorizontalPanel(); }
if (WidgetType.DOCK_LAYOUT_PANEL.equals(widgetType)) { return new PTDockLayoutPanel(); }
if (WidgetType.SPLIT_LAYOUT_PANEL.equals(widgetType)) { return new PTSplitLayoutPanel(); }
if (WidgetType.STACKLAYOUT_PANEL.equals(widgetType)) { return new PTStackLayoutPanel(); }