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.
|
|
|
package com.fr.plugin.cell.highlight;
|
|
|
|
|
|
|
|
import com.fanruan.api.design.ui.condition.ConditionAttrSingleConditionPane;
|
|
|
|
import com.fr.design.condition.ConditionAttributesPane;
|
|
|
|
import com.fr.design.fun.impl.AbstractHighlightProvider;
|
|
|
|
import com.fr.plugin.cell.highlight.fun.AlignHighlightAction;
|
|
|
|
import com.fr.plugin.cell.highlight.fun.AlignHighlightConstants;
|
|
|
|
import com.fr.plugin.cell.highlight.ui.AlignHighlightPane;
|
|
|
|
import com.fr.stable.fun.Authorize;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @author richie
|
|
|
|
* @date 2015-03-26
|
|
|
|
* @since 8.0
|
|
|
|
*/
|
|
|
|
@Authorize(callSignKey = AlignHighlightConstants.PLUGIN_ID)
|
|
|
|
public class AlignCellHighlightBridge extends AbstractHighlightProvider {
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public int currentAPILevel() {
|
|
|
|
return CURRENT_LEVEL;
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public Class<?> classForHighlightAction() {
|
|
|
|
return AlignHighlightAction.class;
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public ConditionAttrSingleConditionPane appearanceForCondition(ConditionAttributesPane conditionAttributesPane) {
|
|
|
|
return new AlignHighlightPane(conditionAttributesPane);
|
|
|
|
}
|
|
|
|
}
|