RSE
Release 1.0

org.eclipse.rse.files.ui.propertypages
Class SystemFilePropertyPage

java.lang.Object
  extended byorg.eclipse.jface.dialogs.DialogPage
      extended byorg.eclipse.jface.preference.PreferencePage
          extended byorg.eclipse.ui.dialogs.PropertyPage
              extended byorg.eclipse.rse.ui.propertypages.SystemBasePropertyPage
                  extended byorg.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.


Field Summary
protected  Button cbHiddenPrompt
           
protected  Button cbReadonlyPrompt
           
protected  String errorMessage
           
protected  boolean initDone
           
protected  Label labelHidden
           
protected  Label labelModified
           
protected  Label labelModifiedPrompt
           
protected  Label labelName
           
protected  Label labelNamePrompt
           
protected  Label labelPath
           
protected  Label labelPathPrompt
           
protected  Label labelReadable
           
protected  Label labelSize
           
protected  Label labelSizePrompt
           
protected  Label labelType
           
protected  Label labelTypePrompt
           
protected  Label labelWritable
           
protected  boolean wasReadOnly
           
 
Fields inherited from class org.eclipse.rse.ui.propertypages.SystemBasePropertyPage
buttonsComposite, contentArea, msgLine, msgLineSet
 
Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider
ERROR, INFORMATION, NONE, WARNING
 
Constructor Summary
SystemFilePropertyPage()
          Constructor for SystemFilterPropertyPage
 
Method Summary
protected  Control createContentArea(Composite parent)
          Create the page's GUI contents.
protected  void doInitializeFields()
          Initialize values of input fields based on input
protected  IRemoteFile getRemoteFile()
          Get the input remote file object
 boolean performOk()
          Called by parent when user presses OK
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.
 void widgetDefaultSelected(SelectionEvent event)
           
 void widgetSelected(SelectionEvent event)
           
 
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.ui.dialogs.PropertyPage
getElement, setElement
 
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 class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.rse.ui.messages.ISystemMessageLine
getErrorMessage, getMessage
 
Methods inherited from interface org.eclipse.jface.preference.IPreferencePage
computeSize, isValid, performCancel, setContainer, setSize
 
Methods inherited from interface org.eclipse.jface.dialogs.IDialogPage
createControl, dispose, getControl, getDescription, getErrorMessage, getImage, getMessage, getTitle, performHelp, setDescription, setImageDescriptor, setTitle, setVisible
 

Field Detail

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
Constructor Detail

SystemFilePropertyPage

public SystemFilePropertyPage()
Constructor for SystemFilterPropertyPage

Method Detail

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

RSE
Release 1.0

Copyright (c) IBM Corporation and others 2000, 2006. All Rights Reserved.