org.eclipse.gmf.runtime.diagram.ui.preferences
Class ConnectionsPreferencePage
java.lang.Object
org.eclipse.jface.dialogs.DialogPage
org.eclipse.jface.preference.PreferencePage
org.eclipse.jface.preference.FieldEditorPreferencePage
org.eclipse.gmf.runtime.common.ui.preferences.AbstractPreferencePage
org.eclipse.gmf.runtime.diagram.ui.preferences.ConnectionsPreferencePage
- All Implemented Interfaces:
- java.util.EventListener, IDialogPage, IMessageProvider, IPreferencePage, IPropertyChangeListener, IWorkbenchPreferencePage
- public class ConnectionsPreferencePage
- extends AbstractPreferencePage
Connections preferences page for diagram connection preferences.
|
Method Summary |
protected void |
addFieldEditors(Composite composite)
Adds the font and color fields to the Composite given. |
protected void |
addFields(Composite parent)
Adds the field editors to this composite. |
static void |
initDefaults(IPreferenceStore preferenceStore)
Initializes the default preference values for this preference store. |
protected void |
initHelp()
Initialize the context sensitive help id for this preference page. |
| Methods inherited from class org.eclipse.jface.preference.FieldEditorPreferencePage |
addField, adjustGridLayout, applyFont, checkState, 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.dialogs.IDialogPage |
createControl, dispose, getControl, getDescription, getErrorMessage, getImage, getMessage, getTitle, performHelp, setDescription, setImageDescriptor, setTitle, setVisible |
ConnectionsPreferencePage
public ConnectionsPreferencePage()
addFields
protected void addFields(Composite parent)
- Description copied from class:
AbstractPreferencePage
- Adds the field editors to this composite.
- Specified by:
addFields in class AbstractPreferencePage
- Parameters:
parent - the parent Composite that the field editors will be added
to
addFieldEditors
protected void addFieldEditors(Composite composite)
- Adds the font and color fields to the
Composite given.
- Parameters:
composite -
initHelp
protected void initHelp()
- Description copied from class:
AbstractPreferencePage
- Initialize the context sensitive help id for this preference page.
- Specified by:
initHelp in class AbstractPreferencePage
initDefaults
public static void initDefaults(IPreferenceStore preferenceStore)
- Initializes the default preference values for this preference store.
- Parameters:
preferenceStore - the preference store
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp., Borland Software Corp., and others 2005,2006. All rights reserved.