|
|
@ -1012,7 +1012,7 @@ public class TableDataTreePane extends BasicTableDataTreePane { |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public void actionPerformed(ActionEvent e) { |
|
|
|
public void actionPerformed(ActionEvent e) { |
|
|
|
NameObject[] selectedNameObjects = tableDataTree.getSelectedTableDataNodes(); |
|
|
|
NameObject[] selectedNameObjects = tableDataTree.getSelectedTableDataNameObjects(); |
|
|
|
if (selectedNameObjects == null || selectedNameObjects.length == 0) { |
|
|
|
if (selectedNameObjects == null || selectedNameObjects.length == 0) { |
|
|
|
FineLoggerFactory.getLogger().error("Table Data to remove is null or not selected"); |
|
|
|
FineLoggerFactory.getLogger().error("Table Data to remove is null or not selected"); |
|
|
|
return; |
|
|
|
return; |
|
|
@ -1076,7 +1076,7 @@ public class TableDataTreePane extends BasicTableDataTreePane { |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public void actionPerformed(ActionEvent e) { |
|
|
|
public void actionPerformed(ActionEvent e) { |
|
|
|
NameObject[] selectedNameObjects = tableDataTree.getSelectedTableDataNodes(); |
|
|
|
NameObject[] selectedNameObjects = tableDataTree.getSelectedTableDataNameObjects(); |
|
|
|
Map<String, AbstractTableDataWrapper> dataWrapperMap = TableDataTreeClipboard.getInstance().transferNameObjectArray2Map(selectedNameObjects); |
|
|
|
Map<String, AbstractTableDataWrapper> dataWrapperMap = TableDataTreeClipboard.getInstance().transferNameObjectArray2Map(selectedNameObjects); |
|
|
|
TableDataTreeClipboard.getInstance().addToClip(dataWrapperMap); |
|
|
|
TableDataTreeClipboard.getInstance().addToClip(dataWrapperMap); |
|
|
|
} |
|
|
|
} |
|
|
|