}
public void actionPerformed(AnActionEvent e) {
boolean enabled = object.getStatus().is(DBObjectStatus.ENABLED);
try {
DBOperationType operationType = enabled ? DBOperationType.DISABLE : DBOperationType.ENABLE;
object.getOperationExecutor().executeOperation(operationType);
} catch (SQLException e1) {
String message = "Error " + (!enabled ? "enabling " : "disabling ") + object.getQualifiedNameWithType();
MessageUtil.showErrorDialog(message, e1);
} catch (DBOperationNotSupportedException e1) {