}
public void onSuccess(Object o) {
Info.display(Messages.get("label.information", "Information"), Messages.get("saved_prop", "Properties saved\n\n"));
int refresh = Linker.REFRESH_MAIN;
EditLinker l = null;
if (linker instanceof SidePanelTabItem.SidePanelLinker) {
l = ((SidePanelTabItem.SidePanelLinker) linker).getEditLinker();
} else if (linker instanceof EditLinker) {
l = (EditLinker) linker;
}
if (l != null && node.equals(l.getMainModule().getNode()) && !node.getName().equals(l.getMainModule().getNode().getName())) {
l.getMainModule().handleNewMainSelection(node.getPath().substring(0, node.getPath().lastIndexOf("/")+1)+node.getName(), l.getMainModule().getTemplate(), null);
refresh += Linker.REFRESH_PAGES;
}
if (node.isPage() || node.getNodeTypes().contains("jnt:externalLink")
|| node.getNodeTypes().contains("jnt:nodeLink")
|| node.getNodeTypes().contains("jnt:template") || node.getInheritedNodeTypes().contains("jnt:template")