Class BslFormatterPreferencePage
- java.lang.Object
-
- org.eclipse.jface.dialogs.DialogPage
-
- org.eclipse.jface.preference.PreferencePage
-
- com.e1c.g5.v8.dt.formatter.ui.preferences.page.AbstractFormatterPreferencePage
-
- com.e1c.g5.v8.dt.formatter.bsl.ui.BslFormatterPreferencePage
-
- All Implemented Interfaces:
org.eclipse.jface.dialogs.IDialogPage
,org.eclipse.jface.dialogs.IMessageProvider
,org.eclipse.jface.preference.IPreferencePage
,org.eclipse.ui.IWorkbenchPreferencePage
- Direct Known Subclasses:
BslPropertyPage
public class BslFormatterPreferencePage extends AbstractFormatterPreferencePage
This class represents preference page for BslFormatter2
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.e1c.g5.v8.dt.formatter.ui.preferences.page.AbstractFormatterPreferencePage
AbstractFormatterPreferencePage.OptionFactory, AbstractFormatterPreferencePage.OptionProvider
-
-
Constructor Summary
Constructors Constructor Description BslFormatterPreferencePage()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
configureAutowrapTab(IPreferencePageProvider preferencePageProvider)
Configures autowrap tabprotected void
configureEthalonTab(IPreferencePageProvider preferencePageProvider)
Configures ethalon tabprotected void
configureGeneralTab(IPreferencePageProvider preferencePageProvider)
Configures general tabprotected void
configureIndentationTab(IPreferencePageProvider preferencePageProvider)
Configures indentation tabprotected void
configureNewLineTab(IPreferencePageProvider preferencePageProvider)
Configures new line tabprotected void
configurePreprocessorTab(IPreferencePageProvider preferencePageProvider)
Configures preprocessor tabprotected void
createContent(IPreferencePageProvider preferencePageProvider)
This method shall create new Instance of IPreferencePageBuilder, add options and then return itprotected org.eclipse.swt.widgets.Control
createContents(org.eclipse.swt.widgets.Composite parent)
protected IPreferenceManager
getPreferenceManager()
Override this method to provide corresponding to this pageIPreferenceManager
protected IPreferencePageProvider
getPreferencePageProvider()
Return implementation of IPreferencePageProvider that can build UI representation of Options.protected void
onDispose(org.eclipse.swt.events.DisposeEvent e)
This method called when preference page's composite is disposed-
Methods inherited from class com.e1c.g5.v8.dt.formatter.ui.preferences.page.AbstractFormatterPreferencePage
contributeButtons, init, performDefaults, performOk
-
Methods inherited from class org.eclipse.jface.preference.PreferencePage
applyData, applyDialogFont, computeSize, createControl, createDescriptionLabel, createNoteComposite, doComputeSize, doGetPreferenceStore, getApplyButton, getContainer, getDefaultsButton, getPreferenceStore, isValid, noDefaultAndApplyButton, noDefaultButton, okToLeave, performApply, performCancel, performHelp, setContainer, setErrorMessage, setMessage, setPreferenceStore, setSize, setTitle, setValid, toString, updateApplyButton
-
Methods inherited from class org.eclipse.jface.dialogs.DialogPage
convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, dispose, getControl, getDescription, getDialogFontName, getErrorMessage, getFont, getImage, getMessage, getMessageType, getShell, getTitle, getToolTipText, initializeDialogUnits, isControlCreated, setButtonLayoutData, setControl, setDescription, setImageDescriptor, setMessage, setVisible
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getPreferenceManager
protected IPreferenceManager getPreferenceManager()
Description copied from class:AbstractFormatterPreferencePage
Override this method to provide corresponding to this pageIPreferenceManager
- Specified by:
getPreferenceManager
in classAbstractFormatterPreferencePage
- Returns:
- Associated to this page preference manager, cannot be
null
-
getPreferencePageProvider
protected IPreferencePageProvider getPreferencePageProvider()
Description copied from class:AbstractFormatterPreferencePage
Return implementation of IPreferencePageProvider that can build UI representation of Options.- Specified by:
getPreferencePageProvider
in classAbstractFormatterPreferencePage
- Returns:
- The new instance of implementation of IPreferencePageProvider See this for easier implementation:
- See Also:
AbstractPreferencePageProvider
,DefaultUITabFolderProvider
,DefaultUITabItemProvider
,DefaultUIGroupProvider
-
createContent
protected void createContent(IPreferencePageProvider preferencePageProvider)
Description copied from class:AbstractFormatterPreferencePage
This method shall create new Instance of IPreferencePageBuilder, add options and then return it- Specified by:
createContent
in classAbstractFormatterPreferencePage
- Parameters:
preferencePageProvider
- The preferencePageProvider that shall be used to create pages content, cannot benull
-
createContents
protected org.eclipse.swt.widgets.Control createContents(org.eclipse.swt.widgets.Composite parent)
- Overrides:
createContents
in classAbstractFormatterPreferencePage
-
onDispose
protected void onDispose(org.eclipse.swt.events.DisposeEvent e)
Description copied from class:AbstractFormatterPreferencePage
This method called when preference page's composite is disposed- Overrides:
onDispose
in classAbstractFormatterPreferencePage
- Parameters:
e
- The DisposeEvent to handle, cannot benull
- See Also:
DisposeListener.widgetDisposed(DisposeEvent)
-
configureGeneralTab
protected void configureGeneralTab(IPreferencePageProvider preferencePageProvider)
Configures general tab- Parameters:
preferencePageProvider
- that shall be used to configure tab, cannot benull
-
configureNewLineTab
protected void configureNewLineTab(IPreferencePageProvider preferencePageProvider)
Configures new line tab- Parameters:
preferencePageProvider
- that shall be used to configure tab, cannot benull
-
configureIndentationTab
protected void configureIndentationTab(IPreferencePageProvider preferencePageProvider)
Configures indentation tab- Parameters:
preferencePageProvider
- that shall be used to configure tab, cannot benull
-
configureEthalonTab
protected void configureEthalonTab(IPreferencePageProvider preferencePageProvider)
Configures ethalon tab- Parameters:
preferencePageProvider
- that shall be used to configure tab, cannot benull
-
configurePreprocessorTab
protected void configurePreprocessorTab(IPreferencePageProvider preferencePageProvider)
Configures preprocessor tab- Parameters:
preferencePageProvider
- that shall be used to configure tab, cannot benull
-
configureAutowrapTab
protected void configureAutowrapTab(IPreferencePageProvider preferencePageProvider)
Configures autowrap tab- Parameters:
preferencePageProvider
- that shall be used to configure tab, cannot benull
-
-