/* (non-Javadoc) * @see org.eclipse.jface.viewers.LabelProvider#getText(java.lang.Object) */ public String getText(Object element) { if (element instanceof IPluginModelBase) { IPluginBase plugin = ((IPluginModelBase) element).getPluginBase(); String showType = pref.getString(IPreferenceConstants.PROP_SHOW_OBJECTS); if (showType.equals(IPreferenceConstants.VALUE_USE_IDS)) return plugin.getId(); return plugin.getTranslatedName(); } return super.getText(element); }