com.aptana.ide.ui.editors.preferences.formatter
Class FormatterTabPage

java.lang.Object
  extended by com.aptana.ide.ui.editors.preferences.formatter.ModifyDialogTabPage
      extended by com.aptana.ide.ui.editors.preferences.formatter.FormatterTabPage
Direct Known Subclasses:
BlankLinesTabPage, BlankLinesTabPage, BracesTabPage, BracesTabPage, BracesTabPage, CommentsTabPage, ControlStatementsTabPage, ControlStatementsTabPage, IndentationTabPage, IndentationTabPage, IndentationTabPage, IndentationTabPage, NewLinesTabPage, NewLinesTabPage, WhiteSpaceTabPage

public abstract class FormatterTabPage
extends ModifyDialogTabPage


Nested Class Summary
 
Nested classes/interfaces inherited from class com.aptana.ide.ui.editors.preferences.formatter.ModifyDialogTabPage
ModifyDialogTabPage.ButtonPreference, ModifyDialogTabPage.CheckboxPreference, ModifyDialogTabPage.ComboPreference, ModifyDialogTabPage.DefaultFocusManager, ModifyDialogTabPage.IModificationListener, ModifyDialogTabPage.NumberPreference, ModifyDialogTabPage.Preference, ModifyDialogTabPage.RadioPreference
 
Field Summary
 
Fields inherited from class com.aptana.ide.ui.editors.preferences.formatter.ModifyDialogTabPage
fDefaultFocusManager, fPixelConverter, fUpdater, fWorkingValues
 
Constructor Summary
FormatterTabPage(ModifyDialogTabPage.IModificationListener modifyListener, java.util.Map workingValues)
           
 
Method Summary
protected  org.eclipse.swt.widgets.Composite doCreatePreviewPane(org.eclipse.swt.widgets.Composite composite, int numColumns)
          Create the right side of the modify dialog.
protected  void doUpdatePreview()
          Update the preview.
 
Methods inherited from class com.aptana.ide.ui.editors.preferences.formatter.ModifyDialogTabPage
createCheckboxPref, createComboPref, createContents, createGridData, createGridLayout, createGroup, createLabel, createLabel, createNumberPref, createPreviewHeader, createRadioPref, doCreateJavaPreview, doCreatePreferences, initializePage, makeVisible, notifyValuesModified, setInitialFocus, updateStatus
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FormatterTabPage

public FormatterTabPage(ModifyDialogTabPage.IModificationListener modifyListener,
                        java.util.Map workingValues)
Parameters:
modifyListener -
workingValues -
Method Detail

doCreatePreviewPane

protected org.eclipse.swt.widgets.Composite doCreatePreviewPane(org.eclipse.swt.widgets.Composite composite,
                                                                int numColumns)
Description copied from class: ModifyDialogTabPage
Create the right side of the modify dialog. By default, the preview is displayed there. Subclasses can override this method in order to customize the right-hand side of the dialog.

Overrides:
doCreatePreviewPane in class ModifyDialogTabPage
Parameters:
composite - Composite to create in
numColumns - Number of columns to use
Returns:
Created composite
See Also:
ModifyDialogTabPage.doCreatePreviewPane(org.eclipse.swt.widgets.Composite, int)

doUpdatePreview

protected void doUpdatePreview()
Description copied from class: ModifyDialogTabPage
Update the preview. To be implemented by subclasses.

Specified by:
doUpdatePreview in class ModifyDialogTabPage
See Also:
ModifyDialogTabPage.doUpdatePreview()