aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/web/client/controller
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2013-01-11 19:35:20 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2013-01-11 19:35:20 +1300
commit3defcd30d7ef7c10c82561b955c9e4e4fba789bf (patch)
tree5e4f88ecdf0dc817f7081d4844b982ca00c73d3c /src/org/traccar/web/client/controller
parent5100c457ad2f1faf1cffa8503c6baaf3a26c5d89 (diff)
downloadtrackermap-web-3defcd30d7ef7c10c82561b955c9e4e4fba789bf.tar.gz
trackermap-web-3defcd30d7ef7c10c82561b955c9e4e4fba789bf.tar.bz2
trackermap-web-3defcd30d7ef7c10c82561b955c9e4e4fba789bf.zip
Remove unnecessary device handlers
Diffstat (limited to 'src/org/traccar/web/client/controller')
-rw-r--r--src/org/traccar/web/client/controller/DeviceController.java8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/org/traccar/web/client/controller/DeviceController.java b/src/org/traccar/web/client/controller/DeviceController.java
index 865aaeae..0bb6a8a6 100644
--- a/src/org/traccar/web/client/controller/DeviceController.java
+++ b/src/org/traccar/web/client/controller/DeviceController.java
@@ -20,11 +20,7 @@ import com.sencha.gxt.widget.core.client.event.HideEvent.HideHandler;
public class DeviceController implements ContentController, DeviceView.DeviceHandler {
public interface DeviceHandler {
- public void onLoad(List<Device> devices);
public void onSelected(Device device);
- public void onAdd(Device device);
- public void onUpdate(Device device);
- public void onRemove(Device device);
}
private DeviceHandler deviceHandler;
@@ -55,7 +51,6 @@ public class DeviceController implements ContentController, DeviceView.DeviceHan
@Override
public void onSuccess(List<Device> result) {
deviceStore.addAll(result);
- deviceHandler.onLoad(result);
}
});
}
@@ -74,7 +69,6 @@ public class DeviceController implements ContentController, DeviceView.DeviceHan
@Override
public void onSuccess(Device result) {
deviceStore.add(result);
- deviceHandler.onAdd(result);
}
});
}
@@ -90,7 +84,6 @@ public class DeviceController implements ContentController, DeviceView.DeviceHan
@Override
public void onSuccess(Device result) {
deviceStore.update(result);
- deviceHandler.onUpdate(result);
}
});
}
@@ -108,7 +101,6 @@ public class DeviceController implements ContentController, DeviceView.DeviceHan
@Override
public void onSuccess(Device result) {
deviceStore.remove(device);
- deviceHandler.onRemove(device);
}
});
}