com.aptana.ide.editor.html.preferences
Class IndentationTabPage

java.lang.Object
  extended by com.aptana.ide.ui.editors.preferences.formatter.ModifyDialogTabPage
      extended by com.aptana.ide.ui.editors.preferences.formatter.FormatterTabPage
          extended by com.aptana.ide.editor.html.preferences.IndentationTabPage

public class IndentationTabPage
extends FormatterTabPage


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
IndentationTabPage(ModifyDialog modifyDialog, java.util.Map workingValues, java.lang.String editor)
           
 
Method Summary
protected  Preview doCreateJavaPreview(org.eclipse.swt.widgets.Composite parent)
          To be implemented by subclasses.
protected  void doCreatePreferences(org.eclipse.swt.widgets.Composite composite, int numColumns)
          Create the left side of the modify dialog.
protected  void doUpdatePreview()
          Update the preview.
 void initializePage()
          This method is called after all controls have been alloated, including the preview.
 
Methods inherited from class com.aptana.ide.ui.editors.preferences.formatter.FormatterTabPage
doCreatePreviewPane
 
Methods inherited from class com.aptana.ide.ui.editors.preferences.formatter.ModifyDialogTabPage
createCheckboxPref, createComboPref, createContents, createGridData, createGridLayout, createGroup, createLabel, createLabel, createNumberPref, createPreviewHeader, createRadioPref, makeVisible, notifyValuesModified, setInitialFocus, updateStatus
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IndentationTabPage

public IndentationTabPage(ModifyDialog modifyDialog,
                          java.util.Map workingValues,
                          java.lang.String editor)
Parameters:
modifyDialog -
workingValues -
editor -
Method Detail

doCreatePreferences

protected void doCreatePreferences(org.eclipse.swt.widgets.Composite composite,
                                   int numColumns)
Description copied from class: ModifyDialogTabPage
Create the left side of the modify dialog. This is meant to be implemented by subclasses.

Specified by:
doCreatePreferences in class ModifyDialogTabPage
Parameters:
composite - Composite to create in
numColumns - Number of columns to use
See Also:
ModifyDialogTabPage.doCreatePreferences(org.eclipse.swt.widgets.Composite, int)

initializePage

public void initializePage()
Description copied from class: ModifyDialogTabPage
This method is called after all controls have been alloated, including the preview. It can be used to set the preview text and to create listeners.

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

doCreateJavaPreview

protected Preview doCreateJavaPreview(org.eclipse.swt.widgets.Composite parent)
Description copied from class: ModifyDialogTabPage
To be implemented by subclasses. This method should return an instance of Preview. Currently, the choice is between CompilationUnitPreview which contains a valid compilation unit, or a SnippetPreview which formats several independent code snippets and displays them in the same window.

Specified by:
doCreateJavaPreview in class ModifyDialogTabPage
Parameters:
parent - Parent composite
Returns:
Created preview
See Also:
ModifyDialogTabPage.doCreateJavaPreview(org.eclipse.swt.widgets.Composite)

doUpdatePreview

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

Overrides:
doUpdatePreview in class FormatterTabPage
See Also:
FormatterTabPage.doUpdatePreview()