Package com.onec.ui
Class EntityConfigBuilder
java.lang.Object
com.onec.ui.EntityConfigBuilder
Per-entity configuration scope passed to lambdas on
SectionBuilder.catalog/document/register.
Today this exposes only field-level hints (replacing @UiHint).
Future entity-level UI knobs (default sort, list columns subset, form
grouping order, etc.) belong here too.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionConfigure where a detail-header action shows:post,unpost,editordelete.Related-list panels authored on this entity, in declaration order.The nav icon for this entity — any lucide icon name (e.g.relatedList(String name, Class<?> joinCatalog) Declare an inline related-list (child rows) panel for this catalog editor, backed by a join catalog — the catalog-side analogue of a document's@TabularSection.
-
Constructor Details
-
EntityConfigBuilder
public EntityConfigBuilder()
-
-
Method Details
-
field
-
action
Configure where a detail-header action shows:post,unpost,editordelete. By default Post is a primary button and the rest live in the overflow (⋯) menu; override per action with.primary(),.inMenu()or.hidden(). -
icon
The nav icon for this entity — any lucide icon name (e.g."key","calendar-check"). Honored over the keyword heuristic, so an authored icon always wins. Blank means "fall back to the heuristic". -
buildFieldHints
-
buildRelatedLists
Related-list panels authored on this entity, in declaration order.
-