class ToggleTablesEnabledActionImpl
    implements AbstractToolAction, ToggleTablesEnabledAction {

    static final String ENABLE_ALL_TABLES  = "Enable All Tables";
    static final String DISABLE_ALL_TABLES = "Disable All Tables";

    @Override
    public void installMenuItems(ProjectTreeComponent projectTree) {<FILL_FUNCTION_BODY>}
}

        projectTree.installContextMenu(SchemaProperty.class, (treeCell, node) -> {
            final MenuItem enableTables  = new MenuItem(ENABLE_ALL_TABLES);
            final MenuItem disableTables = new MenuItem(DISABLE_ALL_TABLES);

            enableTables.setOnAction(ev ->
                DocumentUtil.traverseOver(node)
                    .filter(TableProperty.class::isInstance)
                    .forEach(doc -> ((TableProperty) doc).enabledProperty().setValue(true))
            );

            disableTables.setOnAction(ev ->
                DocumentUtil.traverseOver(node)
                    .filter(TableProperty.class::isInstance)
                    .forEach(doc -> ((TableProperty) doc).enabledProperty().setValue(false))
            );

            return Stream.of(enableTables, disableTables);
        });
    
<no_super_class>