EndConnectionState state = (EndConnectionState) getState();
Collection<IService> services = page.getServices();
state.setServices(services);
if (page instanceof AbstractUDIGImportPage) {
AbstractUDIGImportPage importPage = (AbstractUDIGImportPage) page;
Collection<URL> resourceIDs = importPage.getResourceIDs();
state.setSelectedResources(resourceIDs);
}
}
if (page instanceof AbstractUDIGImportPage) {
AbstractUDIGImportPage importPage = (AbstractUDIGImportPage) page;
if (!importPage.leavingPage()) {
return false;
}
}
return true;