setToolTipText(JavaEditorMessages.getString("JavaOutlinePage.Sort.tooltip.checked")); setDescription(JavaEditorMessages.getString("JavaOutlinePage.Sort.description.checked")); } else {
else
	private void valueChanged(boolean on, boolean store) {		setChecked(on);		if (on) {			fViewer.setSorter(fSorter);			setToolTipText(JavaEditorMessages.getString("JavaOutlinePage.Sort.tooltip.checked")); //$NON-NLS-1$			setDescription(JavaEditorMessages.getString("JavaOutlinePage.Sort.description.checked")); //$NON-NLS-1$		} else {			fViewer.setSorter(null);			setToolTipText(JavaEditorMessages.getString("JavaOutlinePage.Sort.tooltip.unchecked")); //$NON-NLS-1$			setDescription(JavaEditorMessages.getString("JavaOutlinePage.Sort.description.unchecked")); //$NON-NLS-1$		}		if (store)			JavaPlugin.getDefault().getPreferenceStore().setValue(fPreferenceKey, on); //$NON-NLS-1$	}