Add a context menu to each sensor to "Hide" or "Show" the sensor, depending
on its state.
Add a menu entry to the main menu, that allows to "Show Hidden Sensors".
This will display all senors, even those that are hidden. The hidden
sensors will be display in a grayed out style.
The sensor default hidden state has to be set by the hardware detection
code. This means that the there has to be a IsHidden {get; set; } property
for ISensor. The IsHidden property has to be initialized, edited and saved
similar to the Name property.
Alternatively one could replace the Name and IsHidden property of ISensor
with DefaultName { get; } and IsTrusted { get; } readonly properties. The
additional state required in the GUI code could then be added with
Dictionary<string, T> classes, where the as key ISensor.Identifier is used.
Original issue reported on code.google.com by moel.mich on 4 May 2010 at 8:53
Original issue reported on code.google.com by
moel.mich
on 4 May 2010 at 8:53