plugins/canfestival/canfestival.py
changeset 250 01963beca027
parent 203 cb9901076a21
child 307 b80d3a84b8bf
equal deleted inserted replaced
249:a770187273e9 250:01963beca027
   211     def PlugTestModified(self):
   211     def PlugTestModified(self):
   212         return self.ChangesToSave or self.HasChanged()
   212         return self.ChangesToSave or self.HasChanged()
   213         
   213         
   214     def OnPlugSave(self):
   214     def OnPlugSave(self):
   215         self.SetRoot(self.PlugPath())
   215         self.SetRoot(self.PlugPath())
   216         return self.SaveProject() is not None
   216         return self.SaveProject() is None
   217 
   217 
   218     def PlugGenerate_C(self, buildpath, locations):
   218     def PlugGenerate_C(self, buildpath, locations):
   219         """
   219         """
   220         Generate C code
   220         Generate C code
   221         @param current_location: Tupple containing plugin IEC location : %I0.0.4.5 => (0,0,4,5)
   221         @param current_location: Tupple containing plugin IEC location : %I0.0.4.5 => (0,0,4,5)