Package org.minifx.workbench.annotations
Annotation Type View
-
@Retention(RUNTIME) @Target({TYPE,METHOD}) public @interface View
Annotation to qualify a bean as a view within MiniFx. This annotation can be placed on the class of the bean or on the factory method of it.
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description PerspectivePos
at
This property specifies the position within the given perspective, where the view shall be shownboolean
enforceTab
If this property is set totrue
, then a tab as shown, even if there is only one view specified for the given position in the given perspective.java.lang.Class<? extends Perspective>
in
This property specifies the class representing the perspective in which the view shall be shown.
-
-
-
Element Detail
-
in
java.lang.Class<? extends Perspective> in
This property specifies the class representing the perspective in which the view shall be shown.- Returns:
- the class representing the perspective in which to show the annotated view.
- Default:
- org.minifx.workbench.domain.DefaultPerspective.class
-
-
-
at
PerspectivePos at
This property specifies the position within the given perspective, where the view shall be shown- Returns:
- the position within the perspective where to show the annotated view.
- Default:
- org.minifx.workbench.domain.PerspectivePos.CENTER
-
-