class ClearColumnData implements AttributeColumnsManipulator {

    @Override
    public void execute(Table table, Column column) {
        if (JOptionPane.showConfirmDialog(null,
            NbBundle.getMessage(ClearColumnData.class, "ClearColumnData.confirmation.message", column.getTitle()),
            getName(), JOptionPane.YES_NO_OPTION) == JOptionPane.YES_OPTION) {
            Lookup.getDefault().lookup(AttributeColumnsController.class).clearColumnData(table, column);
            Lookup.getDefault().lookup(DataTablesController.class).selectTable(table);
        }
    }

    @Override
    public String getName() {
        return NbBundle.getMessage(ClearColumnData.class, "ClearColumnData.name");
    }

    @Override
    public String getDescription() {
        return "";
    }

    @Override
    public boolean canManipulateColumn(Table table, Column column) {<FILL_FUNCTION_BODY>}

    @Override
    public AttributeColumnsManipulatorUI getUI(Table table, Column column) {
        return null;
    }

    @Override
    public int getType() {
        return 0;
    }

    @Override
    public int getPosition() {
        return 100;
    }

    @Override
    public Image getIcon() {
        return ImageUtilities.loadImage("DataLaboratoryPlugin/table-delete-column.png", false);
    }
}

        boolean result;
        AttributeColumnsController ac = Lookup.getDefault().lookup(AttributeColumnsController.class);
        result = ac.canClearColumnData(column);
        return result && ac.getTableRowsCount(table) > 0;//Also make sure that there is at least 1 row
    
<no_super_class>