selectFiles(Object rootFileSystemObject, IImportStructureProvider structureProvider) Invokes a file selection operation using the specified file system and
structure provider.
protected void
setAllSelections(boolean value) Set all of the selections in the selection group to value.
protected void
setSourceName(String path) Sets the source name of the import to be the supplied path.
public WizardFileSystemResourceImportPage1(IWorkbench aWorkbench, IStructuredSelection selection)(Code)
Creates an instance of this class
Parameters: aWorkbench - IWorkbench Parameters: selection - IStructuredSelection
Method Detail
createButton
protected Button createButton(Composite parent, int id, String label, boolean defaultButton)(Code)
Creates a new button with the given id.
The Dialog implementation of this framework method
creates a standard push button, registers for selection events
including button presses and registers
default buttons with its shell.
The button id is stored as the buttons client data.
Note that the parent's layout is assumed to be a GridLayout and
the number of columns in this layout is incremented.
Subclasses may override.
Parameters: parent - the parent composite Parameters: id - the id of the button (seeIDialogConstants.*_ID constants for standard dialog button ids) Parameters: label - the label from the button Parameters: defaultButton - true if the button is to be thedefault button, and false otherwise
createButtonsGroup
final protected void createButtonsGroup(Composite parent)(Code)
Creates the buttons for selecting specific types or selecting all or none of the
elements.
Parameters: parent - the parent control
The Finish button was pressed. Try to do the required work now and answer
a boolean indicating success. If false is returned then the wizard will
not close.
boolean
Answer the root FileSystemElement that represents the contents of
the currently-specified source. If this FileSystemElement is not
currently defined then create and return it.
Open a registered type selection dialog and note the selections
in the receivers types-to-export field.,
Added here so that inner classes can have access
Returns whether the extension provided is an extension that
has been specified for export by the user.
Parameters: extension - the resource name true if the resource name is suitable for export based upon its extension
Invokes a file selection operation using the specified file system and
structure provider. If the user specifies files to be imported then
this selection is cached for later retrieval and is returned.
Sets the source name of the import to be the supplied path.
Adds the name of the path to the list of items in the
source combo and selects it.
Parameters: path - the path to be added
Returns whether the source location conflicts
with the destination resource. This will occur if
the source is already under the destination.
Parameters: sourcePath - the path to check true if there is a conflict, false if not
Update the selections with those in map . Implemented here to give inner class
visibility
Parameters: map - Map - key tree elements, values Lists of list elements