|
Remote Systems v6.4.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectWizardExportResourcesPage
com.ibm.etools.systems.files.importexport.jar.RemoteJarExportWizardMainPage
Page 1 of the remote jar export wizard.
Constructor Summary | |
---|---|
RemoteJarExportWizardMainPage(RemoteJarExportData jarPackage,
IStructuredSelection selection)
Create an instance of this class |
Method Summary | |
---|---|
void |
createControl(Composite parent)
|
protected void |
createDestinationGroup(Composite parent)
Returns a boolean indicating whether the passed File handle is is valid and available for use. |
protected void |
createExportTypeGroup(Composite parent)
Creates the export type controls. |
protected IFile |
createFileHandle(IPath filePath)
Creates a file resource handle for the file with the given workspace path. |
protected void |
createInputGroup(Composite parent)
Creates the checkbox tree and list for selecting resources. |
protected void |
createOptionsGroup(Composite parent)
Create the export options specification widgets. |
protected IResource |
findResource(IPath path)
Returns the resource for the specified path. |
void |
finish()
Tells the page that the user has pressed finish. |
protected String |
getDestinationLabel()
Answer the string to display in self as the destination type |
protected String |
getDestinationValue()
Answer the contents of the destination specification widget. |
protected String |
getOutputSuffix()
Answer the suffix that files exported from this wizard must have. |
protected IPath |
getResourcePath()
|
protected Iterator |
getSelectedResourcesIterator()
Returns an iterator over this page's collection of currently-specified elements to be exported. |
protected void |
giveFocusToDestination()
Set the current input focus to self's destination entry field |
protected void |
handleDescriptionFileBrowseButtonPressed()
Open an appropriate destination browser so that the user can specify a source to import from |
protected void |
handleDestinationBrowseButtonPressed()
Open an appropriate destination browser so that the user can specify a source to import from |
void |
handleEvent(Event e)
|
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 |
setDestinationValue(String value)
Sets the contents of the destination specification widget. |
void |
setPreviousPage(IWizardPage page)
|
protected void |
setupBasedOnInitialSelections()
|
protected void |
update()
|
protected void |
updateModel()
Stores the widget values in the JAR package. |
protected void |
updatePageCompletion()
|
protected void |
updateWidgetEnablements()
Updates the enablements of this page's controls. |
protected boolean |
validateDestinationGroup()
|
protected boolean |
validateOptionsGroup()
|
protected boolean |
validateSourceGroup()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RemoteJarExportWizardMainPage(RemoteJarExportData jarPackage, IStructuredSelection selection)
Method Detail |
public void createControl(Composite parent)
protected void createOptionsGroup(Composite parent)
parent
- org.eclipse.swt.widgets.Compositeprotected String getDestinationValue()
public void setDestinationValue(String value)
value
- the value to set.protected String getDestinationLabel()
protected String getOutputSuffix()
protected Iterator getSelectedResourcesIterator()
public final void saveWidgetValues()
internalSaveWidgetValues
.
protected void internalSaveWidgetValues()
protected void restoreWidgetValues()
protected void initializeJarPackage()
protected void updateModel()
protected void createDestinationGroup(Composite parent)
protected void handleDescriptionFileBrowseButtonPressed()
protected void handleDestinationBrowseButtonPressed()
protected IResource findResource(IPath path)
path
- the path for which the resource should be returned
null
protected void createInputGroup(Composite parent)
parent
- the parent controlprotected void createExportTypeGroup(Composite parent)
parent
- the parent controlprotected void updateWidgetEnablements()
public boolean isPageComplete()
public void handleEvent(Event e)
protected void update()
protected void updatePageCompletion()
protected boolean validateDestinationGroup()
protected boolean validateOptionsGroup()
protected boolean validateSourceGroup()
protected IPath getResourcePath()
protected IFile createFileHandle(IPath filePath)
createFile
.
filePath
- the path of the file resource to create a handle for
protected void giveFocusToDestination()
protected void setupBasedOnInitialSelections()
public void finish()
IRemoteJarExportWizardPage
finish
in interface IRemoteJarExportWizardPage
public void setPreviousPage(IWizardPage page)
|
Remote Systems v6.4.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |