Issue #2491 Fix alertviz and java 6 compatibility.
Former-commit-id:27165cea30
[formerly27165cea30
[formerly 2baf2fdd778b55b76be37503935510b057c5eb0e]] Former-commit-id:44a6f05986
Former-commit-id:1f33a1997e
This commit is contained in:
parent
b48d5d53c3
commit
0c3bb6ef3e
9 changed files with 76 additions and 28 deletions
|
@ -19,6 +19,8 @@
|
|||
**/
|
||||
package com.raytheon.uf.viz.collaboration.display.rsc;
|
||||
|
||||
import javax.xml.bind.annotation.XmlTransient;
|
||||
|
||||
import com.raytheon.uf.viz.collaboration.comm.identity.ISharedDisplaySession;
|
||||
import com.raytheon.uf.viz.collaboration.display.editor.ICollaborationEditor;
|
||||
import com.raytheon.uf.viz.core.drawables.IDescriptor;
|
||||
|
@ -35,16 +37,17 @@ import com.raytheon.uf.viz.core.rsc.LoadProperties;
|
|||
*
|
||||
* SOFTWARE HISTORY
|
||||
*
|
||||
* Date Ticket# Engineer Description
|
||||
* ------------ ---------- ----------- --------------------------
|
||||
* Apr 3, 2012 njensen Initial creation
|
||||
* Date Ticket# Engineer Description
|
||||
* ------------- -------- ----------- --------------------------
|
||||
* Apr 03, 2012 njensen Initial creation
|
||||
* Oct 28, 2013 2491 bsteffen Add @XmlTransient
|
||||
*
|
||||
* </pre>
|
||||
*
|
||||
* @author njensen
|
||||
* @version 1.0
|
||||
*/
|
||||
|
||||
@XmlTransient
|
||||
public class CollaborationResourceData extends AbstractResourceData {
|
||||
|
||||
private ICollaborationEditor editor;
|
||||
|
|
|
@ -489,4 +489,16 @@
|
|||
version="0.0.0"
|
||||
unpack="false"/>
|
||||
|
||||
<plugin
|
||||
id="com.google.guava"
|
||||
download-size="0"
|
||||
install-size="0"
|
||||
version="0.0.0"/>
|
||||
|
||||
<plugin
|
||||
id="org.reflections"
|
||||
download-size="0"
|
||||
install-size="0"
|
||||
version="0.0.0"/>
|
||||
|
||||
</feature>
|
||||
|
|
|
@ -19,6 +19,8 @@
|
|||
**/
|
||||
package com.raytheon.uf.viz.xy.hodo;
|
||||
|
||||
import javax.xml.bind.annotation.XmlTransient;
|
||||
|
||||
import org.geotools.coverage.grid.GeneralGridGeometry;
|
||||
import org.geotools.referencing.crs.DefaultEngineeringCRS;
|
||||
|
||||
|
@ -26,22 +28,23 @@ import com.raytheon.uf.viz.core.IExtent;
|
|||
import com.raytheon.uf.viz.core.drawables.AbstractDescriptor;
|
||||
|
||||
/**
|
||||
* TODO Add Description
|
||||
* Descriptor for a hodograph display.
|
||||
*
|
||||
* <pre>
|
||||
*
|
||||
* SOFTWARE HISTORY
|
||||
*
|
||||
* Date Ticket# Engineer Description
|
||||
* ------------ ---------- ----------- --------------------------
|
||||
* Nov 17, 2011 bsteffen Initial creation
|
||||
* Date Ticket# Engineer Description
|
||||
* ------------- -------- ----------- --------------------------
|
||||
* Nov 17, 2011 bsteffen Initial creation
|
||||
* Oct 28, 2013 2491 bsteffen Add @XmlTransient
|
||||
*
|
||||
* </pre>
|
||||
*
|
||||
* @author bsteffen
|
||||
* @version 1.0
|
||||
*/
|
||||
|
||||
@XmlTransient
|
||||
public class HodographDescriptor extends AbstractDescriptor {
|
||||
|
||||
// The max distance of the hodograph
|
||||
|
|
|
@ -25,6 +25,7 @@ import java.util.List;
|
|||
import java.util.Map;
|
||||
|
||||
import javax.xml.bind.annotation.XmlElement;
|
||||
import javax.xml.bind.annotation.XmlTransient;
|
||||
|
||||
import org.eclipse.swt.graphics.RGB;
|
||||
|
||||
|
@ -37,9 +38,23 @@ import com.raytheon.uf.viz.core.rsc.LoadProperties;
|
|||
import com.raytheon.viz.gfe.rsc.zones.ZoneDbResource;
|
||||
|
||||
/**
|
||||
* @author wldougher
|
||||
*
|
||||
* Resource data for Zones in the database.
|
||||
*
|
||||
* <pre>
|
||||
*
|
||||
* SOFTWARE HISTORY
|
||||
*
|
||||
* Date Ticket# Engineer Description
|
||||
* ------------- -------- ----------- --------------------------
|
||||
* Oct 28, 2013 2491 bsteffen Add @XmlTransient
|
||||
*
|
||||
* </pre>
|
||||
*
|
||||
* @author wldougher
|
||||
* @version 1.0
|
||||
*/
|
||||
@XmlTransient
|
||||
public class ZoneDbResourceData extends AbstractResourceData {
|
||||
|
||||
public static final RGB DEFAULT_BACKGROUND_COLOR = new RGB(50, 50, 50);
|
||||
|
|
|
@ -23,6 +23,8 @@ import java.util.ArrayList;
|
|||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
import javax.xml.bind.annotation.XmlTransient;
|
||||
|
||||
import com.raytheon.uf.viz.core.drawables.IDescriptor;
|
||||
import com.raytheon.uf.viz.core.exception.VizException;
|
||||
import com.raytheon.uf.viz.core.rsc.AbstractResourceData;
|
||||
|
@ -31,23 +33,23 @@ import com.raytheon.uf.viz.core.rsc.LoadProperties;
|
|||
import com.raytheon.viz.hydrocommon.data.ArealData;
|
||||
|
||||
/**
|
||||
* Displays the Areal FFG Data from the Contingency Value table
|
||||
* in IHFS.
|
||||
* Displays the Areal FFG Data from the Contingency Value table in IHFS.
|
||||
*
|
||||
* <pre>
|
||||
*
|
||||
* SOFTWARE HISTORY
|
||||
*
|
||||
* Date Ticket# Engineer Description
|
||||
* ------------ ---------- ----------- --------------------------
|
||||
* Jan 22, 2011 mpduff Initial creation
|
||||
* Date Ticket# Engineer Description
|
||||
* ------------- -------- ----------- --------------------------
|
||||
* Jan 22, 2011 mpduff Initial creation
|
||||
* Oct 28, 2013 2491 bsteffen Add @XmlTransient
|
||||
*
|
||||
* </pre>
|
||||
*
|
||||
* @author mpduff
|
||||
* @version 1.0
|
||||
*/
|
||||
|
||||
@XmlTransient
|
||||
public class ArealFfgResourceData extends AbstractResourceData {
|
||||
/** List of ArealData objects */
|
||||
private List<ArealData> arealDataList = new ArrayList<ArealData>();
|
||||
|
|
|
@ -22,6 +22,8 @@ package com.raytheon.viz.hydrocommon.resource;
|
|||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
import javax.xml.bind.annotation.XmlTransient;
|
||||
|
||||
import com.raytheon.uf.common.dataplugin.shef.tables.Colorvalue;
|
||||
import com.raytheon.uf.common.mpe.util.XmrgFile;
|
||||
import com.raytheon.uf.viz.core.drawables.IDescriptor;
|
||||
|
@ -39,16 +41,17 @@ import com.raytheon.viz.hydrocommon.constants.FFGConstants.ResolutionLevel;
|
|||
*
|
||||
* SOFTWARE HISTORY
|
||||
*
|
||||
* Date Ticket# Engineer Description
|
||||
* ------------ ---------- ----------- --------------------------
|
||||
* Jan 18, 2011 mpduff Initial creation
|
||||
* Date Ticket# Engineer Description
|
||||
* ------------- -------- ----------- --------------------------
|
||||
* Jan 18, 2011 mpduff Initial creation
|
||||
* Oct 28, 2013 2491 bsteffen Add @XmlTransient
|
||||
*
|
||||
* </pre>
|
||||
*
|
||||
* @author mpduff
|
||||
* @version 1.0
|
||||
*/
|
||||
|
||||
@XmlTransient
|
||||
public class GriddedArealFFGResourceData extends AbstractResourceData {
|
||||
private ResolutionLevel resolution;
|
||||
private int duration;
|
||||
|
|
|
@ -22,6 +22,8 @@ package com.raytheon.viz.hydrocommon.resource;
|
|||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
import javax.xml.bind.annotation.XmlTransient;
|
||||
|
||||
import com.raytheon.uf.common.dataplugin.grid.GridRecord;
|
||||
import com.raytheon.uf.common.dataplugin.shef.tables.Colorvalue;
|
||||
import com.raytheon.uf.viz.core.drawables.IDescriptor;
|
||||
|
@ -39,16 +41,17 @@ import com.raytheon.viz.hydrocommon.constants.FFGConstants.ResolutionLevel;
|
|||
*
|
||||
* SOFTWARE HISTORY
|
||||
*
|
||||
* Date Ticket# Engineer Description
|
||||
* ------------ ---------- ----------- --------------------------
|
||||
* Jan 24, 2011 mpduff Initial creation
|
||||
* Date Ticket# Engineer Description
|
||||
* ------------- -------- ----------- --------------------------
|
||||
* Jan 24, 2011 mpduff Initial creation
|
||||
* Oct 28, 2013 2491 bsteffen Add @XmlTransient
|
||||
*
|
||||
* </pre>
|
||||
*
|
||||
* @author mpduff
|
||||
* @version 1.0
|
||||
*/
|
||||
|
||||
@XmlTransient
|
||||
public class RFCGriddedBasinFFGResourceData extends AbstractResourceData {
|
||||
private ResolutionLevel resolution;
|
||||
|
||||
|
|
|
@ -34,6 +34,7 @@ import java.util.List;
|
|||
import java.util.Set;
|
||||
|
||||
import javax.xml.bind.annotation.XmlElement;
|
||||
import javax.xml.bind.annotation.XmlTransient;
|
||||
import javax.xml.bind.annotation.XmlType;
|
||||
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
|
||||
|
||||
|
@ -85,6 +86,9 @@ public class JAXBClassLocator {
|
|||
processClass(clazz.getComponentType());
|
||||
return;
|
||||
}
|
||||
if (clazz.isAnnotationPresent(XmlTransient.class)) {
|
||||
return;
|
||||
}
|
||||
if (clazz.getName().contains("$")
|
||||
&& !clazz.isAnnotationPresent(XmlType.class)) {
|
||||
return;
|
||||
|
|
|
@ -5,6 +5,7 @@ import java.util.Iterator;
|
|||
import java.util.TimeZone;
|
||||
|
||||
import javax.persistence.Transient;
|
||||
import javax.xml.bind.annotation.XmlTransient;
|
||||
|
||||
/**
|
||||
* A single DataTime object representing 2 DataTimes, useful for products which
|
||||
|
@ -14,16 +15,18 @@ import javax.persistence.Transient;
|
|||
*
|
||||
* SOFTWARE HISTORY
|
||||
*
|
||||
* Date Ticket# Engineer Description
|
||||
* ------------ ---------- ----------- --------------------------
|
||||
* Jan 10, 2011 rgeorge Initial creation
|
||||
* Aug 08, 2013 2245 bsteffen Make all DataTime comparisons consistent.
|
||||
* Date Ticket# Engineer Description
|
||||
* ------------- -------- ----------- --------------------------
|
||||
* Jan 10, 2011 rgeorge Initial creation
|
||||
* Aug 08, 2013 2245 bsteffen Make all DataTime comparisons consistent.
|
||||
* Oct 28, 2013 2491 bsteffen Add @XmlTransient
|
||||
*
|
||||
* </pre>
|
||||
*
|
||||
* @author rgeorge
|
||||
* @version 1.0
|
||||
*/
|
||||
@XmlTransient
|
||||
public class CombinedDataTime extends DataTime {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
|
Loading…
Add table
Reference in a new issue