1 11 package org.eclipse.jdt.internal.ui.preferences; 12 13 14 import org.eclipse.swt.widgets.Composite; 15 16 import org.eclipse.jdt.internal.ui.preferences.cleanup.CleanUpConfigurationBlock; 17 import org.eclipse.jdt.internal.ui.preferences.formatter.ProfileConfigurationBlock; 18 19 22 public class CleanUpPreferencePage extends ProfilePreferencePage { 23 24 public static final String PREF_ID= "org.eclipse.jdt.ui.preferences.CleanUpPreferencePage"; public static final String PROP_ID= "org.eclipse.jdt.ui.propertyPages.CleanUpPreferencePage"; 27 public CleanUpPreferencePage() { 28 setTitle(PreferencesMessages.CleanUpPreferencePage_Title ); 30 } 31 32 35 public void createControl(Composite parent) { 36 super.createControl(parent); 37 } 39 40 protected ProfileConfigurationBlock createConfigurationBlock(PreferencesAccess access) { 41 return new CleanUpConfigurationBlock(getProject(), access); 42 } 43 44 47 protected String getPreferencePageID() { 48 return PREF_ID; 49 } 50 51 54 protected String getPropertyPageID() { 55 return PROP_ID; 56 } 57 } 58 | Popular Tags |