Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

PatternModelList tries to add button to immutable List #5

Open
RalphBln opened this issue Dec 20, 2015 · 0 comments
Open

PatternModelList tries to add button to immutable List #5

RalphBln opened this issue Dec 20, 2015 · 0 comments

Comments

@RalphBln
Copy link
Contributor

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).

ignazio1977 added a commit that referenced this issue Dec 21, 2015
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant