eu.esdihumboldt.hale.ui.views.styledmap
Class StyledMapUtil
java.lang.Object
eu.esdihumboldt.hale.ui.views.styledmap.StyledMapUtil
public abstract class StyledMapUtil
- extends Object
Utility methods regarding the map view.
- Author:
- Simon Templer
Method Summary |
static void |
zoomToAll(de.fhg.igd.mapviewer.BasicMapKit mapKit)
Zoom to all instances available in the map. |
static void |
zoomToSelection(de.fhg.igd.mapviewer.BasicMapKit mapKit,
org.eclipse.jface.viewers.IStructuredSelection selection)
Zoom to the selected instances. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StyledMapUtil
public StyledMapUtil()
zoomToAll
public static void zoomToAll(de.fhg.igd.mapviewer.BasicMapKit mapKit)
- Zoom to all instances available in the map. Does nothing if there are no
instances displayed.
- Parameters:
mapKit
- the map kit
zoomToSelection
public static void zoomToSelection(de.fhg.igd.mapviewer.BasicMapKit mapKit,
org.eclipse.jface.viewers.IStructuredSelection selection)
- Zoom to the selected instances. Does nothing if the selection is empty or
contains no
Instance
s or InstanceReference
s.
- Parameters:
mapKit
- the map kitselection
- the selection
Build 2012-12-03_12-30-59
Revision 9d2dd4b0318cda9f1393b1ddd390f7f792d70a2d