|
|
@ -1121,6 +1121,10 @@ public class TableDataTreePane extends BasicTableDataTreePane { |
|
|
|
BasicDialog basicDialog = basicPane.showSmallWindow(SwingUtilities.getWindowAncestor(TableDataTreePane.this), new DialogActionAdapter() { |
|
|
|
BasicDialog basicDialog = basicPane.showSmallWindow(SwingUtilities.getWindowAncestor(TableDataTreePane.this), new DialogActionAdapter() { |
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public void doOk() { |
|
|
|
public void doOk() { |
|
|
|
|
|
|
|
DesignCacheManager.processByCacheTableData(this::processRemove); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
private void processRemove() { |
|
|
|
List selectedValues = tableDataCheckBoxPane.getSelectedObjects(); |
|
|
|
List selectedValues = tableDataCheckBoxPane.getSelectedObjects(); |
|
|
|
// 删除时如果正在搜索,跳回原树
|
|
|
|
// 删除时如果正在搜索,跳回原树
|
|
|
|
if (TableDataTreeSearchManager.getInstance().isInSearchMode()) { |
|
|
|
if (TableDataTreeSearchManager.getInstance().isInSearchMode()) { |
|
|
@ -1134,7 +1138,6 @@ public class TableDataTreePane extends BasicTableDataTreePane { |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public void doCancel() { |
|
|
|
public void doCancel() { |
|
|
|
super.doCancel(); |
|
|
|
super.doCancel(); |
|
|
|