{
CustomColumnsStorage targetCustomColumnStorage = targetProject.getCustomColumnsStorage();
targetCustomColumnStorage.importData(bufferProject.getCustomColumnsStorage());
}
TaskManagerImpl origTaskManager = (TaskManagerImpl) targetProject.getTaskManager();
try {
origTaskManager.setEventsEnabled(false);
Map original2ImportedTask = origTaskManager.importData(bufferProject.getTaskManager());
origTaskManager.importAssignments(
bufferProject.getTaskManager(),
targetProject.getHumanResourceManager(),
original2ImportedTask,
original2ImportedResource);
}
finally {
origTaskManager.setEventsEnabled(true);
}
targetProject.getResourcePanel().getResourceTreeTableModel().updateResources();
/*
TaskManager taskManager = bufferProject.getTaskManager().emptyClone();
// ResourceManager resourceManager =