info.magnolia.module.blossom.annotation
Annotation Type TabFactory
@Retention(value=RUNTIME)
@Target(value=METHOD)
public @interface TabFactory
Used on methods in classes annotated with Template
or DialogFactory
. The method will be called to
build a tab in the dialog. The tabs label is set in this annotation. Valid arguments for the method is
TabBuilder
, Dialog
and
DialogCreationContext
.
This example creates a tab with the label "Content":
@TabFactory("Content")
public void contentTab(TabBuilder tab, Dialog dialog) { ... }
- Since:
- 0.5
Required Element Summary |
String |
value
Label of the new tab. |
value
public abstract String value
- Label of the new tab.
Copyright © 2009-2012 Magnolia International Ltd.. All Rights Reserved.