Skip to content

Internal: object groups are no AbstractObject in BMO 0.14 #31

Closed

Description

@StackEnjoyer

Problem

Tasks

  • src/LiveMarkers.jl: add BMO.AbstractObjectGroup to _LiveMovable
  • src/LiveInteraction.jl (_children, _leaves): iterate BMO.objects(obj) instead of BMO.shape(obj)
  • src/LiveCardRows.jl (_parts, _part_children): group methods on BMO.objects(x), a group no longer reaches the MultiShape methods
  • src/LiveExport.jl:374: name the members of a group BeamletOptics.objects(g)[i] in exported scripts
  • src/LiveExtras.jl:47: BMO.System(BMO.AbstractObject[...]) holds no group, use BMO.ObjectOrGroup[...]
  • Methods and checks on BMO.AbstractObject that a group reaches take BMO.ObjectOrGroup: LiveComponents.jl, LivePlacement.jl, LiveCardRows.jl:41, LiveCards.jl:538, LiveCatalog.jl:76, LiveInteraction.jl:1470
  • docs/src/widgets.md:132, skills/beamletopticsgui/WIDGETS.md:99, test/TestLiveWidgetRecipe.jl:71: the example system stores a Vector{BeamletOptics.AbstractObject}, which holds no group
  • Project.toml: compat BeamletOptics = "0.14"

Notes

  • BMO.ObjectOrGroup is the internal alias Union{AbstractObject, AbstractObjectGroup} of BMO 0.14
  • Not checked whether a group reaches the ::BMO.AbstractObject methods in LiveCopy.jl, LiveSnap.jl, LiveTable.jl, LiveTrace.jl, LiveMeasure.jl:235 and LiveExtras.jl:13
  • render_parent(h, obj) of BMO returns an AbstractObjectGroup; the parent of its system handle is an IdDict{ObjectOrGroup, AbstractObjectGroup}
  • Line numbers refer to main at 012f896

Activity

  1. added this to the v0.3.0 milestone on Oct 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions