ASM#18105 Mpe Info needed more space to display basin names

Change-Id: I67c1cee3989408964ac8769c0787500fa66f4d46

Former-commit-id: c34f0038386808f649631e5158af0fc35c260709
This commit is contained in:
Loubna.Bousaidi 2015-11-20 13:14:55 +00:00
parent 4d5933ddd6
commit 7243c656b9

View file

@ -96,6 +96,8 @@ import com.vividsolutions.jts.geom.GeometryFactory;
* Feb 14, 2013 1616 bsteffen Add option for interpolation of colormap
* parameters, disable colormap interpolation
* by default.
* Nov 19, 2015 18105 lbousaidi Removed time and PrecipField legend on the right
* side of cave to give space to basin info.
*
* </pre>
*
@ -897,16 +899,8 @@ public class MPELegendResource extends
} else if (rsc.getStatus() != ResourceStatus.INITIALIZED) {
continue;
} else {
legend.label = rsc.getName();
legend.label="";
legend.resource = resourcePair;
if (rsc.isTimeAgnostic() == false) {
DataTime date = frameInfo.getTimeForResource(rsc);
String time = " No Data Available";
if (date != null) {
time = " - " + date.getLegendString();
}
legend.label += time;
}
}
if (!vis) {