Skip to content

Polymorpshism for table cells objects #276

Open

Description

@nsenave

Currently table components Table and RosterForLoop use a dirty BodyCell object.

The reason ComponentType is not used instead is probably due to the fact that a table cell could be a simple static label, and LabelType has nothing to share with ComponentType.

Yet, Lunatic now uses a Text component, and it is recommended to use this one instead of a LabelType object in tables.

Then, it is now appropriate to refactor and remove the BodyCell object, to replace it by ComponentType.

Activity

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

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions