Package org.eclipse.compare.internal
Class AddFromHistoryDialog
java.lang.Object
org.eclipse.jface.window.Window
org.eclipse.jface.dialogs.Dialog
org.eclipse.compare.internal.ResizableDialog
org.eclipse.compare.internal.AddFromHistoryDialog
- All Implemented Interfaces:
- IShellProvider
- 
Nested Class SummaryNested classes/interfaces inherited from class org.eclipse.jface.window.WindowWindow.IExceptionHandler
- 
Field SummaryFields inherited from class org.eclipse.compare.internal.ResizableDialogfBundleFields inherited from class org.eclipse.jface.dialogs.DialogblockedHandler, 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, ELLIPSISFields inherited from class org.eclipse.jface.window.WindowCANCEL, OK, resizeHasOccurred
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected voidcreateButtonsForButtonBar(Composite parent) Adds buttons to this dialog's button bar.protected ControlcreateDialogArea(Composite parent2) Creates and returns the contents of the upper part of this dialog (above the button bar).protected StringgetEditionLabel(org.eclipse.compare.internal.AddFromHistoryDialog.HistoryInput input) booleanselect(IContainer root, IFile[] inputFiles) Methods inherited from class org.eclipse.compare.internal.ResizableDialogclose, configureShell, getInitialLocation, getInitialSize, setHelpContextIdMethods inherited from class org.eclipse.jface.dialogs.DialogapplyDialogFont, buttonPressed, cancelPressed, convertHeightInCharsToPixels, convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, convertWidthInCharsToPixels, create, createButton, createButtonBar, createContents, dialogFontIsDefault, getBlockedHandler, getButton, getButtonBar, getCancelButton, getDialogArea, getDialogBoundsSettings, getDialogBoundsStrategy, getImage, getOKButton, initializeBounds, initializeDialogUnits, isResizable, okPressed, setBlockedHandler, setButtonLayoutData, setButtonLayoutFormData, shortenTextMethods inherited from class org.eclipse.jface.window.WindowcanHandleShellCloseEvent, constrainShellSize, createShell, getConstrainedShellBounds, getContents, getDefaultImage, getDefaultImages, getDefaultOrientation, getLayout, getParentShell, getReturnCode, getShell, getShellListener, getShellStyle, getWindowManager, handleFontChange, handleShellCloseEvent, open, setBlockOnOpen, setDefaultImage, setDefaultImages, setDefaultModalParent, setDefaultOrientation, setExceptionHandler, setParentShell, setReturnCode, setShellStyle, setWindowManager
- 
Constructor Details- 
AddFromHistoryDialog
 
- 
- 
Method Details- 
select
- 
createDialogAreaDescription copied from class:DialogCreates and returns the contents of the upper part of this dialog (above the button bar).The Dialogimplementation of this framework method creates and returns a newCompositewith standard margins and spacing.The returned control's layout data must be an instance of GridData. This method must not modify the parent's layout.Subclasses must override this method but may call superas in the following example:Composite composite = (Composite) super.createDialogArea(parent); //add controls to composite as necessary return composite; - Overrides:
- createDialogAreain class- Dialog
- Parameters:
- parent2- the parent composite to contain the dialog area
- Returns:
- the dialog area control
 
- 
getEditionLabelprotected String getEditionLabel(org.eclipse.compare.internal.AddFromHistoryDialog.HistoryInput input) 
- 
createButtonsForButtonBarDescription copied from class:DialogAdds buttons to this dialog's button bar.The Dialogimplementation of this framework method adds standard ok and cancel buttons using thecreateButtonframework method. These standard buttons will be accessible fromgetCancelButton, andgetOKButton. Subclasses may override.Note: The common button order is: {other buttons}, OK, Cancel. On some platforms, Dialog.initializeBounds()will move the default button to the right.- Overrides:
- createButtonsForButtonBarin class- Dialog
- Parameters:
- parent- the button bar composite
 
 
-