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

Solve strong coupling between NewModelObserver and AttributeInspector #2

Open
Aerilius opened this issue May 22, 2019 · 0 comments
Open

Comments

@Aerilius
Copy link
Owner

This observer class assumes/requires that the passed instance has a model= method. In the case here, AttributeInspector's model= does two tasks, transfering (removing, adding) observers to the new model and getting the current selection of the new model.

Check if this can be better solved with a more abstract "PersistentObserver" that takes care to add observers to subentities of whatever model is active.

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

1 participant