13.5.2-3 baseline

Former-commit-id: 91fb128c17 [formerly 9fdd0e51a0] [formerly bae0a20b8e [formerly 51ecc8e9e15940e6cbe2c5da55edc5860ea8b0ca]]
Former-commit-id: bae0a20b8e
Former-commit-id: c666ac7283
This commit is contained in:
Steve Harris 2013-09-04 14:13:29 -04:00
parent 12b0ab91fd
commit 8ac02ce922
3 changed files with 5 additions and 3 deletions

View file

@ -48,6 +48,7 @@ import com.raytheon.viz.core.ColorUtil;
* Date Ticket# Engineer Description
* ------------ ---------- ----------- --------------------------
* Mar 21, 2013 1638 mschenke Renamed to better represent purpose
* Aug 29, 2103 DR 16550 D. Friedman Fix reflection constructor args
*
* </pre>
*
@ -101,7 +102,7 @@ public class GenericToolsResourceData<T extends AbstractVizResource<?, ?>>
public T construct(LoadProperties loadProperties, IDescriptor descriptor)
throws VizException {
try {
Class<?>[] ctorParams = new Class<?>[] { this.getClass(),
Class<?>[] ctorParams = new Class<?>[] { GenericToolsResourceData.class,
LoadProperties.class };
Object[] ctorArgs = new Object[] { this, loadProperties };
@ -110,7 +111,7 @@ public class GenericToolsResourceData<T extends AbstractVizResource<?, ?>>
ctor = classT.getConstructor(ctorParams);
} catch (NoSuchMethodException e) {
// check for ctor with additional descriptor parameter
ctorParams = new Class<?>[] { this.getClass(),
ctorParams = new Class<?>[] { GenericToolsResourceData.class,
LoadProperties.class, MapDescriptor.class };
ctorArgs = new Object[] { this, loadProperties, descriptor };
ctor = classT.getConstructor(ctorParams);

View file

@ -43,6 +43,7 @@ import com.raytheon.viz.ui.tools.AbstractTool;
* ------------ ---------- ----------- --------------------------
* Feb 23, 2007 chammack Initial Creation.
* Nov 3, 2009 3457 bsteffen Updated to change blend on all DisplayPanes, not just the active ones.
* Aug 30, 2013 DR 16555 D. Friedman Prevent NPE.
*
* </pre>
*
@ -65,7 +66,7 @@ public class ToggleTool extends AbstractTool {
ResourceList rscs = mapDescriptor.getResourceList();
for (ResourcePair rp : rscs) {
AbstractVizResource<?, ?> rsc = rp.getResource();
if (rsc.getCapabilities().hasCapability(
if (rsc != null && rsc.getCapabilities().hasCapability(
BlendableCapability.class)) {
rsc.getCapability(BlendableCapability.class).toggle();
}

0
deltaScripts/13.5.2/addBufrmosDataURI.sh Normal file → Executable file
View file