AWP.TRG.SWCTR-TO4.ADE-CAVE(Lx)-01.00/02.00 Rev. A This document includes data that shall not be duplicated, used, or disclosed – in whole or in part – outside the Government for any purpose other than to the extent provided in contract DG133W-05-CQ However, the Government shall have the right to duplicate, use, or disclose the data to the extent provided in the contract. This restriction does not limit the Government’s right to use information contained in this data if it is obtained from another source without restriction. The data subject to this restriction are contained in all sheets. Jan. 16, Advanced Weather Interactive Processing System II (AWIPS II) AWIPS Development Environment (ADE) and the Common AWIPS Visualization Environment (CAVE) Module 7: CAVE-User Interface Wrap-Up
AWP.TRG.SWCTR-TO4.ADE-CAVE(Lx)-01.00/02.00 Rev. A This document includes data that shall not be duplicated, used, or disclosed – in whole or in part – outside the Government for any purpose other than to the extent provided in contract DG133W-05-CQ However, the Government shall have the right to duplicate, use, or disclose the data to the extent provided in the contract. This restriction does not limit the Government’s right to use information contained in this data if it is obtained from another source without restriction. The data subject to this restriction are contained in all sheets. Jan. 16, Module 7: CAVE-User Interface Module 7 Objectives CAVE Baseline orientation Add Functionality by Modifying plugin.xml Add a New Menu Item and Custom Resource
AWP.TRG.SWCTR-TO4.ADE-CAVE(Lx)-01.00/02.00 Rev. A This document includes data that shall not be duplicated, used, or disclosed – in whole or in part – outside the Government for any purpose other than to the extent provided in contract DG133W-05-CQ However, the Government shall have the right to duplicate, use, or disclose the data to the extent provided in the contract. This restriction does not limit the Government’s right to use information contained in this data if it is obtained from another source without restriction. The data subject to this restriction are contained in all sheets. Jan. 16, Baseline Orientation Presently 5 Plug-Ins in CAVE, Each With Its Own Project in Eclipse and Each Built Independently (Although Some Plug-ins Depend on Others) Cave Plug-ins –Core plug-in – Provides Rendering and Infrastructure –Libs plug-in – Provides Open Source Libraries (No Source Code) –User interface plug-in – Provides User Interface Elements –Drawing & Collaboration CAVE plug-in – Provides Drawing and Collaboration Support –Hydro plug-in – Contains Hydro and Skew-T support
AWP.TRG.SWCTR-TO4.ADE-CAVE(Lx)-01.00/02.00 Rev. A This document includes data that shall not be duplicated, used, or disclosed – in whole or in part – outside the Government for any purpose other than to the extent provided in contract DG133W-05-CQ However, the Government shall have the right to duplicate, use, or disclose the data to the extent provided in the contract. This restriction does not limit the Government’s right to use information contained in this data if it is obtained from another source without restriction. The data subject to this restriction are contained in all sheets. Jan. 16, Core Packages Catalog Client Support Client Communications Subscription Support Base Drawing objects GL Drawing objects XY Graphing Imagery Utilities Map Descriptor Plot Data Preference Panes Base Resources Animation Support D2D BCD Support Resource Capabilities GeoTIFF Rendering JTS Rendering Shapefile Rendering SVG Rendering Tiled Rendering
AWP.TRG.SWCTR-TO4.ADE-CAVE(Lx)-01.00/02.00 Rev. A This document includes data that shall not be duplicated, used, or disclosed – in whole or in part – outside the Government for any purpose other than to the extent provided in contract DG133W-05-CQ However, the Government shall have the right to duplicate, use, or disclose the data to the extent provided in the contract. This restriction does not limit the Government’s right to use information contained in this data if it is obtained from another source without restriction. The data subject to this restriction are contained in all sheets. Jan. 16, Libs CAVE Plug-In Libraries That CAVE Depends On –Common : The EDEX common library –Batik : SVG tools, primarily SVG to raster –Ehcache : Event driven cache framework –JiBX : Fast Object to XML serialization –JOGL : OpenGL API in Java –JTS : GIS analysis /geometry library used with GeoTools –ActiveMQ : JMS API –Mule : Enterprise Service Bus and Container, Using Mule Client –Commons-* : General-purpose Apache projects –gt2-* : GeoTools GIS libraries
AWP.TRG.SWCTR-TO4.ADE-CAVE(Lx)-01.00/02.00 Rev. A This document includes data that shall not be duplicated, used, or disclosed – in whole or in part – outside the Government for any purpose other than to the extent provided in contract DG133W-05-CQ However, the Government shall have the right to duplicate, use, or disclose the data to the extent provided in the contract. This restriction does not limit the Government’s right to use information contained in this data if it is obtained from another source without restriction. The data subject to this restriction are contained in all sheets. Jan. 16, User Interface CAVE Plug-In Menu/Button Actions Legend Contextual Menu Dialogs Editors Eclipse Jobs Maps Mouse Management UI Perspectives Scripting Tools: Toolbar Items Tools: GIS Toolbar Items Tools: GIS Analysis Toolbar Items Tools: Loop Controls Tools: Navigation Controls UI Views Wizards
AWP.TRG.SWCTR-TO4.ADE-CAVE(Lx)-01.00/02.00 Rev. A This document includes data that shall not be duplicated, used, or disclosed – in whole or in part – outside the Government for any purpose other than to the extent provided in contract DG133W-05-CQ However, the Government shall have the right to duplicate, use, or disclose the data to the extent provided in the contract. This restriction does not limit the Government’s right to use information contained in this data if it is obtained from another source without restriction. The data subject to this restriction are contained in all sheets. Jan. 16, Eclipse Plug-In XML Look at a piece of plugin.xml (from core): This extension registers the Shapefile type to the ShapefileResource (and the.shp file extension). <extension point="com.raytheon.viz.core.resource"> <resource class="com.raytheon.viz.core.rsc.shp.ShapefileResource" factoryClass="com.raytheon.viz.core.rsc.shp.ShapefileFactoryAdapter" name="ShapefileResource"> <fileType fileExtension="shp" name="Shapefile"/>
AWP.TRG.SWCTR-TO4.ADE-CAVE(Lx)-01.00/02.00 Rev. A This document includes data that shall not be duplicated, used, or disclosed – in whole or in part – outside the Government for any purpose other than to the extent provided in contract DG133W-05-CQ However, the Government shall have the right to duplicate, use, or disclose the data to the extent provided in the contract. This restriction does not limit the Government’s right to use information contained in this data if it is obtained from another source without restriction. The data subject to this restriction are contained in all sheets. Jan. 16, Eclipse Plug-In XML (Cont’d) Another example from Drawing's plugin.xml: This code adds the Weather Symbol tool to the toolbar as the Thunderstorm tool. Note the “:17” at the end. This corresponds to the 17.svg in basemaps. <action class="com.raytheon.viz.drawing.WeatherSymbolTool" icon="icons/thunderstorm.gif" id="com.raytheon.viz.drawing.WeatherSymbolTool:17" label="Thunderstorm" state="false" style="radio" toolbarPath="drawing/g1" tooltip="Thunderstorm"/>
AWP.TRG.SWCTR-TO4.ADE-CAVE(Lx)-01.00/02.00 Rev. A This document includes data that shall not be duplicated, used, or disclosed – in whole or in part – outside the Government for any purpose other than to the extent provided in contract DG133W-05-CQ However, the Government shall have the right to duplicate, use, or disclose the data to the extent provided in the contract. This restriction does not limit the Government’s right to use information contained in this data if it is obtained from another source without restriction. The data subject to this restriction are contained in all sheets. Jan. 16, BREAK
AWP.TRG.SWCTR-TO4.ADE-CAVE(Lx)-01.00/02.00 Rev. A This document includes data that shall not be duplicated, used, or disclosed – in whole or in part – outside the Government for any purpose other than to the extent provided in contract DG133W-05-CQ However, the Government shall have the right to duplicate, use, or disclose the data to the extent provided in the contract. This restriction does not limit the Government’s right to use information contained in this data if it is obtained from another source without restriction. The data subject to this restriction are contained in all sheets. Jan. 16, Plug-In XML Exercise: Add an entry to plugin xml to add another symbol. –Modify plugin.xml by adding another block (copy the thunderstorm block). –Point to testSymbol.svg and testSymbol.gif instead of 17.svg and 17.gif. –Give it a meaningful label and tooltip.
AWP.TRG.SWCTR-TO4.ADE-CAVE(Lx)-01.00/02.00 Rev. A This document includes data that shall not be duplicated, used, or disclosed – in whole or in part – outside the Government for any purpose other than to the extent provided in contract DG133W-05-CQ However, the Government shall have the right to duplicate, use, or disclose the data to the extent provided in the contract. This restriction does not limit the Government’s right to use information contained in this data if it is obtained from another source without restriction. The data subject to this restriction are contained in all sheets. Jan. 16, Creating a Custom Imaging Resource Based on some of the capabilities we've experimented with in CAVE, we'll add a new item to the “Add Layer” menu containing our GeoTIFF resource, with custom brightness and contrast settings.
AWP.TRG.SWCTR-TO4.ADE-CAVE(Lx)-01.00/02.00 Rev. A This document includes data that shall not be duplicated, used, or disclosed – in whole or in part – outside the Government for any purpose other than to the extent provided in contract DG133W-05-CQ However, the Government shall have the right to duplicate, use, or disclose the data to the extent provided in the contract. This restriction does not limit the Government’s right to use information contained in this data if it is obtained from another source without restriction. The data subject to this restriction are contained in all sheets. Jan. 16, Creating a Custom Imaging Resource (Cont’d) Exercise: In Eclipse, open: com.raytheon.viz.ui/com.raytheon.viz.ui.AddLayerAction.java Create a new class before “SRTMLayer”: public static class MyGeoTIFFLayer extends AddLayerAction { public String getText() { return "My GeoTIFF Layer"; } protected void createLayer() throws VizException { try { GeoTiffResource myGeotiff = new GeoTiffResource(new File(PATH + "/test.tif")); theDescriptor.add(myGeotiff); myGeotiff.init(theTarget); myGeotiff.setBrightness(0.8f); myGeotiff.setContrast(1.3f); } catch (IOException e) { e.printStackTrace(); } }
AWP.TRG.SWCTR-TO4.ADE-CAVE(Lx)-01.00/02.00 Rev. A This document includes data that shall not be duplicated, used, or disclosed – in whole or in part – outside the Government for any purpose other than to the extent provided in contract DG133W-05-CQ However, the Government shall have the right to duplicate, use, or disclose the data to the extent provided in the contract. This restriction does not limit the Government’s right to use information contained in this data if it is obtained from another source without restriction. The data subject to this restriction are contained in all sheets. Jan. 16, Creating a Custom Imaging Resource (Cont’d) Exercise (Continued): In Eclipse, open: com.raytheon.viz.ui/com.raytheon.viz.ui.LayerMenu.java Near the end of the file, after the two lines regarding RasterTest, add: Verify that your resource shows up in the “Add Layer” menu in the Other Data section sub-menu. action = new AddLayerAction.MyGeoTIFFLayer(); theOtherDataActions.add(action);
AWP.TRG.SWCTR-TO4.ADE-CAVE(Lx)-01.00/02.00 Rev. A This document includes data that shall not be duplicated, used, or disclosed – in whole or in part – outside the Government for any purpose other than to the extent provided in contract DG133W-05-CQ However, the Government shall have the right to duplicate, use, or disclose the data to the extent provided in the contract. This restriction does not limit the Government’s right to use information contained in this data if it is obtained from another source without restriction. The data subject to this restriction are contained in all sheets. Jan. 16, References Eclipse –Eclipse RCP home page News://news.eclipse.org/eclipse.platform.rcp –Books on Eclipse Eclipse Rich Client Platform by Jeff McAffer SWT: The Standard Widget Toolkit, Vol 1 by Northover
AWP.TRG.SWCTR-TO4.ADE-CAVE(Lx)-01.00/02.00 Rev. A This document includes data that shall not be duplicated, used, or disclosed – in whole or in part – outside the Government for any purpose other than to the extent provided in contract DG133W-05-CQ However, the Government shall have the right to duplicate, use, or disclose the data to the extent provided in the contract. This restriction does not limit the Government’s right to use information contained in this data if it is obtained from another source without restriction. The data subject to this restriction are contained in all sheets. Jan. 16, BREAK
AWP.TRG.SWCTR-TO4.ADE-CAVE(Lx)-01.00/02.00 Rev. A This document includes data that shall not be duplicated, used, or disclosed – in whole or in part – outside the Government for any purpose other than to the extent provided in contract DG133W-05-CQ However, the Government shall have the right to duplicate, use, or disclose the data to the extent provided in the contract. This restriction does not limit the Government’s right to use information contained in this data if it is obtained from another source without restriction. The data subject to this restriction are contained in all sheets. Jan. 16, Wrap-Up: ADE and CAVE Training TO5 Preview –Large-scale clustering –HDF5 data persistence –PostgreSQL metadata repository –Radar all-tilts Questions? –What do you want to know more about? –How can we make this better for next time?
AWP.TRG.SWCTR-TO4.ADE-CAVE(Lx)-01.00/02.00 Rev. A This document includes data that shall not be duplicated, used, or disclosed – in whole or in part – outside the Government for any purpose other than to the extent provided in contract DG133W-05-CQ However, the Government shall have the right to duplicate, use, or disclose the data to the extent provided in the contract. This restriction does not limit the Government’s right to use information contained in this data if it is obtained from another source without restriction. The data subject to this restriction are contained in all sheets. Jan. 16, Additional Information Books –Patterns of Enterprise Application Architecture: Fowler –Enterprise Integration: Patterns Hohpe –Lucene in Action: Gospodnetic –Hibernate in Action: Bauer –Enterprise Service Bus: Chappell {Sonic ESB slant} –SVG for Web Designers: Jason… –SVG Essentials: Eisenberg –Spring in Action: Walls –Lighter, Faster, Java by Spring inventor –Eclipse (extending and writing plug-ins …) –Xdoclet in Action: Walls –ANT – developers handbook –Junit in Action: Massol –Java 2D Graphics: Knudsen
AWP.TRG.SWCTR-TO4.ADE-CAVE(Lx)-01.00/02.00 Rev. A This document includes data that shall not be duplicated, used, or disclosed – in whole or in part – outside the Government for any purpose other than to the extent provided in contract DG133W-05-CQ However, the Government shall have the right to duplicate, use, or disclose the data to the extent provided in the contract. This restriction does not limit the Government’s right to use information contained in this data if it is obtained from another source without restriction. The data subject to this restriction are contained in all sheets. Jan. 16, Additional Information Links: –Mule ESB + SPRING: –Subversion CM: –ECLIPSE IDE framework & plug-ins: –ActiveMQ JMS broker: –Cloudscape embedded RDBMS: –POSTGRE RDBMS: –JBossCache: –RHINO JS scripting: –Reverse Indexing: –Common_digester for XML configuration and scripting: –MINA: –Batik SVG tools: –Hibernate relational to object mapping:
AWP.TRG.SWCTR-TO4.ADE-CAVE(Lx)-01.00/02.00 Rev. A This document includes data that shall not be duplicated, used, or disclosed – in whole or in part – outside the Government for any purpose other than to the extent provided in contract DG133W-05-CQ However, the Government shall have the right to duplicate, use, or disclose the data to the extent provided in the contract. This restriction does not limit the Government’s right to use information contained in this data if it is obtained from another source without restriction. The data subject to this restriction are contained in all sheets. Jan. 16, Additional Information Wx Related Projects: –Unidata NetCDF –VisAD –IDV –OpenGIS/GeoTools
AWP.TRG.SWCTR-TO4.ADE-CAVE(Lx)-01.00/02.00 Rev. A This document includes data that shall not be duplicated, used, or disclosed – in whole or in part – outside the Government for any purpose other than to the extent provided in contract DG133W-05-CQ However, the Government shall have the right to duplicate, use, or disclose the data to the extent provided in the contract. This restriction does not limit the Government’s right to use information contained in this data if it is obtained from another source without restriction. The data subject to this restriction are contained in all sheets. Jan. 16, Contact Information Nicholson NWS POC Rockwood NWS POC Fegan Armendariz Hammack Griffith Phone Number Name