Module org.tentackle.fx.rdc
Package org.tentackle.fx.rdc
Annotation Interface PdoTreeContextMenuItemService
@Documented
@Inherited
@Retention(RUNTIME)
@Target(TYPE)
@MappedService(PdoTreeContextMenuItem.class)
public @interface PdoTreeContextMenuItemService
Annotation to express that the annotated class is a
PdoTreeContextMenuItem.-
Required Element Summary
Required ElementsModifier and TypeRequired ElementDescriptionintThe unique ordinal to sort the menu-items within the context menu.
0 comes first.Class<? extends PersistentDomainObject>Determines the serviced PDO class.
The PDO-class usually is an interface extending the persistent and the domain interfaces. -
Optional Element Summary
Optional Elements
-
Element Details
-
value
Class<? extends PersistentDomainObject> valueDetermines the serviced PDO class.
The PDO-class usually is an interface extending the persistent and the domain interfaces.The class may be also a super-interface. For example, PersistentDomainObject will apply to all PDOs.
- Returns:
- the PDO class
-
ordinal
int ordinalThe unique ordinal to sort the menu-items within the context menu.
0 comes first.If the same ordinal is defined more than once, the menu item closest in the the PDO-inheritance tree will override all others.
- Returns:
- the ordinal
-
-
-
group
String groupDefines the group the item belongs to.
Separators will be inserted between groups.- Returns:
- the group, empty for default group
- Default:
- ""
-