public class WizardArchivePovClipseProjectResourceImportPage
extends WizardPage
Modifier and Type | Class and Description |
---|---|
class |
WizardArchivePovClipseProjectResourceImportPage.ProjectRecord
Class declared public only for test suite.
|
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
METADATA_FOLDER
The name of the folder containing metadata information for the workspace.
|
Constructor and Description |
---|
WizardArchivePovClipseProjectResourceImportPage()
Creates a new project creation wizard page.
|
WizardArchivePovClipseProjectResourceImportPage(java.lang.String pageName)
Create a new instance of the receiver.
|
Modifier and Type | Method and Description |
---|---|
void |
createControl(Composite parent) |
boolean |
createProjects()
Create the selected projects
|
protected void |
displayErrorDialog(java.lang.String message)
Display an error dialog with the specified message.
|
Button |
getCopyCheckbox()
Method used for test suite.
|
protected java.lang.String |
getErrorDialogTitle()
Get the title for an error dialog.
|
Button |
getProjectFromDirectoryRadio()
Method used for test suite.
|
CheckboxTreeViewer |
getProjectsList()
Method used for test suite.
|
WizardArchivePovClipseProjectResourceImportPage.ProjectRecord[] |
getValidProjects()
Get the array of valid project records that can be imported from the
source workspace or archive, selected by the user.
|
protected void |
handleLocationArchiveButtonPressed()
The browse button has been selected.
|
protected void |
handleLocationDirectoryButtonPressed()
The browse button has been selected.
|
void |
performCancel()
Performs clean-up if the user cancels the wizard without doing anything
|
java.lang.String |
queryOverwrite(java.lang.String pathString)
The
WizardDataTransfer implementation of this
IOverwriteQuery method asks the user whether the existing
resource at the given path should be overwritten. |
void |
restoreWidgetValues()
Use the dialog store to restore widget values to the values that they
held last time this wizard was used to completion.
|
void |
saveWidgetValues()
Since Finish was pressed, write widget values to the dialog store so that
they will persist into the next invocation of this wizard page.
|
void |
setVisible(boolean visible) |
void |
updateProjectsList(java.lang.String path)
Update the list of projects based on path.
|
public static final java.lang.String METADATA_FOLDER
public WizardArchivePovClipseProjectResourceImportPage()
public WizardArchivePovClipseProjectResourceImportPage(java.lang.String pageName)
pageName
- public void createControl(Composite parent)
public void setVisible(boolean visible)
public void updateProjectsList(java.lang.String path)
path
- protected void displayErrorDialog(java.lang.String message)
message
- the error messageprotected java.lang.String getErrorDialogTitle()
protected void handleLocationDirectoryButtonPressed()
protected void handleLocationArchiveButtonPressed()
public boolean createProjects()
true
if all project creations were
successful.public void performCancel()
public java.lang.String queryOverwrite(java.lang.String pathString)
WizardDataTransfer
implementation of this
IOverwriteQuery
method asks the user whether the existing
resource at the given path should be overwritten.pathString
- "YES"
, "NO"
,
"ALL"
, or "CANCEL"
public Button getProjectFromDirectoryRadio()
public CheckboxTreeViewer getProjectsList()
public WizardArchivePovClipseProjectResourceImportPage.ProjectRecord[] getValidProjects()
public void restoreWidgetValues()
public void saveWidgetValues()
public Button getCopyCheckbox()