title = WorkbenchMessages.format("PropertyDialog.propertyMessage", new Object[] {name});
title = MessageFormat.format("Properties for {0}", new Object[] {name});
	private PropertyDialog getPropertyDialog(String id, IAdaptable element) {		PropertyDialogWrapper dialog = null;		PropertyPageManager manager = new PropertyPageManager();		String title = "";		String name  = "";		// load pages for the selection		// fill the manager with contributions from the matching contributors		PropertyPageContributorManager.getManager().contribute(manager, element);				IWorkbenchAdapter adapter = (IWorkbenchAdapter)element.getAdapter(IWorkbenchAdapter.class);		if (adapter != null) {			name = adapter.getLabel(element);		}				// testing if there are pages in the manager		Iterator pages = manager.getElements(PreferenceManager.PRE_ORDER).iterator();				if (!pages.hasNext()) {			return null;		} else {			title = WorkbenchMessages.format("PropertyDialog.propertyMessage", new Object[] {name});			dialog = new PropertyDialogWrapper(getShell(), manager, new StructuredSelection(element)); 			dialog.create();			dialog.getShell().setText(title);			for (Iterator iterator = manager.getElements(PreferenceManager.PRE_ORDER).iterator();			     iterator.hasNext();)			{				IPreferenceNode node = (IPreferenceNode)iterator.next();				if ( node.getId().equals(id) ) {					dialog.showPage(node);					break;				}			}		}		return dialog;	}