Class PackageSelectorGUI

    • Constructor Detail

      • PackageSelectorGUI

        public PackageSelectorGUI()
        Default constructor.
    • Method Detail

      • selectPackageDirectory

        public File selectPackageDirectory​(String componentId)
        Opens dialog window to select root directory of desired installed component package.
        Specified by:
        selectPackageDirectory in interface InstallationController.PackageSelector
        Parameters:
        componentId - The given component ID.
        Returns:
        Selected package root directory or null, if the selection cancelled.
      • selectPackageFile

        public File selectPackageFile​(String componentId)
        Opens dialog window to select desired PEAR package file for a given component.
        Specified by:
        selectPackageFile in interface InstallationController.PackageSelector
        Parameters:
        componentId - The given component ID.
        Returns:
        Selected PEAR package file for the given component, or null, if the selection cancelled.
      • selectPackageUrl

        public URL selectPackageUrl​(String componentId)
        This method is not implemented. It always returns null.
        Specified by:
        selectPackageUrl in interface InstallationController.PackageSelector
        Parameters:
        componentId - The given component ID.
        Returns:
        The PEAR package URL for the given component or null, if no URL is entered.