public void init( IWorkbenchWindow window ) {
}
public void run( IAction action ) {
MapGraphicChooserDialog d = new MapGraphicChooserDialog(Display.getCurrent().getActiveShell(), true);
d.open();
List<IGeoResource> resources = new ArrayList<IGeoResource>();
for( IGeoResource geoResource : d.getSelectedResources() ) {
resources.add(geoResource);
}
ApplicationGIS.addLayersToMap(null, resources, -1);