}
return editNamespaces;
}
public void setNamespaceInfoList(List list) {
CommonEditNamespacesDialog editDialog = getEditNamespaces();
if (newFilePage != null) {
IPath newPath = newFilePage.getContainerFullPath();
if (newPath != null) {
if (!newPath.equals(currentPath)) {
String resourceURI = "platform:/resource" + newPath.toString() + "/dummy"; //$NON-NLS-1$ //$NON-NLS-2$
String resolvedPath = URIHelper.normalize(resourceURI, null, null);
resolvedPath = URIHelper.removeProtocol(resolvedPath);
currentPath = new Path(resolvedPath);
editDialog.setResourcePath(currentPath);
}
}
}
editDialog.setNamespaceInfoList(list);
editDialog.updateErrorMessage(list);
}