public class DefaultSwingInstallerManager extends Object implements SwingInstallerManager
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultSwingInstallerManager.DefaultDownloadURLs<URL>
This class is for compatibility with deprecated method
List
|
class |
DefaultSwingInstallerManager.DefaultDownloadURLsIterator<URL>
This class is for compatibility with deprecated method
List
|
class |
DefaultSwingInstallerManager.DefaultUrlAndLabel |
SwingInstallerManager.UrlAndLabel| Constructor and Description |
|---|
DefaultSwingInstallerManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
addDefaultDownloadURL(String url) |
void |
addDefaultDownloadURL(URL url) |
void |
addDefaultDownloadURL(URL url,
String label) |
AbstractInstallPackageWizard |
createInstallPackageWizard(File applicationDirectory,
File installFolder)
This method returns a class that is used to execute an installer to
install a set of plugins in a gvSIG installation directory.
|
JShowPackageStatusAndAskContinuePanel |
createJShowPackageStatusAndAskContinuePanel(List<PackageInfo> packages,
String message) |
JShowRequiredPackagesAndAskContinuePanel |
createJShowRequiredPackagesAndAskContinuePanel(List<PackageInfo> packages,
String message) |
JShowPackagesAndAskContinuePanel |
createJShowTroubledPackagesAndAskContinuePanel(List<PackageInfo> packages,
String message) |
JShowUnresolvedDependenciesAndAskContinuePanel |
createJShowUnresolvedDependenciesAndAskContinuePanel(Dependencies dependencies,
String message) |
MakePluginPackageWizard |
createMakePluginPackageWizard(File applicationDirectory,
File installFolder)
This method returns a class that is used to create an installer from a
gvSIG installation directory.
|
JOutputPanel |
createOutputPanel() |
JPackageInfoPanel |
createPackageInfoPanel() |
JPackageInfoPanel |
createPackageInfoPanel(String packageType) |
PackageBuildder |
createPackagerPanel(String packageType,
File selectionFolder,
File outputFolder) |
JProgressPanel |
createProgressPanel() |
String |
getApplicationVersion()
Returns the current application version.
|
URL |
getDefaultDownloadURL()
Returns the default URL to download packages from.
|
List<SwingInstallerManager.UrlAndLabel> |
getDefaultDownloadUrlAndLabels()
Return the list of default URL used to retrieve the package.gvspki
the list contains the URLs and their labels.
|
List<URL> |
getDefaultDownloadURLs()
Return the list of default URL used to retrieve the package.gvspki
|
InstallerManager |
getInstallerManager()
Returns a reference to the
InstallerManager. |
String |
getText(String key)
Translate a key in a text using the current application language
|
void |
registerInstallPackageWizard(Class<? extends AbstractInstallPackageWizard> clazz)
Registers a class that implements a wizard to execte an installer to
install a set of plugins in a gvSIG installation directory.
|
void |
registerMakePluginPackageWizardInstallerCreationWizard(Class<? extends MakePluginPackageWizard> clazz)
Registers a class that implements a wizard to create an installer of a
plugin from a gvSIG installation directory.
|
void |
setApplicationVersion(String gvSIGVersion)
Sets the current application version.
|
void |
setDefaultDownloadURL(File defaultDownloadURLs) |
void |
setDefaultDownloadURL(String defaultDownloadURLs) |
void |
setDefaultDownloadURL(URL defaultDownloadURL)
Sets the default URL to download packages from
|
public String getText(String key)
SwingInstallerManagergetText in interface SwingInstallerManagerkey - The key to translatepublic void registerMakePluginPackageWizardInstallerCreationWizard(Class<? extends MakePluginPackageWizard> clazz)
SwingInstallerManagerregisterMakePluginPackageWizardInstallerCreationWizard in interface SwingInstallerManagerclazz - Class that inherits of the MakePluginPackageWizard
abstract class.public void registerInstallPackageWizard(Class<? extends AbstractInstallPackageWizard> clazz)
SwingInstallerManagerregisterInstallPackageWizard in interface SwingInstallerManagerclazz - Class that inherits of the
AbstractInstallPackageWizard abstract class.public String getApplicationVersion()
SwingInstallerManagergetApplicationVersion in interface SwingInstallerManagerpublic void setApplicationVersion(String gvSIGVersion)
SwingInstallerManagersetApplicationVersion in interface SwingInstallerManagergvSIGVersion - the current application versionpublic URL getDefaultDownloadURL()
SwingInstallerManagergetDefaultDownloadURL in interface SwingInstallerManagerpublic List<URL> getDefaultDownloadURLs()
SwingInstallerManagergetDefaultDownloadURLs in interface SwingInstallerManagerpublic List<SwingInstallerManager.UrlAndLabel> getDefaultDownloadUrlAndLabels()
SwingInstallerManagergetDefaultDownloadUrlAndLabels in interface SwingInstallerManagerpublic void setDefaultDownloadURL(String defaultDownloadURLs)
setDefaultDownloadURL in interface SwingInstallerManagerpublic void setDefaultDownloadURL(URL defaultDownloadURL)
SwingInstallerManagersetDefaultDownloadURL in interface SwingInstallerManagerdefaultDownloadURL - the default URL to download packages frompublic void setDefaultDownloadURL(File defaultDownloadURLs)
setDefaultDownloadURL in interface SwingInstallerManagerpublic void addDefaultDownloadURL(URL url)
addDefaultDownloadURL in interface SwingInstallerManagerpublic void addDefaultDownloadURL(URL url, String label)
addDefaultDownloadURL in interface SwingInstallerManagerpublic void addDefaultDownloadURL(String url) throws MalformedURLException
addDefaultDownloadURL in interface SwingInstallerManagerMalformedURLExceptionpublic InstallerManager getInstallerManager()
SwingInstallerManagerInstallerManager.getInstallerManager in interface SwingInstallerManagerInstallerManagerpublic JShowPackageStatusAndAskContinuePanel createJShowPackageStatusAndAskContinuePanel(List<PackageInfo> packages, String message)
createJShowPackageStatusAndAskContinuePanel in interface SwingInstallerManagerpublic JShowPackagesAndAskContinuePanel createJShowTroubledPackagesAndAskContinuePanel(List<PackageInfo> packages, String message)
createJShowTroubledPackagesAndAskContinuePanel in interface SwingInstallerManagerpublic JShowRequiredPackagesAndAskContinuePanel createJShowRequiredPackagesAndAskContinuePanel(List<PackageInfo> packages, String message)
public JShowUnresolvedDependenciesAndAskContinuePanel createJShowUnresolvedDependenciesAndAskContinuePanel(Dependencies dependencies, String message)
public JPackageInfoPanel createPackageInfoPanel()
createPackageInfoPanel in interface SwingInstallerManagerpublic JPackageInfoPanel createPackageInfoPanel(String packageType)
createPackageInfoPanel in interface SwingInstallerManagerpublic JOutputPanel createOutputPanel()
createOutputPanel in interface SwingInstallerManagerpublic JProgressPanel createProgressPanel()
createProgressPanel in interface SwingInstallerManagerpublic AbstractInstallPackageWizard createInstallPackageWizard(File applicationDirectory, File installFolder) throws InstallPackageWizardException
SwingInstallerManagercreateInstallPackageWizard in interface SwingInstallerManagerInstallPackageWizardException - If there is a problem creating the wizard.public MakePluginPackageWizard createMakePluginPackageWizard(File applicationDirectory, File installFolder) throws MakePluginPackageWizardException
SwingInstallerManagercreateMakePluginPackageWizard in interface SwingInstallerManagerMakePluginPackageWizardException - If there is a problem creating the wizard.public PackageBuildder createPackagerPanel(String packageType, File selectionFolder, File outputFolder)
createPackagerPanel in interface SwingInstallerManager