use of com.cubrid.common.ui.er.commands.DeleteColumnCommand in project cubrid-manager by CUBRID.
the class ColumnEditPolicy method createDeleteCommand.
@Override
protected Command createDeleteCommand(GroupRequest request) {
ERTable parent = (ERTable) (getHost().getParent().getModel());
DeleteColumnCommand deleteCmd = new DeleteColumnCommand();
deleteCmd.setTable(parent);
deleteCmd.setColumn((ERTableColumn) (getHost().getModel()));
return deleteCmd;
}
Aggregations