diff options
Diffstat (limited to 'src/org/traccar/web/client/model/DeviceProperties.java')
-rw-r--r-- | src/org/traccar/web/client/model/DeviceProperties.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/org/traccar/web/client/model/DeviceProperties.java b/src/org/traccar/web/client/model/DeviceProperties.java index 2c56ff6d..2ba4d47f 100644 --- a/src/org/traccar/web/client/model/DeviceProperties.java +++ b/src/org/traccar/web/client/model/DeviceProperties.java @@ -2,7 +2,9 @@ package org.traccar.web.client.model; import org.traccar.web.shared.model.Device; +import com.google.gwt.editor.client.Editor.Path; import com.sencha.gxt.core.client.ValueProvider; +import com.sencha.gxt.data.shared.LabelProvider; import com.sencha.gxt.data.shared.ModelKeyProvider; import com.sencha.gxt.data.shared.PropertyAccess; @@ -14,4 +16,7 @@ public interface DeviceProperties extends PropertyAccess<Device> { ValueProvider<Device, String> name(); + @Path("name") + LabelProvider<Device> label(); + } |