|
|
|
@ -241,7 +241,7 @@ public class CellDSColumnEditor extends CellQuickEditor {
|
|
|
|
|
dataPane.update(cellElement); |
|
|
|
|
|
|
|
|
|
CellSelection selection = (CellSelection) tc.getSelection(); |
|
|
|
|
Set<TemplateCellElement> allCellElements = selection.getCellElements(); |
|
|
|
|
Set<TemplateCellElement> allCellElements = selection.getAllCellElements(tc.getEditingElementCase()); |
|
|
|
|
groupPane.update(allCellElements); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -319,7 +319,7 @@ public class CellDSColumnEditor extends CellQuickEditor {
|
|
|
|
|
@Override |
|
|
|
|
public void itemStateChanged(ItemEvent e) { |
|
|
|
|
CellSelection selection = (CellSelection) tc.getSelection(); |
|
|
|
|
Set<TemplateCellElement> allCellElements = selection.getCellElements(); |
|
|
|
|
Set<TemplateCellElement> allCellElements = selection.getAllCellElements(tc.getEditingElementCase()); |
|
|
|
|
if (e == null || e.getStateChange() == ItemEvent.DESELECTED) { |
|
|
|
|
//分组-高级-自定义点确定的时候传进来null的e,但是这时候应该触发保存
|
|
|
|
|
groupPane.update(allCellElements); |
|
|
|
@ -351,7 +351,7 @@ public class CellDSColumnEditor extends CellQuickEditor {
|
|
|
|
|
if (!selectedOneCell) { |
|
|
|
|
// 只有在批量操作的时候才需要判断是否隐藏条件面板
|
|
|
|
|
CellSelection selection = (CellSelection) tc.getSelection(); |
|
|
|
|
boolean sameDSName = checkSameDSName(selection.getCellElements()); |
|
|
|
|
boolean sameDSName = checkSameDSName(selection.getAllCellElements(tc.getEditingElementCase())); |
|
|
|
|
conditionPane.setVisible(sameDSName); |
|
|
|
|
} else { |
|
|
|
|
conditionPane.setVisible(true); |
|
|
|
|