|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.uima.pear.tools.PackageSelectorGUI
public class PackageSelectorGUI
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 | |
---|---|
static class |
PackageSelectorGUI.PackageDirFilter
The PackageDirFilter class allows filtering directories. |
static class |
PackageSelectorGUI.PackageFileFilter
The PackageFileFilter class allows filtering PEAR package files. |
Constructor Summary | |
---|---|
PackageSelectorGUI()
Default constructor. |
Method Summary | |
---|---|
java.io.File |
selectPackageDirectory(java.lang.String componentId)
Opens dialog window to select root directory of desired installed component package. |
java.io.File |
selectPackageFile(java.lang.String componentId)
Opens dialog window to select desired PEAR package file for a given component. |
java.net.URL |
selectPackageUrl(java.lang.String componentId)
This method is not implemented. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PackageSelectorGUI()
Method Detail |
---|
public java.io.File selectPackageDirectory(java.lang.String componentId)
selectPackageDirectory
in interface InstallationController.PackageSelector
componentId
- The given component ID.
null
, if the selection cancelled.public java.io.File selectPackageFile(java.lang.String componentId)
selectPackageFile
in interface InstallationController.PackageSelector
componentId
- The given component ID.
null
, if the
selection cancelled.public java.net.URL selectPackageUrl(java.lang.String componentId)
null
.
selectPackageUrl
in interface InstallationController.PackageSelector
componentId
- The given component ID.
null
, if no URL is
entered.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |