class CreateBooleanMatchesColumn extends GeneralCreateColumnFromRegex {
    @Override
    public void execute(Table table, Column column) {<FILL_FUNCTION_BODY>}

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

    @Override
    public String getDescription() {
        return NbBundle.getMessage(CreateBooleanMatchesColumn.class, "CreateBooleanMatchesColumn.description");
    }

    @Override
    public boolean canManipulateColumn(Table table, Column column) {
        AttributeColumnsController ac = Lookup.getDefault().lookup(AttributeColumnsController.class);
        return ac.getTableRowsCount(table) > 0;//Make sure that there is at least 1 row
    }

    @Override
    public AttributeColumnsManipulatorUI getUI(Table table, Column column) {
        GeneralCreateColumnFromRegexUI ui = new GeneralCreateColumnFromRegexUI();
        ui.setMode(GeneralCreateColumnFromRegexUI.Mode.BOOLEAN);
        return ui;
    }

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

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

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

        if (pattern != null) {
            Lookup.getDefault().lookup(AttributeColumnsController.class)
                .createBooleanMatchesColumn(table, column, title, pattern);
        }
    
<methods>public non-sealed void <init>() ,public java.util.regex.Pattern getPattern() ,public java.lang.String getTitle() ,public void setPattern(java.util.regex.Pattern) ,public void setTitle(java.lang.String) <variables>protected java.util.regex.Pattern pattern,protected java.lang.String title