public void paint(Paintable paintable, Object group, MapContext context) {
		// Group for objects in raster space
		context.getRasterContext().drawGroup(null, mapWidget.getGroup(RenderGroup.RASTER),
				mapWidget.getMapModel().getMapView()

				.getPanToViewTranslation());

		// Group for objects in vector space
		context.getVectorContext().drawGroup(null, mapWidget.getGroup(RenderGroup.VECTOR),
				mapWidget.getMapModel().getMapView().getPanToViewTranslation());

		// Group for objects in world space
		context.getVectorContext().drawGroup(null, mapWidget.getGroup(RenderGroup.WORLD),
				mapWidget.getMapModel().getMapView().getPanToViewTranslation());

		// Group for objects in screen space
		context.getVectorContext().drawGroup(null, mapWidget.getGroup(RenderGroup.SCREEN));
	}
public void paint ( Paintable paintable , Object group , MapContext context ) { context . getRasterContext ( ) . drawGroup ( null , mapWidget . getGroup ( RenderGroup . RASTER ) , mapWidget . getMapModel ( ) . getMapView ( ) . getPanToViewTranslation ( ) ) ; context . getVectorContext ( ) . drawGroup ( null , mapWidget . getGroup ( RenderGroup . VECTOR ) , mapWidget . getMapModel ( ) . getMapView ( ) . getPanToViewTranslation ( ) ) ; context . getVectorContext ( ) . drawGroup ( null , mapWidget . getGroup ( RenderGroup . WORLD ) , mapWidget . getMapModel ( ) . getMapView ( ) . getPanToViewTranslation ( ) ) ; context . getVectorContext ( ) . drawGroup ( null , mapWidget . getGroup ( RenderGroup . SCREEN ) ) ; }
The actual painting function. Draws the basic groups.

@param paintable
A {@link org.geomajas.gwt.client.map.MapModel} object.
@param group
The group where the object resides in (optional).
@param context
A MapContext object, responsible for actual drawing.