Runtime

org.eclipse.gmf.runtime.diagram.ui.preferences
Class ConnectionsPreferencePage

java.lang.Object
  extended byorg.eclipse.jface.dialogs.DialogPage
      extended byorg.eclipse.jface.preference.PreferencePage
          extended byorg.eclipse.jface.preference.FieldEditorPreferencePage
              extended byorg.eclipse.gmf.runtime.common.ui.preferences.AbstractPreferencePage
                  extended byorg.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.


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
ConnectionsPreferencePage()
           
 
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.gmf.runtime.common.ui.preferences.AbstractPreferencePage
createContents, createFieldEditors, init, setPageHelpContextId
 
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.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

ConnectionsPreferencePage

public ConnectionsPreferencePage()
Method Detail

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

Runtime

Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp., Borland Software Corp., and others 2005,2006. All rights reserved.