Skip to content

Support named objects in (Swing)ObjectWidget #47

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

Merged
merged 1 commit into from
Feb 21, 2020
Merged

Conversation

imagejan
Copy link
Member

@imagejan imagejan commented Jan 14, 2020

The dropdown list now shows the object names (retrieved by ObjectService.getName), while the tooltip shows the object's toString() value for each entry.

This allows using arbitrary object parameters (provided the objects have been registered to the ObjectService first) as follows:

#@ net.imglib2.realtransform.AffineGet affine

println affine

image

This is a follow-up to scijava/scijava-common#374 and will require a new release of scijava-common in order to remove the temporary version pinning.

Edit: I now removed the version property definition for scijava-common, since pom-scijava-28.0.0 manages scijava-common-2.82.0.

@imagejan imagejan force-pushed the named-object-widget branch from 20ef16e to 7b4a234 Compare February 21, 2020 13:48
The dropdown list now shows the object names (retrieved by ObjectService.getName), while the tooltip shows the object's toString() value for each entry.
@imagejan imagejan force-pushed the named-object-widget branch from 7b4a234 to e1ccafa Compare February 21, 2020 13:51
@ctrueden ctrueden merged commit ac3cbb1 into master Feb 21, 2020
@ctrueden ctrueden deleted the named-object-widget branch February 21, 2020 14:02
@ctrueden
Copy link
Member

Awesome! Thanks!

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

Successfully merging this pull request may close these issues.

2 participants