class PanelDefinitionImpl implements PanelDefinition {

    @Override
    public void addPart(final PartDefinition part) {
        if (part.getParentPanel() != null) {
            part.getParentPanel().removePart(part);
        }
        this.parts.add(part);
        part.setParentPanel(this);
    }

    @JsIgnore public  PanelDefinitionImpl();
    @JsIgnore public  PanelDefinitionImpl(final String type);

}