/*Messages.showInfoMessage(
NamingUtil.capitalize(object.getTypeName()) + " " + object.getQualifiedName() + " was dropped successfully.",
"Database Navigator - Object dropped");*/
DBObjectList objectList = (DBObjectList) object.getTreeParent();
objectList.reload();
notifyFactoryEvent(new ObjectFactoryEvent(object, ObjectFactoryEvent.EVENT_TYPE_DROP));
} catch (SQLException e) {
String message = "Could not drop " + object.getQualifiedNameWithType() + ".";
MessageUtil.showErrorDialog(message, e);
}