def remove(self):
     self._project.remove_resource(self)
     RideDataFileRemoved(path=self.filename, datafile=self).publish()
 def remove_from_model(self):
     self._project.remove_datafile(self)
     self._remove_resources()
     RideDataFileRemoved(path=self.filename, datafile=self).publish()
Esempio n. 3
0
 def remove(self):
     self._chief_controller.remove_resource(self)
     RideDataFileRemoved(path=self.filename, datafile=self).publish()
 def _remove_resources(self):
     for resource in self._find_resources_recursively(self):
         self._project.remove_resource(resource)
         RideDataFileRemoved(path=resource.filename,
                             datafile=resource).publish()
Esempio n. 5
0
 def remove_from_model(self):
     self._chief_controller.remove_datafile(self)
     self._remove_resources()
     RideDataFileRemoved(path=self.filename, datafile=self).publish()