various small tweaks

Former-commit-id: 1c345749a5
This commit is contained in:
mjames-upc 2015-04-17 16:22:20 -06:00
parent 4b252ba378
commit a60f455959
4 changed files with 5 additions and 5 deletions

View file

@ -58,7 +58,7 @@ public class ChangeD2DLayoutAction extends AbstractHandler {
public static int getViewCount() {
Integer views = viewMap.get(PlatformUI.getWorkbench()
.getActiveWorkbenchWindow());
return views;
return views != null ? views : 4;
}
/*

View file

@ -87,7 +87,7 @@ public class ThinClientLocalizationInitializer extends LocalizationInitializer {
HttpClient httpClient = HttpClient.getInstance();
HttpClientConfigBuilder confBuilder = new HttpClientConfigBuilder(
httpClient.getConfig());
confBuilder.setHandlingGzipResponses(true);
HttpClient.configureGlobalInstance(confBuilder.build());
if (promptUI) {
ThinClientConnectivityDialog dlg = new ThinClientConnectivityDialog(

View file

@ -1,5 +1,5 @@
! ?what is correct colormap?
colorMapName=lingray
colorMapName=nids_scref
colorBar=@ColorBars/Radar/dfltRadarColorBar.xml
! 1km Digital Hybrid Scan Refl.
productCode=32

View file

@ -1,11 +1,11 @@
<colorBar>
<showLabels>true</showLabels>
<drawToScale>false</drawToScale>
<drawToScale>true</drawToScale>
<orientation>Vertical</orientation>
<anchorLoc>UpperLeft</anchorLoc>
<lengthAsRatio>0.6</lengthAsRatio>
<widthInPixels>15</widthInPixels>
<numDecimals>0</numDecimals>
<numDecimals>1</numDecimals>
<labeledPixels>0,50,100,150,200,255</labeledPixels>