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 AnnotationsPreferencePage extends AbstractConfigurationBlockPreferencePage { 29 30 33 protected String getHelpId() { 34 return ITextEditorHelpContextIds.TEXT_EDITOR_PREFERENCE_PAGE; 35 } 36 37 40 protected void setDescription() { 41 String description= TextEditorMessages.AnnotationsConfigurationBlock_description; 42 setDescription(description); 43 } 44 45 48 protected Label createDescriptionLabel(Composite parent) { 49 return null; 50 } 51 52 55 protected void setPreferenceStore() { 56 setPreferenceStore(EditorsPlugin.getDefault().getPreferenceStore()); 57 } 58 59 62 protected IPreferenceConfigurationBlock createConfigurationBlock(OverlayPreferenceStore overlayPreferenceStore) { 63 return new AnnotationsConfigurationBlock(overlayPreferenceStore); 64 } 65 } 66 | Popular Tags |