/**
* Displays specified preferences or property page and returns <code>true</code> if <code>PreferenceDialog.OK</code>
* was selected.
*/
public static boolean showPreferenceDialog(String propertyPageId, IProject project, Map<String, Object> data) {
IPreferenceNode targetNode = null;
PropertyPageManager pageManager = new PropertyPageManager();
PropertyPageContributorManager.getManager().contribute(pageManager, project);
IPreferenceNode[] nodes = pageManager.getRootSubNodes();