Skip to content
Snippets Groups Projects
Commit b2cfdde3 authored by martinRenou's avatar martinRenou
Browse files

Do the same for the other models

parent 5b75e46e
No related branches found
No related tags found
1 merge request!73Hide base attributes of the models for the GUI
......@@ -19,11 +19,11 @@ class BaseKPICalculatorModel(ABCHasStrictTraits):
#: Specifies binding between input slots and source for that value.
#: Each InputSlotMap instance specifies this information for each of the
#: slots.
input_slot_maps = List(Instance(InputSlotMap))
input_slot_maps = List(Instance(InputSlotMap), visible=False)
#: Allows to assign names to the output slots, so that they can be
#: referenced somewhere else (e.g. the KPICalculators).
output_slot_names = List(String())
output_slot_names = List(String(), visible=False)
def __init__(self, factory, *args, **kwargs):
self.factory = factory
......
......@@ -18,7 +18,7 @@ class BaseMCOModel(ABCHasStrictTraits):
transient=True)
# A list of the parameters for the MCO
parameters = List(BaseMCOParameter)
parameters = List(BaseMCOParameter, visible=False)
def __init__(self, factory, *args, **kwargs):
self.factory = factory
......
......@@ -14,10 +14,10 @@ class BaseMCOParameter(HasStrictTraits):
factory = Instance(BaseMCOParameterFactory, visible=False, transient=True)
#: A user defined name for the parameter
name = String()
name = String(visible=False)
#: A CUBA key describing the type of the parameter
type = String()
type = String(visible=False)
def __init__(self, factory, *args, **kwargs):
self.factory = factory
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment