public TobagoComponentHandler(ComponentConfig componentConfig) {
super(componentConfig);
}
protected MetaRuleset createMetaRuleset(Class aClass) {
MetaRuleset metaRuleset = super.createMetaRuleset(aClass);
if (SortActionSource.class.isAssignableFrom(aClass)) {
metaRuleset.addRule(SortActionSourceRule.INSTANCE);
}
if (UIPage.class.isAssignableFrom(aClass)) {
metaRuleset.addRule(PageRule.INSTANCE);
}
if (TabChangeSource.class.isAssignableFrom(aClass)) {
metaRuleset.addRule(TabChangeSourceRule.INSTANCE);
}
if (SheetStateChangeSource.class.isAssignableFrom(aClass)) {
metaRuleset.addRule(SheetStateChangeSourceRule.INSTANCE);
}
if (SupportsMarkup.class.isAssignableFrom(aClass)) {
metaRuleset.addRule(SupportsMarkupRule.INSTANCE);
}
if (UIInput.class.isAssignableFrom(aClass)) {
metaRuleset.addRule(SuggestMethodRule.INSTANCE);
}
if (UIMessages.class.isAssignableFrom(aClass)) {
metaRuleset.addRule(OrderByRule.INSTANCE);
}
return metaRuleset;
}