public class PackageSelectorGUI extends Object implements InstallationController.PackageSelector
PackageSelectorGUI class provides simple Swing-based file dialog windows for
selecting root directories of installed PEAR packages, as well as PEAR package files, which
contain components that need to be installed.| Modifier and Type | Class and Description |
|---|---|
static class |
PackageSelectorGUI.PackageDirFilter
The
PackageDirFilter class allows filtering directories. |
static class |
PackageSelectorGUI.PackageFileFilter
The
PackageFileFilter class allows filtering PEAR package files. |
| Constructor and Description |
|---|
PackageSelectorGUI()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
File |
selectPackageDirectory(String componentId)
Opens dialog window to select root directory of desired installed component package.
|
File |
selectPackageFile(String componentId)
Opens dialog window to select desired PEAR package file for a given component.
|
URL |
selectPackageUrl(String componentId)
This method is not implemented.
|
public File selectPackageDirectory(String componentId)
selectPackageDirectory in interface InstallationController.PackageSelectorcomponentId - The given component ID.null, if the selection cancelled.public File selectPackageFile(String componentId)
selectPackageFile in interface InstallationController.PackageSelectorcomponentId - The given component ID.null, if the
selection cancelled.public URL selectPackageUrl(String componentId)
null.selectPackageUrl in interface InstallationController.PackageSelectorcomponentId - The given component ID.null, if no URL is
entered.Copyright © 2006–2017 The Apache Software Foundation. All rights reserved.