ISISComputingGroup / ISISComputingGroup/IBEX

GUI: Model Objects should use constants

Open
#1,924 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
6
Forks
2
Avg merge
16h 40m
Merged PRs (30d)
2

Description

When adding a property listener to a model we use a hard coded string to specify the property that we are interested in. This should be replaced by a constant specified in each model. This has the following advantages:
* Mitigates the effect of typos in the string.
* Changes in model properties will be automatically reflected in property listener
* It will be easier to find all the listeners for a specific property

Remember to update the dev manual with this recommendation.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.