|
Remote Systems v6.4.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectWizardPage
com.ibm.etools.systems.files.importexport.jar.RemoteJarExportWizardManifestPage
Constructor Summary | |
---|---|
RemoteJarExportWizardManifestPage(RemoteJarExportData jarPackage)
Create an instance of this class |
Method Summary | |
---|---|
void |
createControl(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 |
createMainClassGroup(Composite parent)
|
protected void |
createManifestFileGroup(Composite parent)
|
protected void |
createManifestGroup(Composite parent)
Create the export options specification widgets. |
protected void |
createNewManifestFileGroup(Composite parent)
|
protected SelectionDialog |
createPackageDialog(Set packageFragments)
Creates a selection dialog that lists all packages under the given package fragment root. |
protected void |
createSealingGroup(Composite parent)
Creates the JAR sealing specification controls. |
protected void |
createSealJarGroup(Composite sealGroup)
Creates the JAR sealing specification controls to seal the whole JAR. |
protected void |
createSealPackagesGroup(Composite sealGroup)
Creates the JAR sealing specification controls to seal packages. |
protected void |
createSpacer(Composite parent)
Creates a horizontal spacer line that fills the width of its container. |
protected ElementTreeSelectionDialog |
createWorkspaceFileSelectionDialog(String title,
String message)
Creates and returns a dialog to choose an existing workspace file. |
protected IResource |
findResource(IPath path)
Returns the resource for the specified path. |
void |
finish()
Tells the page that the user has pressed finish. |
protected IPackageFragment[] |
getPackagesFromDialog(SelectionDialog dialog)
Converts selection dialog results into an array of IPackageFragments. |
protected IPath |
getPathFromString(String text)
|
protected void |
handleMainClassBrowseButtonPressed()
|
protected void |
handleManifestFileBrowseButtonPressed()
|
protected void |
handleNewManifestFileBrowseButtonPressed()
Open an appropriate dialog so that the user can specify a manifest to save |
protected void |
handleSealPackagesDetailsButtonPressed()
|
protected void |
handleUnSealPackagesDetailsButtonPressed()
|
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. |
protected void |
setEqualButtonSizes()
Makes the size of all buttons equal. |
void |
setPreviousPage(IWizardPage page)
|
protected void |
setSize(Control control,
int width,
int height)
Sets the size of a control. |
protected void |
updateEnableState()
Updates the enable state of this page's controls. |
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 |
updateSealingInfo()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RemoteJarExportWizardManifestPage(RemoteJarExportData jarPackage)
Method Detail |
public void createControl(Composite parent)
protected void createManifestGroup(Composite parent)
parent
- org.eclipse.swt.widgets.Compositeprotected void createNewManifestFileGroup(Composite parent)
protected void createManifestFileGroup(Composite parent)
protected void createSealingGroup(Composite parent)
parent
- the parent controlprotected void createSealJarGroup(Composite sealGroup)
protected void createSealPackagesGroup(Composite sealGroup)
protected void createMainClassGroup(Composite parent)
protected void handleNewManifestFileBrowseButtonPressed()
protected void handleManifestFileBrowseButtonPressed()
protected void handleMainClassBrowseButtonPressed()
protected void handleSealPackagesDetailsButtonPressed()
protected void handleUnSealPackagesDetailsButtonPressed()
protected void updateEnableState()
protected void updateSealingInfo()
public boolean isPageComplete()
public void setPreviousPage(IWizardPage page)
public void finish()
IRemoteJarExportWizardPage
finish
in interface IRemoteJarExportWizardPage
public final void saveWidgetValues()
internalSaveWidgetValues
.
protected void internalSaveWidgetValues()
protected void restoreWidgetValues()
protected void initializeJarPackage()
protected void updateModel()
protected void updatePageCompletion()
protected IFile createFileHandle(IPath filePath)
createFile
.
filePath
- the path of the file resource to create a handle for
protected Label createLabel(Composite parent, String text, boolean bold)
parent
- the parent controltext
- the label text
protected void setSize(Control control, int width, int height)
control
- the control for which to set the sizewidth
- the new width of the controlheight
- the new height of the controlprotected void setEqualButtonSizes()
protected void createSpacer(Composite parent)
parent
- the parent controlprotected IResource findResource(IPath path)
path
- the path for which the resource should be returned
null
protected IPath getPathFromString(String text)
protected SelectionDialog createPackageDialog(Set packageFragments)
Window.open
,
and subsequently extracting the selected packages (of type
IPackageFragment
) via SelectionDialog.getResult
.
packageFragments
- the package fragments
protected IPackageFragment[] getPackagesFromDialog(SelectionDialog dialog)
ClassCastException
- if results are not IPackageFragmentsprotected ElementTreeSelectionDialog createWorkspaceFileSelectionDialog(String title, String message)
|
Remote Systems v6.4.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |