wizard = handler.getWizard(_localObject, _widget, _viewer);
} else {
wizard = handler
.getWizard(_localObject, _position, _viewer);
}
CommonWizardDialog wizardDialog = new CommonWizardDialog(
getShell(), wizard);
wizardDialog.setTitle(Messages
.getString("LocalDropCommand.DropHandler")); //$NON-NLS-1$
wizardDialog.create();
wizardDialog.open();
} else {
if (_widget != null) {
handler.doUpdateWidget(_localObject, _widget, _viewer);
} else {
handler.doInsertElements(_localObject, _position, _viewer);
}
}
} else {
CommonWizardDialog wizardDialog = new CommonWizardDialog(
getShell(), getWizard());
wizardDialog.setTitle(Messages
.getString("LocalDropCommand.DropHandler")); //$NON-NLS-1$
wizardDialog.setBlockOnOpen(false);
wizardDialog.create();
wizardDialog.open();
}
}