|
|
|
@ -11,6 +11,7 @@ import com.fr.design.DesignModelAdapter;
|
|
|
|
|
import com.fr.design.DesignerEnvManager; |
|
|
|
|
import com.fr.design.ExtraDesignClassManager; |
|
|
|
|
import com.fr.design.actions.UpdateAction; |
|
|
|
|
import com.fr.design.cache.DesignCacheManager; |
|
|
|
|
import com.fr.design.data.BasicTableDataTreePane; |
|
|
|
|
import com.fr.design.data.BasicTableDataUtils; |
|
|
|
|
import com.fr.design.data.DesignTableDataManager; |
|
|
|
@ -1191,6 +1192,10 @@ public class TableDataTreePane extends BasicTableDataTreePane {
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
public void actionPerformed(ActionEvent e) { |
|
|
|
|
DesignCacheManager.processByCacheTableData(this::doPaste); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
private void doPaste() { |
|
|
|
|
// 粘贴时如果正在搜索,跳回原树
|
|
|
|
|
if (TableDataTreeSearchManager.getInstance().isInSearchMode()) { |
|
|
|
|
TableDataTreeSearchManager.getInstance().outOfSearchMode(); |
|
|
|
|