}
return super.getNextPage(page);
}
private void setupMainPageLocation() {
IFolder folder = null;
Object selected = selection.getFirstElement();
if (selected instanceof IFile) {
selected = ((IFile) selected).getParent();
}
if (selected instanceof IProject) {
IProject project = (IProject) selected;
folder = project.getFolder("OSGI-INF/blueprint");
if (!folder.exists()) {
try {
if (!folder.getParent().exists()) {
IFolder parent = (IFolder) folder.getParent();
parent.create(false, true, null);
speculativelyCreatedFolders.push(parent);
}
folder.create(false, true, null);
speculativelyCreatedFolders.push(folder);
} catch (CoreException e) {