* Constructor.
*/
public ShowDetailHeaderDemo(){
super(ComponentDemoId.showDetailHeader, "Show Detail Header");
addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.NoneMessage, "None Message", this,
new String[]{
"/components/showDetail/showDetailHeader/showDetailHeaderNoneMessage.xhtml"
}));
addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.InfoMessage, "Info Message", this,
new String[]{
"/components/showDetail/showDetailHeader/showDetailHeaderInfoMessage.xhtml"
}));
addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.ConfirmationMessage, "Confirmation Message", this,
new String[]{
"/components/showDetail/showDetailHeader/showDetailHeaderConfirmationMessage.xhtml"
}));
addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.ErrorMessage, "Error message", this,
new String[]{
"/components/showDetail/showDetailHeader/showDetailHeaderErrorMessage.xhtml"
}));
addComponentDemoVariant(new ComponentVariantDemoImpl(VARIANTS.WarningMessage, "Warning message", this,
new String[]{
"/components/showDetail/showDetailHeader/showDetailHeaderWarningMessage.xhtml"
}));
setDefaultVariant(VARIANTS.NoneMessage);