Remote Systems
v6.4.1

com.ibm.etools.systems.files.importexport.jar
Class RemoteJarExportWizardOptionsPage

java.lang.Object
  extended byWizardPage
      extended bycom.ibm.etools.systems.files.importexport.jar.RemoteJarExportWizardOptionsPage
All Implemented Interfaces:
IRemoteJarExportWizardPage

public class RemoteJarExportWizardOptionsPage
extends WizardPage
implements IRemoteJarExportWizardPage

See Also:
Serialized Form

Constructor Summary
RemoteJarExportWizardOptionsPage(RemoteJarExportData jarPackage)
          Create an instance of this class
 
Method Summary
 boolean canFlipToNextPage()
           
 void createControl(Composite parent)
           
protected  void createDescriptionFileGroup(Composite parent)
           
protected  IFile createFileHandle(IPath filePath)
          Creates a file resource handle for the file with the given workspace path.
protected  Label createLabel(Composite parent, String text, boolean bold)
          Creates a new label with a bold font.
protected  void createOptionsGroup(Composite parent)
          Create the export options specification widgets.
protected  void createSpacer(Composite parent)
          Creates a horizontal spacer line that fills the width of its container.
protected  IResource findResource(IPath path)
          Returns the resource for the specified path.
 void finish()
          Tells the page that the user has pressed finish.
protected  void handleDescriptionFileBrowseButtonPressed()
          Open an appropriate destination browser so that the user can specify a source to import from
protected  void initializeJarPackage()
          Initializes the JAR package from last used wizard page values.
protected  void internalSaveWidgetValues()
          Hook method for subclasses to persist their settings.
 boolean isPageComplete()
           
protected  void restoreWidgetValues()
          Hook method for restoring widget values to the values that they held last time this wizard was used to completion.
 void saveWidgetValues()
          Persists resource specification control setting that are to be restored in the next instance of this page.
 void setPreviousPage(IWizardPage page)
           
protected  void updateModel()
          Stores the widget values in the JAR package.
protected  void updatePageCompletion()
          Determine if the page is complete and update the page appropriately.
protected  void updateWidgetEnablements()
          Updates the enablements of this page's controls.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoteJarExportWizardOptionsPage

public RemoteJarExportWizardOptionsPage(RemoteJarExportData jarPackage)
Create an instance of this class

Method Detail

createControl

public void createControl(Composite parent)

createOptionsGroup

protected void createOptionsGroup(Composite parent)
Create the export options specification widgets.

Parameters:
parent - org.eclipse.swt.widgets.Composite

saveWidgetValues

public final void saveWidgetValues()
Persists resource specification control setting that are to be restored in the next instance of this page. Subclasses wishing to persist settings for their controls should extend the hook method internalSaveWidgetValues.


internalSaveWidgetValues

protected void internalSaveWidgetValues()
Hook method for subclasses to persist their settings.


restoreWidgetValues

protected void restoreWidgetValues()
Hook method for restoring widget values to the values that they held last time this wizard was used to completion.


initializeJarPackage

protected void initializeJarPackage()
Initializes the JAR package from last used wizard page values.


updateModel

protected void updateModel()
Stores the widget values in the JAR package.


handleDescriptionFileBrowseButtonPressed

protected void handleDescriptionFileBrowseButtonPressed()
Open an appropriate destination browser so that the user can specify a source to import from


updateWidgetEnablements

protected void updateWidgetEnablements()
Updates the enablements of this page's controls. Subclasses may extend.


isPageComplete

public boolean isPageComplete()

canFlipToNextPage

public boolean canFlipToNextPage()

createDescriptionFileGroup

protected void createDescriptionFileGroup(Composite parent)

createFileHandle

protected IFile createFileHandle(IPath filePath)
Creates a file resource handle for the file with the given workspace path. This method does not create the file resource; this is the responsibility of createFile.

Parameters:
filePath - the path of the file resource to create a handle for
Returns:
the new file resource handle

setPreviousPage

public void setPreviousPage(IWizardPage page)

finish

public void finish()
Description copied from interface: IRemoteJarExportWizardPage
Tells the page that the user has pressed finish.

Specified by:
finish in interface IRemoteJarExportWizardPage

createLabel

protected Label createLabel(Composite parent,
                            String text,
                            boolean bold)
Creates a new label with a bold font.

Parameters:
parent - the parent control
text - the label text
Returns:
the new label control

createSpacer

protected void createSpacer(Composite parent)
Creates a horizontal spacer line that fills the width of its container.

Parameters:
parent - the parent control

updatePageCompletion

protected void updatePageCompletion()
Determine if the page is complete and update the page appropriately.


findResource

protected IResource findResource(IPath path)
Returns the resource for the specified path.

Parameters:
path - the path for which the resource should be returned
Returns:
the resource specified by the path or null

Remote Systems
v6.4.1

Copyright © 2005 IBM Corp. All Rights Reserved.

Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.