live data indicator usability
This commit is contained in:
parent
e715bcc01f
commit
0b61af507f
|
@ -55,7 +55,10 @@ public class FragmentDialogConsumer implements ConfigurationConsumer {
|
|||
hasIndicators = true;
|
||||
indicatorPanel.append("indicatorPanel = " + getPanelName() + ", 2\n");
|
||||
}
|
||||
indicatorPanel.append("\tindicator = {" + prefix + configField.getName() + "}, \"No\", \"Yes\"\n");
|
||||
indicatorPanel.append("\tindicator = {" + prefix + configField.getName() + "}, " +
|
||||
"\"" + configField.getName() + " No\", " +
|
||||
"\"" + configField.getName() + " Yes\"" +
|
||||
"\n");
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
@ -41,10 +41,10 @@ public class FragmentDialogConsumerTest {
|
|||
state.readBufferedReader(outputChannels, fragmentDialogConsumer);
|
||||
|
||||
assertEquals("indicatorPanel = ac_stateIndicatorPanel, 2\n" +
|
||||
"\tindicator = {sd_bit_of_sd}, \"No\", \"Yes\"\n" +
|
||||
"\tindicator = {sd_present}, \"No\", \"Yes\"\n" +
|
||||
"\tindicator = {sd_present2}, \"No\", \"Yes\"\n" +
|
||||
"\tindicator = {sd_present3}, \"No\", \"Yes\"\n" +
|
||||
"\tindicator = {sd_bit_of_sd}, \"bit_of_sd No\", \"bit_of_sd Yes\"\n" +
|
||||
"\tindicator = {sd_present}, \"sd_present No\", \"sd_present Yes\"\n" +
|
||||
"\tindicator = {sd_present2}, \"sd_present2 No\", \"sd_present2 Yes\"\n" +
|
||||
"\tindicator = {sd_present3}, \"sd_present3 No\", \"sd_present3 Yes\"\n" +
|
||||
"\n" +
|
||||
"dialog = ac_stateDialog, \"ac_state\"\n" +
|
||||
"\tpanel = ac_stateIndicatorPanel\n" +
|
||||
|
|
Loading…
Reference in New Issue