Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

DynamicCommand: combobox in the example never gets updated #69

Open
fmeyenhofer opened this issue Mar 23, 2019 · 2 comments
Open

DynamicCommand: combobox in the example never gets updated #69

fmeyenhofer opened this issue Mar 23, 2019 · 2 comments

Comments

@fmeyenhofer
Copy link

I just pulled the latest changes of this repository and tried to get DynamicCallbacks
running. Now the KindOfThing does not seem to trigger the update of the Thing. I put a breakpoint here and indeed the callback gets triggered.

The question being; am I doing something wrong, or does the MutableModuleItem need a nudge to update the content of its components?

@imagejan
Copy link
Member

@fmeyenhofer did you see the comment in the source code?

* NB: As of this writing, this command WILL NOT WORK AS DESIRED in the ImageJ
* Legacy or ImageJ Swing UIs, due to limitations in the scijava-ui-swing input
* harvester implementation.

But I don't think any active issue existed so far to track this, so we can now link to this one here 🙂 (although it should likely be in https://github.com/scijava/scijava-ui-swing/issues).

@fmeyenhofer
Copy link
Author

yes, I read that a long time ago, but it was not present anymore when I wrote this issue. I found myself writing yet another Swing configuration dialog, because widgets cannot be dynamically updated, so I thought I see where this thing is at....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants