com.aptana.ide.ui.editors.preferences.formatter
Class CodeFormatterConfigurationBlock
java.lang.Object
com.aptana.ide.ui.editors.preferences.formatter.ProfileConfigurationBlock
com.aptana.ide.ui.editors.preferences.formatter.CodeFormatterConfigurationBlock
public abstract class CodeFormatterConfigurationBlock
- extends ProfileConfigurationBlock
The code formatter preference page.
|
Constructor Summary |
CodeFormatterConfigurationBlock(org.eclipse.core.resources.IProject project,
PreferencesAccess access,
java.lang.String editor,
org.eclipse.jface.preference.IPreferenceStore store,
java.lang.String preview,
java.lang.String pluginId)
Create a new CodeFormatterConfigurationBlock. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FORMATTER_DIALOG_PREFERENCE_KEY
protected static final java.lang.String FORMATTER_DIALOG_PREFERENCE_KEY
- See Also:
- Constant Field Values
DIALOGSTORE_LASTSAVELOADPATH
protected static final java.lang.String DIALOGSTORE_LASTSAVELOADPATH
- See Also:
- Constant Field Values
PREVIEW
protected final java.lang.String PREVIEW
- Some Java source code used for preview.
CodeFormatterConfigurationBlock
public CodeFormatterConfigurationBlock(org.eclipse.core.resources.IProject project,
PreferencesAccess access,
java.lang.String editor,
org.eclipse.jface.preference.IPreferenceStore store,
java.lang.String preview,
java.lang.String pluginId)
- Create a new
CodeFormatterConfigurationBlock.
- Parameters:
project - access - editor - store - preview - pluginId -
createProfileStore
protected ProfileStore createProfileStore()
- Specified by:
createProfileStore in class ProfileConfigurationBlock
- Returns:
- ProfileStore
- See Also:
ProfileConfigurationBlock.createProfileStore()
createProfileManager
protected ProfileManager createProfileManager(java.util.List profiles,
org.eclipse.core.runtime.preferences.IScopeContext context,
PreferencesAccess access)
- Specified by:
createProfileManager in class ProfileConfigurationBlock
- Returns:
- ProfileManager
- See Also:
ProfileConfigurationBlock.createProfileManager(java.util.List, org.eclipse.core.runtime.preferences.IScopeContext, com.aptana.ide.internal.ui.dialogs.PreferencesAccess)
configurePreview
protected void configurePreview(org.eclipse.swt.widgets.Composite composite,
int numColumns,
ProfileManager profileManager)
- Specified by:
configurePreview in class ProfileConfigurationBlock
- See Also:
ProfileConfigurationBlock.configurePreview(org.eclipse.swt.widgets.Composite, int, com.aptana.ide.ui.editors.preferences.formatter.ProfileManager)
createModifyDialog
protected abstract ModifyDialog createModifyDialog(org.eclipse.swt.widgets.Shell shell,
ProfileManager.Profile profile,
ProfileManager profileManager,
ProfileStore profileStore,
boolean newProfile)
- Specified by:
createModifyDialog in class ProfileConfigurationBlock
- Returns:
- ModifyDialog
- See Also:
ProfileConfigurationBlock.createModifyDialog(org.eclipse.swt.widgets.Shell, com.aptana.ide.ui.editors.preferences.formatter.ProfileManager.Profile, com.aptana.ide.ui.editors.preferences.formatter.ProfileManager, com.aptana.ide.ui.editors.preferences.formatter.ProfileStore, boolean)