ISISComputingGroup / ISISComputingGroup/IBEX

GUI: Refactor EditableConfiguration

Open
#2,120 1 comment 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

_Part of a greater redesign of Components. See [Configuration and Component Architecture](https://github.com/ISISComputingGroup/ibex_developers_manual/wiki/Configuration-and-Component-Architecture)_

Umbrella-ticket: #2122

Currently, the `EditableConfiguration` class is rather bloated and unlike the name suggests, not part of a class hierarchy with `Configuration`. Requires https://github.com/ISISComputingGroup/IBEX/issues/2119

Proposed Changes:
- Create an Interface containing setters for elements contained in a Configuration or Component (such as IOCs, Blocks, ...)
- Refactor `EditableConfiguration` to extend `Configuration` and implement the above Interface.
- Add an `EditableComponent` class that extends `Component` analogous to Configurations
- Rename currently existing `EditableComponents` to the more accurate `AvailableComponents`
- Move all editing logic from `EditableConfiguration` into a new EditingModel class.

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.