Class ThreeSideTextMergeDialog
java.lang.Object
org.eclipse.jface.window.Window
org.eclipse.jface.dialogs.Dialog
org.eclipse.jface.dialogs.TrayDialog
com._1c.g5.v8.dt.compare.ui.mergeviewer.ThreeSideTextMergeDialog
- All Implemented Interfaces:
IThreeSideTextMergeViewerProvider,org.eclipse.jface.window.IShellProvider
- Direct Known Subclasses:
BslModuleThreeSideMergeDialog
public class ThreeSideTextMergeDialog
extends org.eclipse.jface.dialogs.TrayDialog
implements IThreeSideTextMergeViewerProvider
This is a dialog that can host a
ThreeSideTextMergeEditorInput.-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.jface.window.Window
org.eclipse.jface.window.Window.IExceptionHandler -
Field Summary
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, ELLIPSISFields inherited from class org.eclipse.jface.window.Window
CANCEL, OK, resizeHasOccurred -
Constructor Summary
ConstructorsConstructorDescriptionThreeSideTextMergeDialog(org.eclipse.swt.widgets.Shell shell, ThreeSideTextMergeEditorInput mergeEditorInput, org.eclipse.ui.services.IServiceLocator serviceLocator) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionbooleanclose()protected voidconfigureShell(org.eclipse.swt.widgets.Shell newShell) protected org.eclipse.swt.widgets.ControlcreateDialogArea(org.eclipse.swt.widgets.Composite parent) protected org.eclipse.jface.dialogs.IDialogSettingsprotected ThreeSideTextMergeEditorInputgetInput()Returns the merge editor input for this dialog.Returns the providedThreeSideTextMergeViewerinstance.protected voidintopen()Methods inherited from class org.eclipse.jface.dialogs.TrayDialog
closeTray, createButtonBar, createHelpControl, getLayout, getTray, handleShellCloseEvent, isDialogHelpAvailable, isHelpAvailable, openTray, setDialogHelpAvailable, setHelpAvailableMethods inherited from class org.eclipse.jface.dialogs.Dialog
applyDialogFont, buttonPressed, cancelPressed, convertHeightInCharsToPixels, convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, convertWidthInCharsToPixels, create, createButton, createButtonsForButtonBar, createContents, dialogFontIsDefault, getBlockedHandler, getButton, getButtonBar, getCancelButton, getDialogArea, getDialogBoundsStrategy, getImage, getInitialLocation, getInitialSize, getOKButton, initializeDialogUnits, isResizable, okPressed, setBlockedHandler, setButtonLayoutData, setButtonLayoutFormData, shortenTextMethods inherited from class org.eclipse.jface.window.Window
canHandleShellCloseEvent, constrainShellSize, createShell, getConstrainedShellBounds, getContents, getDefaultImage, getDefaultImages, getDefaultOrientation, getParentShell, getReturnCode, getShell, getShellListener, getShellStyle, getWindowManager, handleFontChange, setBlockOnOpen, setDefaultImage, setDefaultImages, setDefaultModalParent, setDefaultOrientation, setExceptionHandler, setParentShell, setReturnCode, setShellStyle, setWindowManager
-
Constructor Details
-
ThreeSideTextMergeDialog
public ThreeSideTextMergeDialog(org.eclipse.swt.widgets.Shell shell, ThreeSideTextMergeEditorInput mergeEditorInput, org.eclipse.ui.services.IServiceLocator serviceLocator) Constructor.- Parameters:
shell- the parent shell, can not benullmergeEditorInput- the merge editor input, can not benullserviceLocator- the service locator, can not benull
-
-
Method Details
-
open
public int open()- Overrides:
openin classorg.eclipse.jface.window.Window
-
getMergeViewer
Description copied from interface:IThreeSideTextMergeViewerProviderReturns the providedThreeSideTextMergeViewerinstance.- Specified by:
getMergeViewerin interfaceIThreeSideTextMergeViewerProvider- Returns:
- the
ThreeSideTextMergeViewerinstance, nevernull
-
close
public boolean close()- Overrides:
closein classorg.eclipse.jface.dialogs.Dialog
-
createDialogArea
protected org.eclipse.swt.widgets.Control createDialogArea(org.eclipse.swt.widgets.Composite parent) - Overrides:
createDialogAreain classorg.eclipse.jface.dialogs.Dialog
-
configureShell
protected void configureShell(org.eclipse.swt.widgets.Shell newShell) - Overrides:
configureShellin classorg.eclipse.jface.window.Window
-
getDialogBoundsSettings
protected org.eclipse.jface.dialogs.IDialogSettings getDialogBoundsSettings()- Overrides:
getDialogBoundsSettingsin classorg.eclipse.jface.dialogs.Dialog
-
initializeBounds
protected void initializeBounds()- Overrides:
initializeBoundsin classorg.eclipse.jface.dialogs.Dialog
-
getInput
Returns the merge editor input for this dialog.- Returns:
- the merge editor input for this dialog, never
null
-