int status;
IWorkbenchWindow window = HandlerUtil.getActiveWorkbenchWindow(event);
((TransactionalCommandStack)editingDomain.getCommandStack()).begin();
if (isServerPaste) {
ServerDialog pasteServerDialog = new ServerDialog(window.getShell(), ServerDialog.Type.PASTE, editingDomain, serverDataStore, serverDataStoreEntry);
status = pasteServerDialog.open();
} else {
DestinationDialog pasteDestinationDialog = new DestinationDialog(window.getShell(), DestinationDialog.Type.PASTE, editingDomain, destinationDataStore, destinationDataStoreEntry);
status = pasteDestinationDialog.open();
}
if (status != Window.OK) {