Hello all!
I try to get back preference page, particularly "available software sites" with this following test code :
PreferenceManager mgr = PlatformUI.getWorkbench().getPreferenceManager();
List<IPreferenceNode> preferencePageList = castList(IPreferenceNode.class, mgr.getElements(PreferenceManager.PRE_ORDER));
IPreferenceNode[] rootSubNodes = mgr.getRootSubNodes();
IPreferenceNode anode = rootSubNodes[7];
IPreferenceNode[] installUpadteSubNode = anode.getSubNodes();
//anode.remove(installUpadteSubNode[0]);
PreferenceNode installNode = (PreferenceNode)installUpadteSubNode[0];
IPreferencePage page = installNode.getPage();
All the line work well except the last : getPage() method return null and i don't know why.
Thanks