Package org.apache.uima.pear.tools
Class PackageSelectorGUI
java.lang.Object
org.apache.uima.pear.tools.PackageSelectorGUI
- All Implemented Interfaces:
InstallationController.PackageSelector
The
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.-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
ThePackageDirFilter
class allows filtering directories.static class
ThePackageFileFilter
class allows filtering PEAR package files. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionselectPackageDirectory
(String componentId) Opens dialog window to select root directory of desired installed component package.selectPackageFile
(String componentId) Opens dialog window to select desired PEAR package file for a given component.selectPackageUrl
(String componentId) This method is not implemented.
-
Constructor Details
-
PackageSelectorGUI
public PackageSelectorGUI()Default constructor.
-
-
Method Details
-
selectPackageDirectory
Opens dialog window to select root directory of desired installed component package.- Specified by:
selectPackageDirectory
in interfaceInstallationController.PackageSelector
- Parameters:
componentId
- The given component ID.- Returns:
- Selected package root directory or
null
, if the selection cancelled.
-
selectPackageFile
Opens dialog window to select desired PEAR package file for a given component.- Specified by:
selectPackageFile
in interfaceInstallationController.PackageSelector
- Parameters:
componentId
- The given component ID.- Returns:
- Selected PEAR package file for the given component, or
null
, if the selection cancelled.
-
selectPackageUrl
This method is not implemented. It always returnsnull
.- Specified by:
selectPackageUrl
in interfaceInstallationController.PackageSelector
- Parameters:
componentId
- The given component ID.- Returns:
- The PEAR package URL for the given component or
null
, if no URL is entered.
-