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

Priority change action should also apply to recipes #733

Open
rensink opened this issue Jun 9, 2014 · 1 comment
Open

Priority change action should also apply to recipes #733

rensink opened this issue Jun 9, 2014 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@rensink
Copy link
Collaborator

rensink commented Jun 9, 2014

Rule priorities can be changed in two ways: by changing the rule properties in the properties panel (SetPriorityAction), or by shifting the priorities in the rule tree (ShiftPriorityAction). The second method does not work for selected recipes, though, mainly because the selected recipes are not reflected in the SimulatorModel.

Recipe priorities can only be changed by manually changing the control program.

CtrlLoader.changePriority (untested!) does the work of changing the control programs so that new priorities are reflected, but to invoke it, SimulatorModel should be adapted to include the selected recipes.

Reported by: rensink

@rensink
Copy link
Collaborator Author

rensink commented Jun 9, 2014

Having an explicit set of selected actions (rules + recipes) would also allow getting rid of some strange (erroneous) selection behaviour: if you select a recipe, a rule also gets selected because currently the assumption is that every resource must be selected.

Original comment by: rensink

@rensink rensink self-assigned this Mar 7, 2024
@rensink rensink added enhancement New feature or request and removed feature-request labels Mar 7, 2024
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

1 participant