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