|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.jface.dialogs.DialogPage
org.eclipse.jface.wizard.WizardPage
com.aptana.ide.core.ui.wizards.WizardFolderImportPage
public class WizardFolderImportPage
The WizardProjectsImportPage is the page that allows the user to import projects from a particular location.
| Field Summary |
|---|
| Fields inherited from interface org.eclipse.ui.dialogs.IOverwriteQuery |
|---|
ALL, CANCEL, NO, NO_ALL, YES |
| Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider |
|---|
ERROR, INFORMATION, NONE, WARNING |
| Constructor Summary | |
|---|---|
WizardFolderImportPage()
Creates a new project creation wizard page. |
|
WizardFolderImportPage(java.lang.String pageName)
Create a new instance of the receiver. |
|
WizardFolderImportPage(java.lang.String pageName,
java.lang.String title,
org.eclipse.jface.resource.ImageDescriptor titleImage)
Create a new instance of the receiver. |
|
| Method Summary | |
|---|---|
void |
createControl(org.eclipse.swt.widgets.Composite parent)
|
boolean |
createProjects()
Create the selected projects |
protected void |
displayErrorDialog(java.lang.String message)
Display an error dialog with the specified message. |
protected boolean |
executeImportOperation(org.eclipse.ui.wizards.datatransfer.ImportOperation op)
Execute the passed import operation. |
java.lang.String |
getDirectoryPath()
|
protected java.lang.String |
getErrorDialogTitle()
Get the title for an error dialog. |
protected boolean |
getFilesForProject(java.util.Collection files,
org.eclipse.ui.wizards.datatransfer.IImportStructureProvider provider,
java.lang.Object entry)
Return a list of all files in the project |
protected void |
handleLocationDirectoryButtonPressed()
The browse button has been selected. |
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 |
setDirectoryPath(java.lang.String directoryPath)
|
static org.eclipse.ui.IViewPart |
showView(java.lang.String viewId,
org.eclipse.ui.IWorkbenchWindow window)
Show a specific view |
| Methods inherited from class org.eclipse.jface.wizard.WizardPage |
|---|
canFlipToNextPage, getContainer, getDialogSettings, getImage, getName, getNextPage, getPreviousPage, getShell, getWizard, isCurrentPage, isPageComplete, setDescription, setErrorMessage, setImageDescriptor, setMessage, setPageComplete, setPreviousPage, setTitle, setWizard, toString |
| Methods inherited from class org.eclipse.jface.dialogs.DialogPage |
|---|
convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, dispose, getControl, getDescription, getDialogFontName, getErrorMessage, getFont, getMessage, getMessageType, getTitle, getToolTipText, initializeDialogUnits, isControlCreated, performHelp, setButtonLayoutData, setControl, 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.dialogs.IDialogPage |
|---|
dispose, getControl, getDescription, getErrorMessage, getMessage, getTitle, performHelp, setVisible |
| Constructor Detail |
|---|
public WizardFolderImportPage()
public WizardFolderImportPage(java.lang.String pageName)
pageName -
public WizardFolderImportPage(java.lang.String pageName,
java.lang.String title,
org.eclipse.jface.resource.ImageDescriptor titleImage)
pageName - title - titleImage - | Method Detail |
|---|
public void createControl(org.eclipse.swt.widgets.Composite parent)
createControl in interface org.eclipse.jface.dialogs.IDialogPageIDialogPage.createControl(org.eclipse.swt.widgets.Composite)protected void displayErrorDialog(java.lang.String message)
message - the error messageprotected java.lang.String getErrorDialogTitle()
protected void handleLocationDirectoryButtonPressed()
public boolean createProjects()
true if all project creations were successful.
protected boolean getFilesForProject(java.util.Collection files,
org.eclipse.ui.wizards.datatransfer.IImportStructureProvider provider,
java.lang.Object entry)
files - provider - The provider for the parent fileentry - The root directory of the project
protected boolean executeImportOperation(org.eclipse.ui.wizards.datatransfer.ImportOperation op)
op -
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.
queryOverwrite in interface org.eclipse.ui.dialogs.IOverwriteQuerypathString -
"YES", "NO", "ALL", or
"CANCEL"public java.lang.String getDirectoryPath()
public void setDirectoryPath(java.lang.String directoryPath)
directoryPath - The directoryPathField to set.
public static org.eclipse.ui.IViewPart showView(java.lang.String viewId,
org.eclipse.ui.IWorkbenchWindow window)
throws org.eclipse.ui.PartInitException
viewId - The ID of the view to showwindow - The active window
org.eclipse.ui.PartInitException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||