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

Make Viewer extendable #453

Closed
walterxie opened this issue Apr 2, 2024 · 2 comments
Closed

Make Viewer extendable #453

walterxie opened this issue Apr 2, 2024 · 2 comments
Labels
critical change the bug fix or new feature will significant change the code enhancement New feature or request

Comments

@walterxie
Copy link
Collaborator

Make Viewer extendable through SPI, so that the ViewerRegister can register the extended Viewer from another lphy extension.

@walterxie walterxie added the enhancement New feature or request label Apr 2, 2024
walterxie added a commit that referenced this issue Apr 3, 2024
@walterxie walterxie added the critical change the bug fix or new feature will significant change the code label Apr 3, 2024
walterxie added a commit that referenced this issue Apr 3, 2024
walterxie added a commit that referenced this issue Apr 3, 2024
@walterxie
Copy link
Collaborator Author

walterxie commented Apr 4, 2024

TODO : The list should change to Map<T, Viewer> where T is the class, e.g. Alignment, Double, ...

Then addViewers can check if viewer for a type already exists, after getViewers() changes to Map<T, Viewer>.

walterxie added a commit that referenced this issue Apr 4, 2024
walterxie added a commit that referenced this issue Apr 4, 2024
@walterxie
Copy link
Collaborator Author

#454

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
critical change the bug fix or new feature will significant change the code enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant