org.placelab.demo.mapview
Class MapDemo
java.lang.Object
org.placelab.demo.mapview.MapDemo
- Direct Known Subclasses:
- FusionMapDemo
- public class MapDemo
- extends java.lang.Object
A map application.
|
Constructor Summary |
protected |
MapDemo()
|
|
MapDemo(java.lang.String logfile,
java.lang.String mapArchive,
java.lang.String mapName,
Mapper m)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
daemon
protected PlacelabWithProxy daemon
display
protected org.eclipse.swt.widgets.Display display
shell
protected org.eclipse.swt.widgets.Shell shell
mapView
protected TrackedMapView mapView
bar
protected org.eclipse.swt.widgets.Menu bar
placeItems
protected java.util.Vector placeItems
data
public WadData data
sp
protected Spotter sp
MapDemo
protected MapDemo()
MapDemo
public MapDemo(java.lang.String logfile,
java.lang.String mapArchive,
java.lang.String mapName,
Mapper m)
throws java.io.IOException
createTracker
protected Tracker createTracker(Mapper m)
loadWad
protected void loadWad()
loadWad
protected void loadWad(java.lang.String path,
java.lang.String mapName)
askUserForFile
protected java.lang.String askUserForFile()
errorDialog
protected void errorDialog(java.lang.String msg)
errorDialog
protected void errorDialog(java.lang.String msg,
java.lang.Throwable e)
buildShell
protected void buildShell()
buildMenu
protected void buildMenu()
mapAction
protected void mapAction(org.eclipse.swt.events.SelectionEvent e)
saveWad
protected void saveWad()
saveAsWad
protected void saveAsWad()
placeAction
protected void placeAction(org.eclipse.swt.events.SelectionEvent e)
toggleBeacons
protected void toggleBeacons()
toggleAutoScroll
protected void toggleAutoScroll()
toggleAutoZoom
protected void toggleAutoZoom()
toggleParticles
protected void toggleParticles()
shutdown
protected void shutdown()
resize
protected void resize()
run
public void run()
throws SpotterException
- Throws:
SpotterException
doEventLoop
protected void doEventLoop()
getDaemon
public PlacelabWithProxy getDaemon()
main
public static void main(java.lang.String[] args)
- Passing in a file will cause a log spotter to be created. If no file name is passed, a wifi spotter will be created