RSE
Release 1.0

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

java.lang.Object
  extended byorg.eclipse.jface.dialogs.DialogPage
      extended byorg.eclipse.jface.preference.PreferencePage
          extended byorg.eclipse.rse.files.ui.propertypages.SystemCachePreferencePage
All Implemented Interfaces:
IDialogPage, IMessageProvider, IPreferencePage, IWorkbenchPreferencePage, Listener

public class SystemCachePreferencePage
extends PreferencePage
implements IWorkbenchPreferencePage, Listener

Preference page for generic Remote System cache preferences


Field Summary
 
Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider
ERROR, INFORMATION, NONE, WARNING
 
Constructor Summary
SystemCachePreferencePage()
          Constructor
 
Method Summary
protected  boolean checkDirtyEditors()
           
protected  Control createContents(Composite gparent)
           
 void createControl(Composite parent)
          Configure the composite.
protected  boolean getDirtyEditors(List results)
           
protected  boolean getDirtyReplicas(IContainer parent, List dirtyReplicas)
           
protected  boolean getDirtyReplicas(List results)
           
protected  ISystemEditableRemoteObject getEditableFor(IAdaptable selected)
           
protected  IRunnableContext getRunnableContext(Shell shell)
           
 void handleEvent(Event e)
           
 void init(IWorkbench workbench)
          Inherited method.
static void initDefaults(IPreferenceStore store)
          Set default preferences for the communications preference page.
protected  void performDefaults()
           
 boolean performOk()
           
 
Methods inherited from class org.eclipse.jface.preference.PreferencePage
applyData, applyDialogFont, computeSize, contributeButtons, 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.preference.IPreferencePage
computeSize, isValid, okToLeave, performCancel, setContainer, setSize
 
Methods inherited from interface org.eclipse.jface.dialogs.IDialogPage
dispose, getControl, getDescription, getErrorMessage, getImage, getMessage, getTitle, performHelp, setDescription, setImageDescriptor, setTitle, setVisible
 

Constructor Detail

SystemCachePreferencePage

public SystemCachePreferencePage()
Constructor

Method Detail

createControl

public void createControl(Composite parent)
Configure the composite. We intercept to set the help.

Specified by:
createControl in interface IDialogPage

createContents

protected Control createContents(Composite gparent)

init

public void init(IWorkbench workbench)
Inherited method.

Specified by:
init in interface IWorkbenchPreferencePage

performDefaults

protected void performDefaults()
See Also:
FieldEditorPreferencePage.performDefaults()

initDefaults

public static void initDefaults(IPreferenceStore store)
Set default preferences for the communications preference page.

Parameters:
store - PreferenceStore used for this preference page.

performOk

public boolean performOk()
Specified by:
performOk in interface IPreferencePage
See Also:
FieldEditorPreferencePage.performOk()

getRunnableContext

protected IRunnableContext getRunnableContext(Shell shell)

handleEvent

public void handleEvent(Event e)
Specified by:
handleEvent in interface Listener

getDirtyReplicas

protected boolean getDirtyReplicas(IContainer parent,
                                   List dirtyReplicas)

getDirtyReplicas

protected boolean getDirtyReplicas(List results)

getDirtyEditors

protected boolean getDirtyEditors(List results)

getEditableFor

protected ISystemEditableRemoteObject getEditableFor(IAdaptable selected)

checkDirtyEditors

protected boolean checkDirtyEditors()

RSE
Release 1.0

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