Hello,
i'm working on an E4 RCP application and need the unsupported SWT module.

Unfortunately it is still on v20.5 of GeoTools.

In the long run, i probably have to either upgrade it to 24-snapshot, or
write the functionality myself.

To get started, i wanted to do the tutorial from the documentation (
https://docs.geotools.org/latest/userguide/unsupported/swt/index.html) to
get familiar with everything, but it is also very outdated.
I was not able to get it to run with GeoTools 24-snapshot, because "The
type org.geotools.map.event.MapLayerListListener cannot be resolved." (from
mapPane.setRenderer(renderer);)
It seems like it was once there, and now is in
org.geotools.map.MapLayerListListener, so without the event, but the
SwtMapPane class doesn't know about it.

Without an idea on how to fix the problem, i tried using everything on
version 20.5, (just now at the start,) to be able to get familiar with
everything.

At first it seems to work, but a little bit in the tutorial there are lines
like "SwtMapPane mapPane = ((MapView) view).getMapPane();" or "MapView
mapView = (MapView) activePage.findView(MapView.ID);" and i have the
problem, that "MapView cannot be resolved to a type". And i can't find any
documentation on a MapView from GeoTools. In which module was it back in
the 20.5 days?
I don't know how to continue from here.

Best regards,
Jones
_______________________________________________
GeoTools-GT2-Users mailing list
GeoTools-GT2-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to