com.aptana.ide.ui.editors.preferences.formatter
Class ModifyDialog
java.lang.Object
org.eclipse.jface.window.Window
org.eclipse.jface.dialogs.Dialog
org.eclipse.jface.dialogs.TrayDialog
org.eclipse.jface.dialogs.StatusDialog
com.aptana.ide.ui.editors.preferences.formatter.ModifyDialog
- All Implemented Interfaces:
- ModifyDialogTabPage.IModificationListener, org.eclipse.jface.window.IShellProvider
- Direct Known Subclasses:
- FormatterModifyDialog
public abstract class ModifyDialog
- extends org.eclipse.jface.dialogs.StatusDialog
- implements ModifyDialogTabPage.IModificationListener
| Nested classes/interfaces inherited from class org.eclipse.jface.window.Window |
org.eclipse.jface.window.Window.IExceptionHandler |
| Fields inherited from class org.eclipse.jface.dialogs.Dialog |
blockedHandler, buttonBar, DIALOG_DEFAULT_BOUNDS, DIALOG_PERSISTLOCATION, DIALOG_PERSISTSIZE, dialogArea, DLG_IMG_ERROR, DLG_IMG_HELP, DLG_IMG_INFO, DLG_IMG_MESSAGE_ERROR, DLG_IMG_MESSAGE_INFO, DLG_IMG_MESSAGE_WARNING, DLG_IMG_QUESTION, DLG_IMG_WARNING, ELLIPSIS |
| Fields inherited from class org.eclipse.jface.window.Window |
CANCEL, OK |
| Methods inherited from class org.eclipse.jface.dialogs.StatusDialog |
configureShell, createButtonBar, getStatus, setImage, setStatusLineAboveButtons, setTitle |
| Methods inherited from class org.eclipse.jface.dialogs.TrayDialog |
closeTray, createHelpControl, getLayout, getTray, isDialogHelpAvailable, isHelpAvailable, openTray, setDialogHelpAvailable, setHelpAvailable |
| Methods inherited from class org.eclipse.jface.dialogs.Dialog |
applyDialogFont, cancelPressed, convertHeightInCharsToPixels, convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, convertWidthInCharsToPixels, createButton, createContents, dialogFontIsDefault, getBlockedHandler, getButton, getButtonBar, getCancelButton, getDialogArea, getDialogBoundsSettings, getDialogBoundsStrategy, getImage, getOKButton, initializeBounds, initializeDialogUnits, setBlockedHandler, setButtonLayoutData, setButtonLayoutFormData, shortenText |
| Methods inherited from class org.eclipse.jface.window.Window |
canHandleShellCloseEvent, constrainShellSize, createShell, getConstrainedShellBounds, getContents, getDefaultImage, getDefaultImages, getDefaultOrientation, getParentShell, getReturnCode, getShell, getShellListener, getShellStyle, getWindowManager, handleFontChange, handleShellCloseEvent, open, setBlockOnOpen, setDefaultImage, setDefaultImages, setDefaultModalParent, setDefaultOrientation, setExceptionHandler, setParentShell, setReturnCode, setShellStyle, setWindowManager |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ModifyDialog
public ModifyDialog(org.eclipse.swt.widgets.Shell parentShell,
ProfileManager.Profile profile,
ProfileManager profileManager,
ProfileStore profileStore,
boolean newProfile,
java.lang.String dialogPreferencesKey,
java.lang.String lastSavePathKey)
- Parameters:
parentShell - profile - profileManager - profileStore - newProfile - dialogPreferencesKey - lastSavePathKey -
addPages
protected abstract void addPages(java.util.Map values)
- Parameters:
values -
create
public void create()
- Overrides:
create in class org.eclipse.jface.dialogs.StatusDialog
- See Also:
StatusDialog.create()
createDialogArea
protected org.eclipse.swt.widgets.Control createDialogArea(org.eclipse.swt.widgets.Composite parent)
- Overrides:
createDialogArea in class org.eclipse.jface.dialogs.Dialog
- See Also:
Dialog.createDialogArea(org.eclipse.swt.widgets.Composite)
updateStatus
public void updateStatus(org.eclipse.core.runtime.IStatus status)
- Specified by:
updateStatus in interface ModifyDialogTabPage.IModificationListener- Overrides:
updateStatus in class org.eclipse.jface.dialogs.StatusDialog
- See Also:
StatusDialog.updateStatus(org.eclipse.core.runtime.IStatus)
getInitialSize
protected org.eclipse.swt.graphics.Point getInitialSize()
- Overrides:
getInitialSize in class org.eclipse.jface.dialogs.Dialog
- See Also:
Dialog.getInitialSize()
getInitialLocation
protected org.eclipse.swt.graphics.Point getInitialLocation(org.eclipse.swt.graphics.Point initialSize)
- Overrides:
getInitialLocation in class org.eclipse.jface.dialogs.Dialog
- See Also:
Dialog.getInitialLocation(org.eclipse.swt.graphics.Point)
close
public boolean close()
- Overrides:
close in class org.eclipse.jface.dialogs.TrayDialog
- See Also:
TrayDialog.close()
okPressed
protected void okPressed()
- Overrides:
okPressed in class org.eclipse.jface.dialogs.Dialog
- See Also:
Dialog.okPressed()
buttonPressed
protected void buttonPressed(int buttonId)
- Overrides:
buttonPressed in class org.eclipse.jface.dialogs.Dialog
- See Also:
Dialog.buttonPressed(int)
createButtonsForButtonBar
protected void createButtonsForButtonBar(org.eclipse.swt.widgets.Composite parent)
- Overrides:
createButtonsForButtonBar in class org.eclipse.jface.dialogs.StatusDialog
- See Also:
StatusDialog.createButtonsForButtonBar(org.eclipse.swt.widgets.Composite)
addTabPage
protected final void addTabPage(java.lang.String title,
ModifyDialogTabPage tabPage)
- Parameters:
title - tabPage -
valuesModified
public void valuesModified()
- Specified by:
valuesModified in interface ModifyDialogTabPage.IModificationListener
- See Also:
ModifyDialogTabPage.IModificationListener.valuesModified()
updateButtonsEnableState
protected void updateButtonsEnableState(org.eclipse.core.runtime.IStatus status)
- Overrides:
updateButtonsEnableState in class org.eclipse.jface.dialogs.StatusDialog
- See Also:
StatusDialog.updateButtonsEnableState(org.eclipse.core.runtime.IStatus)