class StaticWorkbenchPanelView extends AbstractWorkbenchPanelView<StaticWorkbenchPanelPresenter> {

    @Override
    public void addPart(final WorkbenchPartPresenter.View view) {
        if (panel.getPartView() == null) {
            panel.setPart(view);
            onResize();
        } else {
            throw new RuntimeException("Uberfire Panel Invalid State: This panel support only one part.");
        }
    }

}