Class ComparePreferencePage
- All Implemented Interfaces:
- IDialogPage,- IMessageProvider,- IPreferencePage,- IWorkbenchPreferencePage
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from interface org.eclipse.jface.dialogs.IMessageProviderERROR, INFORMATION, NONE, WARNING
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidApplies the given data to this page.protected ControlcreateContents(Composite parent) Creates and returns the SWT control for the customized body of this preference page under the given parent composite.voiddispose()TheDialogPageimplementation of thisIDialogPagemethod disposes of the page image if it has one.static booleanvoidinit(IWorkbench workbench) Initializes this preference page for the given workbench.static voidinitDefaults(IPreferenceStore store) protected voidPerforms special processing when this page's Defaults button has been pressed.booleanNotifies that the OK button of this page's container has been pressed.static voidsetSaveAllEditors(boolean value) Methods inherited from class org.eclipse.jface.preference.PreferencePageapplyDialogFont, computeSize, contributeButtons, createControl, createDescriptionLabel, createNoteComposite, doComputeSize, doGetPreferenceStore, getApplyButton, getContainer, getDefaultsButton, getPreferenceStore, isValid, noDefaultAndApplyButton, noDefaultButton, okToLeave, performApply, performCancel, performHelp, setContainer, setErrorMessage, setMessage, setPreferenceStore, setSize, setTitle, setValid, toString, updateApplyButtonMethods inherited from class org.eclipse.jface.dialogs.DialogPageconvertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, getControl, getDescription, getDialogFontName, getErrorMessage, getFont, getImage, getMessage, getMessageType, getShell, getTitle, getToolTipText, initializeDialogUnits, isControlCreated, setButtonLayoutData, setControl, setDescription, setImageDescriptor, setMessage, setVisibleMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.jface.dialogs.IDialogPagecreateControl, getControl, getDescription, getErrorMessage, getImage, getMessage, getTitle, performHelp, setDescription, setImageDescriptor, setTitle, setVisibleMethods inherited from interface org.eclipse.jface.preference.IPreferencePagecomputeSize, isValid, okToLeave, performCancel, setContainer, setSize
- 
Field Details- 
OPEN_STRUCTURE_COMPARE- See Also:
 
- 
USE_OUTLINE_VIEW- See Also:
 
- 
SYNCHRONIZE_SCROLLING- See Also:
 
- 
SHOW_PSEUDO_CONFLICTS- See Also:
 
- 
INITIALLY_SHOW_ANCESTOR_PANE- See Also:
 
- 
PREF_SAVE_ALL_EDITORS- See Also:
 
- 
IGNORE_WHITESPACE- See Also:
 
- 
USE_SINGLE_LINE- See Also:
 
- 
HIGHLIGHT_TOKEN_CHANGES- See Also:
 
- 
CAPPING_DISABLED- See Also:
 
- 
PATH_FILTER- See Also:
 
- 
ADDED_LINES_REGEX- See Also:
 
- 
REMOVED_LINES_REGEX- See Also:
 
- 
SWAPPED- See Also:
 
- 
fKeys
 
- 
- 
Constructor Details- 
ComparePreferencePagepublic ComparePreferencePage()
 
- 
- 
Method Details- 
initDefaults
- 
initDescription copied from interface:IWorkbenchPreferencePageInitializes this preference page for the given workbench.This method is called automatically as the preference page is being created and initialized. Clients must not call this method. - Specified by:
- initin interface- IWorkbenchPreferencePage
- Parameters:
- workbench- the workbench
 
- 
performOkpublic boolean performOk()Description copied from interface:IPreferencePageNotifies that the OK button of this page's container has been pressed.- Specified by:
- performOkin interface- IPreferencePage
- Overrides:
- performOkin class- PreferencePage
- Returns:
- falseto abort the container's OK processing and- trueto allow the OK to happen
 
- 
performDefaultsprotected void performDefaults()Description copied from class:PreferencePagePerforms special processing when this page's Defaults button has been pressed.This is a framework hook method for subclasses to do special things when the Defaults button has been pressed. Subclasses may override, but should call super.performDefaults.- Overrides:
- performDefaultsin class- PreferencePage
 
- 
disposepublic void dispose()Description copied from class:DialogPageTheDialogPageimplementation of thisIDialogPagemethod disposes of the page image if it has one. Subclasses may extend.- Specified by:
- disposein interface- IDialogPage
- Overrides:
- disposein class- DialogPage
 
- 
getSaveAllEditorspublic static boolean getSaveAllEditors()
- 
setSaveAllEditorspublic static void setSaveAllEditors(boolean value) 
- 
createContentsDescription copied from class:PreferencePageCreates and returns the SWT control for the customized body of this preference page under the given parent composite.This framework method must be implemented by concrete subclasses. Any subclass returning a Compositeobject whoseLayouthas default margins (for example, aGridLayout) is expected to set the margins of thisLayoutto 0 pixels.- Specified by:
- createContentsin class- PreferencePage
- Parameters:
- parent- the parent composite
- Returns:
- the new control
 
- 
applyDataDescription copied from class:PreferencePageApplies the given data to this page.It is up to the subclasses to specify the contract and the data format. The contract is not guaranteed if the subclass is in an internal package. Note: The implementation must silently ignore all unknown data. The default implementation does nothing. - Overrides:
- applyDatain class- PreferencePage
- Parameters:
- data- the data as specified by the subclass
 
 
-