lpcmanager

Enabled Python extension node in Project tab.

2015-11-16, Edouard Tisserant
4782e9507f71
Parents d0ed0039ea38
Children 51687d9f2518
Enabled Python extension node in Project tab.
  • +2 -13
    LPCManager.py
  • --- a/LPCManager.py Thu Jul 30 15:04:59 2015 +0200
    +++ b/LPCManager.py Mon Nov 16 10:29:25 2015 +0100
    @@ -135,6 +135,8 @@
    }
    from editors.ConfTreeNodeEditor import GenBitmapTextButton
    +from editors.ConfTreeNodeEditor import ConfTreeNodeEditor
    +ConfTreeNodeEditor.SHOW_BASE_PARAMS = False
    #-------------------------------------------------------------------------------
    # CANFESTIVAL CONFNODE HACK
    @@ -403,19 +405,6 @@
    # Firmware update running status
    self.firmawreUpadateIsRunning = False
    - def GetProjectInfos(self):
    - infos = PLCControler.GetProjectInfos(self)
    - configurations = infos["values"].pop(-1)
    - resources = None
    - for config_infos in configurations["values"]:
    - if resources is None:
    - resources = config_infos["values"][0]
    - else:
    - resources["values"].extend(config_infos["values"][0]["values"])
    - if resources is not None:
    - infos["values"].append(resources)
    - return infos
    -
    def GetProjectName(self):
    return self.Project.getname()