copier.copy(startPoint);
}
private Set<IntegrationEntity> getItemsToExclude() {
if (cascade.size() == 1) {
Answer a = Ask.continueOrCancel(null, "\"" + startPoint.getName() +
"\" has no dependencies, so no other objects will be copied.", "No Dependencies",
Option.CONTINUE, Type.INFORMATION);
return a.isContinue() ? new HashSet<IntegrationEntity>() : null;
}
DeepCopyItemSelector selector = new DeepCopyItemSelector(cascade);
KongaDialog dialog = new WizardStyleDialog(UiUtils.getActiveWindow(), "Select Which Objects To Copy",
selector, KongaDialog.CONTINUE_CANCEL, true);
dialog.setContinueButtonAsDefault();