1 11 12 package org.eclipse.ui.internal.editors.text; 13 14 15 import org.eclipse.swt.widgets.Composite; 16 import org.eclipse.swt.widgets.Label; 17 18 import org.eclipse.ui.editors.text.EditorsUI; 19 import org.eclipse.ui.editors.text.ITextEditorHelpContextIds; 20 21 26 public final class LinkedModePreferencePage extends AbstractConfigurationBlockPreferencePage { 27 28 31 protected String getHelpId() { 32 return ITextEditorHelpContextIds.TEXT_EDITOR_PREFERENCE_PAGE; 33 } 34 35 38 protected void setDescription() { 39 String description= TextEditorMessages.LinkedModeConfigurationBlock_linking_title; 40 setDescription(description); 41 } 42 43 46 protected void setPreferenceStore() { 47 setPreferenceStore(EditorsUI.getPreferenceStore()); 48 } 49 50 51 protected Label createDescriptionLabel(Composite parent) { 52 return null; } 54 55 58 protected IPreferenceConfigurationBlock createConfigurationBlock(OverlayPreferenceStore overlayPreferenceStore) { 59 return new LinkedModeConfigurationBlock(overlayPreferenceStore); 60 } 61 } 62 | Popular Tags |