org.eclipse.cdt.managedbuilder.ui.properties
Class BuildOptionSettingsUI
java.lang.Object
org.eclipse.jface.dialogs.DialogPage
org.eclipse.jface.preference.PreferencePage
org.eclipse.jface.preference.FieldEditorPreferencePage
org.eclipse.cdt.managedbuilder.ui.properties.AbstractToolSettingUI
org.eclipse.cdt.managedbuilder.ui.properties.BuildOptionSettingsUI
- 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
public class BuildOptionSettingsUI
- extends AbstractToolSettingUI
Fields inherited from class org.eclipse.jface.preference.FieldEditorPreferencePage |
FLAT, GRID |
Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider |
ERROR, INFORMATION, NONE, WARNING |
Method Summary |
org.eclipse.swt.graphics.Point |
computeSize()
|
boolean |
isFor(java.lang.Object holder,
java.lang.Object cat)
Answers true if the settings page has been created for the
option category specified in the argument. |
boolean |
performOk()
|
void |
propertyChange(org.eclipse.jface.util.PropertyChangeEvent event)
Method called when the value of a dialog field changes |
void |
setValues()
|
void |
updateFields()
Update field editors in this page when the page is loaded. |
Methods inherited from class org.eclipse.jface.preference.FieldEditorPreferencePage |
dispose, setVisible |
Methods inherited from class org.eclipse.jface.preference.PreferencePage |
applyData, createControl, getContainer, getPreferenceStore, isValid, okToLeave, performCancel, performHelp, setContainer, setErrorMessage, setMessage, setPreferenceStore, setSize, setTitle, setValid, toString |
Methods inherited from class org.eclipse.jface.dialogs.DialogPage |
getControl, getDescription, getErrorMessage, getImage, getMessage, getMessageType, getShell, getTitle, setDescription, setImageDescriptor, setMessage |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.eclipse.jface.dialogs.IDialogPage |
getControl, getDescription, getErrorMessage, getImage, getMessage, getTitle, setDescription, setImageDescriptor |
BuildOptionSettingsUI
public BuildOptionSettingsUI(AbstractCBuildPropertyTab page,
IResourceInfo info,
IHoldsOptions optionHolder,
IOptionCategory _category)
computeSize
public org.eclipse.swt.graphics.Point computeSize()
- Specified by:
computeSize
in interface org.eclipse.jface.preference.IPreferencePage
- Overrides:
computeSize
in class org.eclipse.jface.preference.PreferencePage
isFor
public boolean isFor(java.lang.Object holder,
java.lang.Object cat)
- Answers
true
if the settings page has been created for the
option category specified in the argument.
- Specified by:
isFor
in class AbstractToolSettingUI
- Parameters:
category
-
- Returns:
performOk
public boolean performOk()
- Specified by:
performOk
in interface org.eclipse.jface.preference.IPreferencePage
- Overrides:
performOk
in class org.eclipse.jface.preference.FieldEditorPreferencePage
updateFields
public void updateFields()
- Update field editors in this page when the page is loaded.
- Specified by:
updateFields
in class AbstractToolSettingUI
propertyChange
public void propertyChange(org.eclipse.jface.util.PropertyChangeEvent event)
- Description copied from class:
AbstractToolSettingUI
- Method called when the value of a dialog field changes
- Specified by:
propertyChange
in interface org.eclipse.jface.util.IPropertyChangeListener
- Overrides:
propertyChange
in class AbstractToolSettingUI
setValues
public void setValues()
- Specified by:
setValues
in class AbstractToolSettingUI