org.eclipse.gmf.runtime.emf.ui.preferences
Class PathmapsPreferencePage
java.lang.Object
org.eclipse.jface.dialogs.DialogPage
org.eclipse.jface.preference.PreferencePage
org.eclipse.gmf.runtime.emf.ui.preferences.PathmapsPreferencePage
- All Implemented Interfaces:
- IDialogPage, IMessageProvider, IPreferencePage, IWorkbenchPreferencePage
public class PathmapsPreferencePage
- extends PreferencePage
- implements IWorkbenchPreferencePage
Preference page for specifying the path variables that should be considered
for modeling.
Path variable are created on the "Linked Resources" preference page, and
selected for modeling using this page.
This class may be instantiated by clients, but is not intended to be
subclassed.
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, dispose, getControl, getDescription, getDialogFontName, getErrorMessage, getFont, getImage, getMessage, getMessageType, getShell, getTitle, getToolTipText, initializeDialogUnits, isControlCreated, setButtonLayoutData, setControl, setDescription, setImageDescriptor, setMessage, setVisible |
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 |
PathmapsPreferencePage
public PathmapsPreferencePage()
initHelp
protected void initHelp()
createContents
protected Control createContents(Composite parent)
- Specified by:
createContents
in class PreferencePage
init
public void init(IWorkbench workbench)
- Specified by:
init
in interface IWorkbenchPreferencePage
performDefaults
protected void performDefaults()
- Overrides:
performDefaults
in class PreferencePage
performOk
public boolean performOk()
- Applies the current check state of every path variable to the GMF
PathmapManager
's list of path variable references and saves the
preference store.
- Specified by:
performOk
in interface IPreferencePage
- Overrides:
performOk
in class PreferencePage
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp., Borland Software Corp., and others 2005,2006. All rights reserved.