条件属性扩展示例。
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
823 B

package com.fr.plugin.cell.highlight;
import com.fr.design.condition.ConditionAttrSingleConditionPane;
import com.fr.design.condition.ConditionAttributesPane;
import com.fr.design.fun.impl.AbstractHighlightProvider;
import com.fr.stable.fun.Authorize;
/**
* @author richie
* @date 2015-03-26
* @since 8.0
*/
@Authorize(callSignKey = MyConstants.PLUGIN_ID)
public class MyCellHighlight extends AbstractHighlightProvider {
@Override
public int currentAPILevel() {
return CURRENT_LEVEL;
}
@Override
public Class<?> classForHighlightAction() {
return MyHighlightAction.class;
}
@Override
public ConditionAttrSingleConditionPane appearanceForCondition(ConditionAttributesPane conditionAttributesPane) {
return new MyHighlightPane(conditionAttributesPane);
}
}