com.aptana.ide.editor.html.preferences
Class IndentationTabPage
java.lang.Object
com.aptana.ide.ui.editors.preferences.formatter.ModifyDialogTabPage
com.aptana.ide.ui.editors.preferences.formatter.FormatterTabPage
com.aptana.ide.editor.html.preferences.IndentationTabPage
public class IndentationTabPage
- extends FormatterTabPage
|
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.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 |
IndentationTabPage
public IndentationTabPage(ModifyDialog modifyDialog,
java.util.Map workingValues,
java.lang.String editor)
- Parameters:
modifyDialog - workingValues - editor -
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 innumColumns - 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()