예제 #1
0
 def remove(self):
     self._project.remove_resource(self)
     RideDataFileRemoved(path=self.filename, datafile=self).publish()
예제 #2
0
 def remove_from_model(self):
     self._project.remove_datafile(self)
     self._remove_resources()
     RideDataFileRemoved(path=self.filename, datafile=self).publish()
예제 #3
0
 def remove(self):
     self._chief_controller.remove_resource(self)
     RideDataFileRemoved(path=self.filename, datafile=self).publish()
예제 #4
0
 def _remove_resources(self):
     for resource in self._find_resources_recursively(self):
         self._project.remove_resource(resource)
         RideDataFileRemoved(path=resource.filename,
                             datafile=resource).publish()
예제 #5
0
 def remove_from_model(self):
     self._chief_controller.remove_datafile(self)
     self._remove_resources()
     RideDataFileRemoved(path=self.filename, datafile=self).publish()