Search in sources :

Example 1 with DeleteColumnCommand

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;
}
Also used : ERTable(com.cubrid.common.ui.er.model.ERTable) DeleteColumnCommand(com.cubrid.common.ui.er.commands.DeleteColumnCommand)

Aggregations

DeleteColumnCommand (com.cubrid.common.ui.er.commands.DeleteColumnCommand)1 ERTable (com.cubrid.common.ui.er.model.ERTable)1