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

Extract IMouseListener #478

Open
nk-coding opened this issue Dec 31, 2024 · 0 comments
Open

Extract IMouseListener #478

nk-coding opened this issue Dec 31, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@nk-coding
Copy link
Contributor

Steps to extract an IMouseListener (as requested in #475):

  1. Add an interface IMouseListener with all the relevant methods from MouseListener
  2. Add an IMouseListener entry on TYPES (or reuse or replace the existing MouseListener one)
  3. Update MouseTool
    • either additionally inject TYPES.IMouseListener or update the existing TYPES.MouseListener (depending on the chosen option from 2.)
    • Replace MouseListener by IMouseListener basically everywhere in this class

I personally would probably chose the "replace TYPES.MouseListener" option on the next major release, as this is imho the cleanest one

@spoenemann spoenemann added the enhancement New feature or request label Jan 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants