Method Summary |
|
protected Button | createButton(Composite parent, int id, String label, boolean defaultButton) Creates a new button with the given id. |
final protected void | createButtonsGroup(Composite parent) Creates the buttons for selecting specific types or selecting all or none of the
elements. |
public void | createControl(Composite parent) |
protected void | createOptionsGroupButtons(Group optionsGroup) Create the import options specification widgets. |
protected void | createRootDirectoryGroup(Composite parent) |
protected MinimizedFileSystemElement | createRootElement(Object fileSystemObject, IImportStructureProvider provider) Creates and returns a FileSystemElement if the specified
file system object merits one. |
protected void | createSourceGroup(Composite parent) |
protected void | enableButtonGroup(boolean enable) Enable or disable the button group. |
protected boolean | ensureSourceIsValid() |
protected boolean | executeImportOperation(ImportOperation op) Execute the passed import operation. |
public boolean | finish() The Finish button was pressed. |
protected ITreeContentProvider | getFileProvider() Returns a content provider for FileSystemElement s that returns
only files as children. |
protected MinimizedFileSystemElement | getFileSystemTree() Answer the root FileSystemElement that represents the contents of
the currently-specified source. |
protected ITreeContentProvider | getFolderProvider() Returns a content provider for FileSystemElement s that returns
only folders as children. |
protected File | getSourceDirectory() Returns a File object representing the currently-named source directory iff
it exists as a valid directory, or null otherwise. |
protected String | getSourceLabel() |
public void | handleEvent(Event event) |
protected void | handleSourceBrowseButtonPressed() |
protected void | handleTypesEditButtonPressed() |
protected boolean | importResources(List fileSystemObjects) |
protected void | initializeOperation(ImportOperation op) Initializes the specified operation appropriately. |
protected boolean | isExportableExtension(String extension) Returns whether the extension provided is an extension that
has been specified for export by the user. |
protected void | resetSelection() Repopulate the view based on the currently entered directory. |
protected void | restoreWidgetValues() |
protected void | saveWidgetValues() |
protected MinimizedFileSystemElement | 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 void | setVisible(boolean visible) |
protected void | setupSelectionsBasedOnSelectedTypes() |
protected boolean | sourceConflictsWithDestination(IPath sourcePath) Returns whether the source location conflicts
with the destination resource. |
protected void | updateSelections(Map map) Update the selections with those in map . |
protected void | updateWidgetEnablements() Check if widgets are enabled or disabled by a change in the dialog. |
protected boolean | validateSourceGroup() Answer a boolean indicating whether self's source specification
widgets currently all contain valid values. |