TechnionYP5777 / Smartcity-Smarthouse

Smartcity-Smarthouse
11 stars 5 forks source link

Support user mode and developer mode #189

Closed ylevv closed 7 years ago

ylevv commented 7 years ago

As agreed, we will create two modes of the Smart-House: user mode and developer mode. This change includes several steps:

RonGatenio commented 7 years ago

il.ac.technion.cs.smarthouse.system.gui.main_system.MainSystemGuiController#initialize:

@Override
protected <T extends GuiController<SystemCore, SystemMode>> void initialize(SystemCore model, 
    T parent, SystemMode m, 
    URL location, ResourceBundle b) {
...
}

As you can see, the SystemMode is passed down into each SystemGuiController

ylevv commented 7 years ago

I also should

ylevv commented 7 years ago

After discussing the themes issue with @RonGatenio, we decided that using a CSS file is the best method to change the style of the screens in Developer Mode, as it will make future style modifications easy to apply.