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

Any way to combine this project with SciJava input classes? #2

Open
ctrueden opened this issue Dec 14, 2015 · 5 comments
Open

Any way to combine this project with SciJava input classes? #2

ctrueden opened this issue Dec 14, 2015 · 5 comments

Comments

@tpietzsch
Copy link
Member

@ctrueden Would be nice. Let's talk about it at the hackathon?

@tpietzsch
Copy link
Member

@ctrueden I had a very quick look. The scijava input stuff duplicates the AWT constructs (to add a layer of abstraction), right? Could you point me to where the translation from AWT events happens?

Actually I can see no duplication between scijava and configurable-keys. The configurable-keys project is about Behaviours which do not care by which keys / mouse buttons / modifiers they are triggered. The idea is to make that configurable. There is the MouseAndKeyHandler which is all kinds of AWT listeners and maps AWT events to behaviours. We could certainly have a similar handler that listens to scijava events and maps those to behaviours. I was also thinking of making such a listener for jogl's NEWT, such that it could be potentially used in ClearVolume.

@ctrueden
Copy link
Member Author

Could you point me to where the translation from AWT events happens?

It is the scijava-ui-awt component.

We could certainly have a similar handler that listens to scijava events and maps those to behaviours.

Right, I think the SciJava API could benefit from behaviors. In any case, this idea seems general enough to go into the scijava org instead of just bigdataviewer, don't you think?

Let's talk about it at the hackathon?

Yeah, great!

@tpietzsch
Copy link
Member

@ctrueden Yes, we were also thinking it should be in either scijava or imglib2-ui. At the moment, this is pre-alpha stuff, for development of TrackMate3. Putting it here was the no-bureaucracy option. We can move it later

@ctrueden
Copy link
Member Author

We can move it into SciJava any time if that's what you and @tinevez want. Just say the word.

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