org.eclipse.emf.compare.ui.preferences
Class EMFComparePreferencesPage

java.lang.Object
  extended by org.eclipse.jface.dialogs.DialogPage
      extended by org.eclipse.jface.preference.PreferencePage
          extended by org.eclipse.jface.preference.FieldEditorPreferencePage
              extended by org.eclipse.emf.compare.ui.preferences.EMFComparePreferencesPage
All Implemented Interfaces:
java.util.EventListener, org.eclipse.jface.dialogs.IDialogPage, org.eclipse.jface.dialogs.IMessageProvider, org.eclipse.jface.preference.IPreferencePage, org.eclipse.jface.util.IPropertyChangeListener, org.eclipse.ui.IWorkbenchPreferencePage

public class EMFComparePreferencesPage
extends org.eclipse.jface.preference.FieldEditorPreferencePage
implements org.eclipse.ui.IWorkbenchPreferencePage

Preference page used for EMFCompare, it allows the user to define which files to compare with EMFCompare and the colors to use for the differences' highlighting.


Field Summary
 
Fields inherited from class org.eclipse.jface.preference.FieldEditorPreferencePage
FLAT, GRID, MARGIN_HEIGHT, MARGIN_WIDTH, VERTICAL_SPACING
 
Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider
ERROR, INFORMATION, NONE, WARNING
 
Constructor Summary
EMFComparePreferencesPage()
          Adds our page to the default preferences dialog.
 
Method Summary
 void createFieldEditors()
          
 void init(org.eclipse.ui.IWorkbench workbench)
          
protected  void reflectOnCore()
          Reflects the modifications to the search window and to the ignore booleans to org.eclipse.emf.compare.EMFComparePlugin preferences store.
 
Methods inherited from class org.eclipse.jface.preference.FieldEditorPreferencePage
addField, adjustGridLayout, applyFont, checkState, createContents, dispose, getFieldEditorParent, initialize, performDefaults, performOk, propertyChange, setVisible
 
Methods inherited from class org.eclipse.jface.preference.PreferencePage
applyData, applyDialogFont, computeSize, contributeButtons, createControl, createDescriptionLabel, createNoteComposite, doComputeSize, doGetPreferenceStore, getApplyButton, getContainer, getDefaultsButton, getPreferenceStore, isValid, noDefaultAndApplyButton, okToLeave, performApply, performCancel, performHelp, setContainer, setErrorMessage, setMessage, setPreferenceStore, setSize, setTitle, setValid, toString, updateApplyButton
 
Methods inherited from class org.eclipse.jface.dialogs.DialogPage
convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, getControl, getDescription, getDialogFontName, getErrorMessage, getFont, getImage, getMessage, getMessageType, getShell, getTitle, getToolTipText, initializeDialogUnits, isControlCreated, setButtonLayoutData, setControl, setDescription, setImageDescriptor, setMessage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.jface.preference.IPreferencePage
computeSize, isValid, okToLeave, performCancel, performOk, setContainer, setSize
 
Methods inherited from interface org.eclipse.jface.dialogs.IDialogPage
createControl, dispose, getControl, getDescription, getErrorMessage, getImage, getMessage, getTitle, performHelp, setDescription, setImageDescriptor, setTitle, setVisible
 

Constructor Detail

EMFComparePreferencesPage

public EMFComparePreferencesPage()
Adds our page to the default preferences dialog.

Method Detail

createFieldEditors

public void createFieldEditors()

Specified by:
createFieldEditors in class org.eclipse.jface.preference.FieldEditorPreferencePage
See Also:
FieldEditorPreferencePage.createFieldEditors()

init

public void init(org.eclipse.ui.IWorkbench workbench)

Specified by:
init in interface org.eclipse.ui.IWorkbenchPreferencePage
See Also:
IWorkbenchPreferencePage.init(IWorkbench)

reflectOnCore

protected void reflectOnCore()
Reflects the modifications to the search window and to the ignore booleans to org.eclipse.emf.compare.EMFComparePlugin preferences store.


Copyright 2006 IBM Corporation and others.
All Rights Reserved.