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

Classifier information view is not updated when AADL text is edited and saved #2435

Closed
lwrage opened this issue Sep 14, 2020 · 2 comments · Fixed by #2476
Closed

Classifier information view is not updated when AADL text is edited and saved #2435

lwrage opened this issue Sep 14, 2020 · 2 comments · Fixed by #2476
Assignees
Milestone

Comments

@lwrage
Copy link
Contributor

lwrage commented Sep 14, 2020

Summary

Changes in AADL text files should be reflected in the classifier information view immediately after saving.

Expected and Current Behavior

The only way to refresh the classifier information view is to re-open the classifier from the outline view.

Environment

  • OSATE Version: 2.8.0
  • Operating System: all
@AaronGreenhouse
Copy link
Contributor

Need to add resource change listener that watches the resources that contain all the classifiers in the hierarchy. Listener should rebuild the view when a resource changes.

@AaronGreenhouse
Copy link
Contributor

Added a resource change listener. Changed the view to keep track of the URI of the classifier it is viewing. When any resource changes that we care about, then the view is rebuild from the object referenced by the URI. Need to keep the URI and not the Classifier object so that we can get the newly parsed Classifier object from the URI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants