selectionPage = new ExportSelectionPage(Messages.ExportSelectionPage_Destination,
Messages.ExportProjectWizard_Destination2, wizardPageIconDescriptor);
Object selectionObj = selection.getFirstElement();
IProject project = null;
if (selectionObj instanceof MapImpl) {
MapImpl map = (MapImpl) selectionObj;
project = map.getProject();
}
if (selectionObj instanceof IProject) {
project = (IProject) selectionObj;
}
if (project != null) {