| org.eclipse.ui.dialogs.WizardDataTransferPage org.eclipse.ui.dialogs.WizardImportPage
WizardImportPage | abstract public class WizardImportPage extends WizardDataTransferPage (Code) | | The abstract superclass for a typical import wizard's main page.
Clients may subclass this page to inherit its common destination resource
selection facilities.
Subclasses must implement
Subclasses may override
Subclasses may extend
|
Constructor Summary | |
protected | WizardImportPage(String name, IStructuredSelection selection) Creates an import wizard page. |
Method Summary | |
protected boolean | allowNewContainerName() The WizardImportPage implementation of this
WizardDataTransferPage method returns true . | public void | createControl(Composite parent) (non-Javadoc)
Method declared on IDialogPage. | final protected void | createDestinationGroup(Composite parent) Creates the import destination specification controls. | abstract protected void | createSourceGroup(Composite parent) Creates the import source specification controls. | protected void | displayErrorDialog(String message) Display an error dialog with the specified message. | protected IPath | getContainerFullPath() Returns the path of the container resource specified in the container
name entry field, or null if no name has been typed in. | protected IPath | getResourcePath() Return the path for the resource field. | protected IContainer | getSpecifiedContainer() Returns the container resource specified in the container name entry field,
or null if such a container does not exist in the workbench. | protected void | handleContainerBrowseButtonPressed() Opens a container selection dialog and displays the user's subsequent
container resource selection in this page's container name field. | public void | handleEvent(Event event) The WizardImportPage implementation of this
Listener method handles all events and enablements for controls
on this page. | final protected void | initialPopulateContainerField() Sets the initial contents of the container name field. | public void | setContainerFieldValue(String value) Sets the value of this page's container resource field, or stores
it for future use if this page's controls do not exist yet. | final protected boolean | validateDestinationGroup() |
WizardImportPage | protected WizardImportPage(String name, IStructuredSelection selection)(Code) | | Creates an import wizard page. If the initial resource selection
contains exactly one container resource then it will be used as the default
import destination.
Parameters: name - the name of the page Parameters: selection - the current resource selection |
allowNewContainerName | protected boolean allowNewContainerName()(Code) | | The WizardImportPage implementation of this
WizardDataTransferPage method returns true .
Subclasses may override this method.
|
createControl | public void createControl(Composite parent)(Code) | | (non-Javadoc)
Method declared on IDialogPage.
|
createDestinationGroup | final protected void createDestinationGroup(Composite parent)(Code) | | Creates the import destination specification controls.
Parameters: parent - the parent control |
createSourceGroup | abstract protected void createSourceGroup(Composite parent)(Code) | | Creates the import source specification controls.
Subclasses must implement this method.
Parameters: parent - the parent control |
displayErrorDialog | protected void displayErrorDialog(String message)(Code) | | Display an error dialog with the specified message.
Parameters: message - the error message |
getContainerFullPath | protected IPath getContainerFullPath()(Code) | | Returns the path of the container resource specified in the container
name entry field, or null if no name has been typed in.
The container specified by the full path might not exist and would need to
be created.
the full path of the container resource specified inthe container name entry field, or null |
getResourcePath | protected IPath getResourcePath()(Code) | | Return the path for the resource field.
org.eclipse.core.runtime.IPath |
getSpecifiedContainer | protected IContainer getSpecifiedContainer()(Code) | | Returns the container resource specified in the container name entry field,
or null if such a container does not exist in the workbench.
the container resource specified in the container name entry field,or null |
handleContainerBrowseButtonPressed | protected void handleContainerBrowseButtonPressed()(Code) | | Opens a container selection dialog and displays the user's subsequent
container resource selection in this page's container name field.
|
handleEvent | public void handleEvent(Event event)(Code) | | The WizardImportPage implementation of this
Listener method handles all events and enablements for controls
on this page. Subclasses may extend.
|
initialPopulateContainerField | final protected void initialPopulateContainerField()(Code) | | Sets the initial contents of the container name field.
|
setContainerFieldValue | public void setContainerFieldValue(String value)(Code) | | Sets the value of this page's container resource field, or stores
it for future use if this page's controls do not exist yet.
Parameters: value - new value |
validateDestinationGroup | final protected boolean validateDestinationGroup()(Code) | | |
Fields inherited from org.eclipse.ui.dialogs.WizardDataTransferPage | final protected static int COMBO_HISTORY_LENGTH(Code)(Java Doc) final protected static int SIZING_TEXT_FIELD_WIDTH(Code)(Java Doc)
|
|
|