Package org.locationtech.udig.tutorials.tracking.trackingitem

Examples of org.locationtech.udig.tutorials.tracking.trackingitem.SeagullFlock


    public void op( Display display, Object target, IProgressMonitor monitor ) throws Exception {
       
        //System.out.println("create seagulls called"); //$NON-NLS-1$
        // build some flock data to use
        SeagullFlock flock = new SeagullFlock("flock 01"//$NON-NLS-1$
                new SimpleInternationalString("flock 01"), DefaultGeographicCRS.WGS84); //$NON-NLS-1$
       
        flock.addChild(new Seagull(flock, "seagull A"//$NON-NLS-1$
                new SimpleInternationalString("seagull A"), //$NON-NLS-1$
                new Coordinate(-123,48)));
       
        flock.addChild(new Seagull(flock, "seagull B"//$NON-NLS-1$
                new SimpleInternationalString("seagull B"), //$NON-NLS-1$ 
                new Coordinate(-77,-12)));
       
        flock.addChild(new Seagull(flock, "seagull C"//$NON-NLS-1$
                new SimpleInternationalString("seagull C"), //$NON-NLS-1$
                new Coordinate(-80,20)));     
       
        flock.addChild(new Seagull(flock, "seagull D"//$NON-NLS-1$
                new SimpleInternationalString("seagull D"), //$NON-NLS-1$
                new Coordinate(-86,22)));  
       
        flock.addChild(new Seagull(flock, "seagull E"//$NON-NLS-1$
                new SimpleInternationalString("seagull E"), //$NON-NLS-1$
                new Coordinate(-90,0)));  
       
        flock.addChild(new Seagull(flock, "seagull F"//$NON-NLS-1$
                new SimpleInternationalString("seagull F"), //$NON-NLS-1$
                new Coordinate(-60,34)));  
       
        flock.addChild(new Seagull(flock, "seagull G"//$NON-NLS-1$
                new SimpleInternationalString("seagull G"), //$NON-NLS-1$
                new Coordinate(-118,2)));          
       
        // stick our test flock on the blackboard
        IMap map = (IMap) target;  //ApplicationGIS.getActiveMap();
View Full Code Here

TOP

Related Classes of org.locationtech.udig.tutorials.tracking.trackingitem.SeagullFlock

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.