protected abstract WidgetType getWidgetType();
protected void init(final WidgetType widgetType) {
if (widgetType == null) { return; }
ID = UIContext.get().nextID();
create = new Create(ID, widgetType);
if (this instanceof PAddOn) {
create.setAddOnSignature(((PAddOn) this).getSignature());
}
Txn.get().getTxnContext().save(create);
}