Changed (in the case of the batch interface) the label in the "BATCH ID" drop-down menu from ALL to "ALL the above"
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/performfish-analytics-portlet@179547 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
3960abe967
commit
71ecb09a2f
|
@ -41,7 +41,8 @@ public class PerformFishAnalyticsConstant {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public static final String DM_FOCUS_ID_ALL_VALUE = "ALL";
|
public static final String DM_FOCUS_ID_ALL_ITEM_VALUE = "ALL";
|
||||||
|
public static final String DM_FOCUS_ID_ALL_ITEM_TEXT = "ALL the above";
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -146,7 +146,7 @@ public class BatchIDAndListKPIView extends Composite {
|
||||||
List<String> selected = new ArrayList<String>();
|
List<String> selected = new ArrayList<String>();
|
||||||
for (int i=0; i<listBox.getItemCount(); i++) {
|
for (int i=0; i<listBox.getItemCount(); i++) {
|
||||||
if (listBox.isItemSelected(i)) {
|
if (listBox.isItemSelected(i)) {
|
||||||
selected.add(listBox.getItemText(i));
|
selected.add(listBox.getValue(i)); //reading the value
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return selected;
|
return selected;
|
||||||
|
@ -237,8 +237,8 @@ public class BatchIDAndListKPIView extends Composite {
|
||||||
listBatchesID.add(valuePerScaleP);
|
listBatchesID.add(valuePerScaleP);
|
||||||
}
|
}
|
||||||
|
|
||||||
uib_list_batch_id.addItem(PerformFishAnalyticsConstant.DM_FOCUS_ID_ALL_VALUE, PerformFishAnalyticsConstant.DM_FOCUS_ID_ALL_VALUE);
|
uib_list_batch_id.addItem(PerformFishAnalyticsConstant.DM_FOCUS_ID_ALL_ITEM_TEXT, PerformFishAnalyticsConstant.DM_FOCUS_ID_ALL_ITEM_VALUE);
|
||||||
listBatchesID.add(PerformFishAnalyticsConstant.DM_FOCUS_ID_ALL_VALUE);
|
listBatchesID.add(PerformFishAnalyticsConstant.DM_FOCUS_ID_ALL_ITEM_VALUE);
|
||||||
|
|
||||||
PerformFishAnalyticsController.eventBus.fireEvent(new AddedBatchIdEvent());
|
PerformFishAnalyticsController.eventBus.fireEvent(new AddedBatchIdEvent());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue