def METHOD_NAME(self, event):
    if (
        self.element == "vector" or self.element == "raster_3d"
    ) and not event.is_directory:
        return
    evt = updateMapset(
        src_path=event.src_path,
        event_type=event.event_type,
        is_directory=event.is_directory,
        dest_path=event.dest_path,
    )
    wx.PostEvent(self.event_handler, evt)