1 11 12 package org.eclipse.ui.internal.editors.text; 13 14 import org.eclipse.swt.widgets.Composite; 15 import org.eclipse.swt.widgets.Label; 16 17 import org.eclipse.ui.editors.text.ITextEditorHelpContextIds; 18 19 20 28 public class QuickDiffPreferencePage extends AbstractConfigurationBlockPreferencePage { 29 30 33 protected String getHelpId() { 34 return ITextEditorHelpContextIds.TEXT_EDITOR_PREFERENCE_PAGE; 35 } 36 37 40 protected Label createDescriptionLabel(Composite parent) { 41 return null; } 43 44 47 protected void setDescription() { 48 String description= TextEditorMessages.QuickDiffConfigurationBlock_description; 49 setDescription(description); 50 } 51 52 55 protected void setPreferenceStore() { 56 setPreferenceStore(EditorsPlugin.getDefault().getPreferenceStore()); 57 } 58 59 62 protected IPreferenceConfigurationBlock createConfigurationBlock(OverlayPreferenceStore overlayPreferenceStore) { 63 return new QuickDiffConfigurationBlock(overlayPreferenceStore); 64 } 65 } 66 | Popular Tags |