Commit 652813f8 authored by Jeffrey I. Schiller's avatar Jeffrey I. Schiller

Simply choices for Location Sensor Time and Distance Interval Settings.

parent d7f254f6
...@@ -508,44 +508,6 @@ public interface OdeMessages extends Messages { ...@@ -508,44 +508,6 @@ public interface OdeMessages extends Messages {
@Description("Text for screen orientation choice 'Landscape '") @Description("Text for screen orientation choice 'Landscape '")
String landscapeScreenOrientation(); String landscapeScreenOrientation();
//Used in editor/youngandroid/properties/YoungAndroidSensorTimeIntervalChoicePropertyEditor.java
@DefaultMessage("0")
@Description("Text for time interval choice '0' milliseconds")
String zeroTimeInterval();
@DefaultMessage("1000")
@Description("Text for time interval choice '1000' milliseconds")
String oneThousandTimeInterval();
@DefaultMessage("10000")
@Description("Text for time interval choice '10000' milliseconds")
String tenThousandTimeInterval();
@DefaultMessage("60000")
@Description("Text for time interval choice '60000' milliseconds")
String sixtyThousandTimeInterval();
@DefaultMessage("300000")
@Description("Text for time interval choice '300000' milliseconds")
String threeHundredThousandTimeInterval();
//Used in editor/youngandroid/properties/YoungAndroidSensorDistIntervalChoicePropertyEditor.java
@DefaultMessage("0")
@Description("Text for distance interval choice '0 meters'")
String zeroDistanceInterval();
@DefaultMessage("1")
@Description("Text for distance interval choice '1 meter'")
String oneDistanceInterval();
@DefaultMessage("10")
@Description("Text for distance interval choice '10 meters'")
String tenDistanceInterval();
@DefaultMessage("100")
@Description("Text for distance interval choice '100 meters'")
String oneHundredDistanceInterval();
// Used in explorer/SourceStructureExplorer.java // Used in explorer/SourceStructureExplorer.java
@DefaultMessage("Rename") @DefaultMessage("Rename")
......
...@@ -15,10 +15,10 @@ public class YoungAndroidSensorDistIntervalChoicePropertyEditor extends ChoicePr ...@@ -15,10 +15,10 @@ public class YoungAndroidSensorDistIntervalChoicePropertyEditor extends ChoicePr
private static final Choice[] distIntervalChoices = new Choice[] { private static final Choice[] distIntervalChoices = new Choice[] {
// To avoid confusion, we only show a subset of the available sensor // To avoid confusion, we only show a subset of the available sensor
// distance interval values. // distance interval values.
new Choice(MESSAGES.zeroDistanceInterval(), "0"), new Choice("0", "0"),
new Choice(MESSAGES.oneDistanceInterval(), "1"), new Choice("1", "1"),
new Choice(MESSAGES.tenDistanceInterval(), "10"), new Choice("10", "10"),
new Choice(MESSAGES.oneHundredDistanceInterval(), "100"), new Choice("100", "100"),
}; };
public YoungAndroidSensorDistIntervalChoicePropertyEditor() { public YoungAndroidSensorDistIntervalChoicePropertyEditor() {
......
...@@ -15,11 +15,11 @@ public class YoungAndroidSensorTimeIntervalChoicePropertyEditor extends ChoicePr ...@@ -15,11 +15,11 @@ public class YoungAndroidSensorTimeIntervalChoicePropertyEditor extends ChoicePr
private static final Choice[] timeIntervalChoices = new Choice[] { private static final Choice[] timeIntervalChoices = new Choice[] {
// To avoid confusion, we only show a subset of the available // To avoid confusion, we only show a subset of the available
// sensor time interval values. // sensor time interval values.
new Choice(MESSAGES.zeroTimeInterval(), "0"), new Choice("0", "0"),
new Choice(MESSAGES.oneThousandTimeInterval(), "1000"), new Choice("1000", "1000"),
new Choice(MESSAGES.tenThousandTimeInterval(), "10000"), new Choice("10000", "10000"),
new Choice(MESSAGES.sixtyThousandTimeInterval(), "60000"), new Choice("60000", "60000"),
new Choice(MESSAGES.threeHundredThousandTimeInterval(), "300000"), new Choice("300000", "300000"),
}; };
public YoungAndroidSensorTimeIntervalChoicePropertyEditor() { public YoungAndroidSensorTimeIntervalChoicePropertyEditor() {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment