|
|
|
@ -455,6 +455,9 @@ public abstract class CellQuickEditor extends QuickEditor<ElementCasePane> {
|
|
|
|
|
|
|
|
|
|
if (updateStyle) { |
|
|
|
|
// 防止频繁触发保存
|
|
|
|
|
if (!tc.isSelectedOneCell()) { |
|
|
|
|
record(multipleOperationType.FORMAT); |
|
|
|
|
} |
|
|
|
|
fireTargetModified(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -469,4 +472,52 @@ public abstract class CellQuickEditor extends QuickEditor<ElementCasePane> {
|
|
|
|
|
|
|
|
|
|
return formatPane; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 用于适配记录批量操作的埋点数据 |
|
|
|
|
* 真正的埋点提交方案在云端运维插件中 |
|
|
|
|
* |
|
|
|
|
* @param type 批量操作修改类型 |
|
|
|
|
* @return 批量修改类型名称,用于云端运维埋点记录 |
|
|
|
|
*/ |
|
|
|
|
public static String record(multipleOperationType type) { |
|
|
|
|
return type.getType(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 批量操作的类型 |
|
|
|
|
*/ |
|
|
|
|
public enum multipleOperationType { |
|
|
|
|
/** |
|
|
|
|
* 批量修改格式 |
|
|
|
|
*/ |
|
|
|
|
FORMAT("format"), |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 批量修改数据列的数据设置 |
|
|
|
|
*/ |
|
|
|
|
TYPE_OF_DATA("type-of-data"), |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 批量修改过滤条件 |
|
|
|
|
*/ |
|
|
|
|
FILTER("filter"), |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 批量修改行高列宽 |
|
|
|
|
*/ |
|
|
|
|
HEIHT_AND_COLUMN("row-height-and-column-width"); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private final String type; |
|
|
|
|
|
|
|
|
|
multipleOperationType(String type) { |
|
|
|
|
this.type = type; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public String getType() { |
|
|
|
|
return type; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|