Skip to content

PatternModelList tries to add button to immutable List #5

@RalphBln

Description

@RalphBln

In org.coode.patterns.protege.ui.PatternModelList.getListItemButtons, line 284, a button for instantiating a pattern is supposed to be added to the list of buttons in the annotations view. The problem is that this list is now immutable and adding to it does not work anymore.

PatternModelList is a subclass of org.protege.editor.core.ui.list.MList. The button lists are created using Arrays.asList (which returns an immutable List).

The result is a sequence of UnsupportedOperationExceptions and a hanging UI.

(Protégé 5.0.0-beta-17, OPPL plugin built from tag oppl2_35).

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