org.eclipse.rse.files.ui.propertypages
Class SystemFilePropertyPage
java.lang.Object
org.eclipse.jface.dialogs.DialogPage
org.eclipse.jface.preference.PreferencePage
org.eclipse.ui.dialogs.PropertyPage
org.eclipse.rse.ui.propertypages.SystemBasePropertyPage
org.eclipse.rse.files.ui.propertypages.SystemFilePropertyPage
- All Implemented Interfaces:
- EventListener, IDialogPage, IMessageProvider, IPreferencePage, ISystemMessageLine, ISystemMessageLineTarget, IWorkbenchPropertyPage, SelectionListener, SWTEventListener
- public class SystemFilePropertyPage
- extends SystemBasePropertyPage
- implements SelectionListener
The remote property page for remote file properties.
This is an output-only page.
The plugin.xml file registers this for remote file system objects.
| Methods inherited from class org.eclipse.rse.ui.propertypages.SystemBasePropertyPage |
addFillerLine, addSeparatorLine, clearErrorMessage, clearMessage, configureMessageLine, contributeButtons, createContents, createLabeledCombo, createLabeledLabel, createLabeledText, createLabeledVerbage, getMessageLine, getSystemErrorMessage, grabExcessSpace, okToLeave, setBusyCursor, setErrorMessage, setErrorMessage, setErrorMessage, setHelp, setMessage, setMessage, setMessageLine, wantAutomaticValidManagement, wantDefaultAndApplyButton, wantMnemonics |
| Methods inherited from class org.eclipse.jface.preference.PreferencePage |
applyData, applyDialogFont, computeSize, createControl, createDescriptionLabel, createNoteComposite, doComputeSize, doGetPreferenceStore, getApplyButton, getContainer, getDefaultsButton, getPreferenceStore, isValid, noDefaultAndApplyButton, performApply, performCancel, performDefaults, performHelp, setContainer, 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, setVisible |
| Methods inherited from interface org.eclipse.jface.dialogs.IDialogPage |
createControl, dispose, getControl, getDescription, getErrorMessage, getImage, getMessage, getTitle, performHelp, setDescription, setImageDescriptor, setTitle, setVisible |
labelNamePrompt
protected Label labelNamePrompt
labelTypePrompt
protected Label labelTypePrompt
labelPathPrompt
protected Label labelPathPrompt
labelSizePrompt
protected Label labelSizePrompt
labelModifiedPrompt
protected Label labelModifiedPrompt
cbReadonlyPrompt
protected Button cbReadonlyPrompt
cbHiddenPrompt
protected Button cbHiddenPrompt
labelName
protected Label labelName
labelType
protected Label labelType
labelPath
protected Label labelPath
labelSize
protected Label labelSize
labelModified
protected Label labelModified
labelReadable
protected Label labelReadable
labelWritable
protected Label labelWritable
labelHidden
protected Label labelHidden
errorMessage
protected String errorMessage
initDone
protected boolean initDone
wasReadOnly
protected boolean wasReadOnly
SystemFilePropertyPage
public SystemFilePropertyPage()
- Constructor for SystemFilterPropertyPage
createContentArea
protected Control createContentArea(Composite parent)
- Create the page's GUI contents.
- Specified by:
createContentArea in class SystemBasePropertyPage
getRemoteFile
protected IRemoteFile getRemoteFile()
- Get the input remote file object
doInitializeFields
protected void doInitializeFields()
- Initialize values of input fields based on input
performOk
public boolean performOk()
- Called by parent when user presses OK
- Specified by:
performOk in interface IPreferencePage- Overrides:
performOk in class SystemBasePropertyPage
- Returns:
- true if all is well, false if there is an error.
verifyPageContents
protected boolean verifyPageContents()
- Validate all the widgets on the page
Subclasses should override to do full error checking on all
the widgets on the page.
- Specified by:
verifyPageContents in class SystemBasePropertyPage
- Returns:
- true if there are no errors, false if any errors were found.
widgetDefaultSelected
public void widgetDefaultSelected(SelectionEvent event)
- Specified by:
widgetDefaultSelected in interface SelectionListener
widgetSelected
public void widgetSelected(SelectionEvent event)
- Specified by:
widgetSelected in interface SelectionListener
Copyright (c) IBM Corporation and others 2000, 2006. All Rights Reserved.