Package com.iizigo.run
Class EditorRuntimeBuilderPropertyPage
- java.lang.Object
- org.eclipse.jface.dialogs.DialogPage
- org.eclipse.jface.preference.PreferencePage
- org.eclipse.ui.dialogs.PropertyPage
- com.iizigo.run.EditorRuntimeBuilderPropertyPage
- All Implemented Interfaces:
IValidationMessage
,EventListener
,org.eclipse.jface.dialogs.IDialogPage
,org.eclipse.jface.dialogs.IMessageProvider
,org.eclipse.jface.preference.IPreferencePage
,org.eclipse.ui.IWorkbenchPropertyPage
public class EditorRuntimeBuilderPropertyPage extends org.eclipse.ui.dialogs.PropertyPage implements EventListener, IValidationMessage
The iiziRun Builder property page.- Author:
- Christopher Mindus
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ID
The ID of this property page.
Constructor Summary
Constructors Constructor Description EditorRuntimeBuilderPropertyPage()
Constructor for Folder property page.
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.eclipse.swt.widgets.Control
createContents(org.eclipse.swt.widgets.Composite parent)
void
layoutScrollbars()
Lays out for scroll bars.void
onEvent(GEvent event)
Called to process an event.void
onValidate(boolean isValid)
Call to inform validity of all validators.boolean
performCancel()
Cancels.boolean
performOk()
Performs OK.boolean
saveSettings()
Saves the settings file if changed.void
setVisible(boolean isVisible)
Focuses the properties editor and performs a layout.Methods inherited from class org.eclipse.jface.preference.PreferencePage
applyData, applyDialogFont, computeSize, contributeButtons, createControl, createDescriptionLabel, createNoteComposite, doComputeSize, doGetPreferenceStore, getApplyButton, getContainer, getDefaultsButton, getPreferenceStore, isValid, noDefaultAndApplyButton, noDefaultButton, okToLeave, performApply, performDefaults, 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
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
Methods inherited from interface org.eclipse.jface.preference.IPreferencePage
computeSize, isValid, okToLeave, setContainer, setSize
Methods inherited from interface com.iizigo.validator.IValidationMessage
setMessage
Method Detail
createContents
protected org.eclipse.swt.widgets.Control createContents(org.eclipse.swt.widgets.Composite parent)
- Specified by:
createContents
in classorg.eclipse.jface.preference.PreferencePage
- See Also:
PreferencePage.createContents(Composite)
performOk
public boolean performOk()
Performs OK.- Specified by:
performOk
in interfaceorg.eclipse.jface.preference.IPreferencePage
- Overrides:
performOk
in classorg.eclipse.jface.preference.PreferencePage
performCancel
public boolean performCancel()
Cancels.- Specified by:
performCancel
in interfaceorg.eclipse.jface.preference.IPreferencePage
- Overrides:
performCancel
in classorg.eclipse.jface.preference.PreferencePage
saveSettings
public boolean saveSettings()
Saves the settings file if changed.- Returns:
- true for success, false for error.
onValidate
public void onValidate(boolean isValid)
Call to inform validity of all validators.- Specified by:
onValidate
in interfaceIValidationMessage
- Parameters:
isValid
- Validity flag.
setVisible
public void setVisible(boolean isVisible)
Focuses the properties editor and performs a layout.- Specified by:
setVisible
in interfaceorg.eclipse.jface.dialogs.IDialogPage
- Overrides:
setVisible
in classorg.eclipse.jface.dialogs.DialogPage
- Parameters:
isVisible
- Visibility state.
layoutScrollbars
public void layoutScrollbars()
Lays out for scroll bars.
onEvent
public void onEvent(GEvent event)
Called to process an event.- Specified by:
onEvent
in interfaceEventListener
- Parameters:
event
- The event.