Presentation is loading. Please wait.

Presentation is loading. Please wait.

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 –

Similar presentations


Presentation on theme: "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 –"— Presentation transcript:

1 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-1067. 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, 2007 1 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

2 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-1067. 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, 2007 2 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

3 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-1067. 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, 2007 3 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

4 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-1067. 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, 2007 4 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

5 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-1067. 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, 2007 5 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

6 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-1067. 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, 2007 6 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

7 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-1067. 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, 2007 7 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"/>

8 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-1067. 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, 2007 8 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"/>

9 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-1067. 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, 2007 9 BREAK

10 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-1067. 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, 2007 10 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.

11 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-1067. 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, 2007 11 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.

12 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-1067. 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, 2007 12 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(); } }

13 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-1067. 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, 2007 13 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);

14 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-1067. 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, 2007 14 References Eclipse –Eclipse RCP home page http://eclipse.org/rcp http://eclipse.org/community/rcp.html 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

15 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-1067. 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, 2007 15 BREAK

16 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-1067. 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, 2007 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?

17 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-1067. 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, 2007 17 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

18 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-1067. 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, 2007 18 Additional Information Links: –Mule ESB + SPRING: http://mule.codehaus.org/ –Subversion CM: http://subversion.tigris.org –ECLIPSE IDE framework & plug-ins: http://www.eclipse.org –ActiveMQ JMS broker: http://www.activemq.org –Cloudscape embedded RDBMS: http://db.apache.org/derby –POSTGRE RDBMS: http://www.postgresql.org –JBossCache: http://www.jboss.org/products/jbosscache –RHINO JS scripting: http://www.mozilla.org/rhino –Reverse Indexing: http://lucene.apache.org/java/docs –Common_digester for XML configuration and scripting: http://jakarta.apache.org/commons/digester –MINA: http://directory.apache.org/subprojects/network/index.html –Batik SVG tools: http://xml.apache.org/batik –Hibernate relational to object mapping: http://www.hibernate.org

19 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-1067. 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, 2007 19 Additional Information Wx Related Projects: –Unidata NetCDF –VisAD –IDV –OpenGIS/GeoTools

20 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-1067. 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, 2007 20 Contact Information 402.293.2934Scott_W_Nicholson@raytheon.comScott Nicholson NWS POC 402.293.2940Bryan_J_Rockwood@raytheon.comBryan Rockwood NWS POC 402.293.2916Mark_W_Fegan@raytheon.comMark Fegan 402.293.2944Gregory_Armendariz@raytheon.comGreg Armendariz 402.293.2948Christopher_N_Hammack@raytheon.comChris Hammack 402.293.2941Frank_P_Griffith@raytheon.comFrank Griffith Phone NumberE-MailName


Download ppt "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 –"

Similar presentations


Ads by Google