Humboldt Alignment Editor 2.5.0

eu.esdihumboldt.hale.ui.views.styledmap
Class StyledMapUtil

java.lang.Object
  extended by eu.esdihumboldt.hale.ui.views.styledmap.StyledMapUtil

public abstract class StyledMapUtil
extends Object

Utility methods regarding the map view.

Author:
Simon Templer

Constructor Summary
StyledMapUtil()
           
 
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
 

Constructor Detail

StyledMapUtil

public StyledMapUtil()
Method Detail

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 Instances or InstanceReferences.

Parameters:
mapKit - the map kit
selection - the selection

Humboldt Alignment Editor 2.5.0

Build 2012-12-03_12-30-59
Revision 9d2dd4b0318cda9f1393b1ddd390f7f792d70a2d