public interface SwingInstallerManager
This manager is used to register and create the wizards that are used to
create and execute an installer. These wizards are classes that inherit of
JPanel
.
Modifier and Type | Interface and Description |
---|---|
static interface |
SwingInstallerManager.UrlAndLabel |
Modifier and Type | Method and Description |
---|---|
void |
addDefaultDownloadURL(java.lang.String url) |
void |
addDefaultDownloadURL(java.net.URL url) |
void |
addDefaultDownloadURL(java.net.URL url,
java.lang.String label) |
InstallWizardPanel |
createInstallPackageWizard(java.io.File applicationDirectory,
java.io.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(java.util.List<PackageInfo> packages,
java.lang.String message) |
JShowRequiredPackagesAndAskContinuePanel |
createJShowRequiredPackagesAndAskContinuePanel(java.util.List<PackageInfo> packages,
java.lang.String message) |
JShowPackagesAndAskContinuePanel |
createJShowTroubledPackagesAndAskContinuePanel(java.util.List<PackageInfo> packages,
java.lang.String message) |
JShowUnresolvedDependenciesAndAskContinuePanel |
createJShowUnresolvedDependenciesAndAskContinuePanel(Dependencies dependencies,
java.lang.String message) |
MakePluginPackageWizard |
createMakePluginPackageWizard(java.io.File applicationDirectory,
java.io.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(java.lang.String packageType) |
PackageBuildder |
createPackagerPanel(java.lang.String packageType,
java.io.File selectionFolder,
java.io.File outputFolder) |
PackageFilter |
createPackageTypeFilter(java.lang.String type) |
JProgressPanel |
createProgressPanel() |
java.lang.String |
getApplicationVersion()
Returns the current application version.
|
java.net.URL |
getDefaultDownloadURL()
Returns the default URL to download packages from.
|
java.util.List<SwingInstallerManager.UrlAndLabel> |
getDefaultDownloadUrlAndLabels()
Return the list of default URL used to retrieve the package.gvspki the
list contains the URLs and their labels.
|
java.util.List<java.net.URL> |
getDefaultDownloadURLs()
Deprecated.
use getDefaultDownloadUrlAndLabels
|
InstallerManager |
getInstallerManager()
Returns a reference to the
InstallerManager . |
java.lang.String |
getText(java.lang.String key)
Translate a key in a text using the current application language
|
void |
registerInstallPackageWizard(java.lang.Class<? extends InstallerWizardPanel> 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(java.lang.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(java.lang.String gvSIGVersion)
Sets the current application version.
|
void |
setDefaultDownloadURL(java.io.File defaultDownloadURLs) |
void |
setDefaultDownloadURL(java.lang.String defaultDownloadURLs) |
void |
setDefaultDownloadURL(java.net.URL defaultDownloadURL)
Sets the default URL to download packages from
|
void registerMakePluginPackageWizardInstallerCreationWizard(java.lang.Class<? extends MakePluginPackageWizard> clazz)
clazz
- Class that inherits of the MakePluginPackageWizard
abstract class.MakePluginPackageWizard createMakePluginPackageWizard(java.io.File applicationDirectory, java.io.File installFolder) throws MakePluginPackageWizardException
MakePluginPackageWizardException
- If there is a problem creating
the wizard.void registerInstallPackageWizard(java.lang.Class<? extends InstallerWizardPanel> clazz)
clazz
- Class that inherits of the
AbstractInstallPackageWizard
abstract class.InstallWizardPanel createInstallPackageWizard(java.io.File applicationDirectory, java.io.File installFolder) throws InstallPackageWizardException
InstallPackageWizardException
- If there is a problem creating the
wizard.java.lang.String getApplicationVersion()
void setApplicationVersion(java.lang.String gvSIGVersion)
gvSIGVersion
- the current application versionjava.net.URL getDefaultDownloadURL()
void setDefaultDownloadURL(java.net.URL defaultDownloadURL)
defaultDownloadURL
- the default URL to download packages fromjava.lang.String getText(java.lang.String key)
key
- The key to translateInstallerManager getInstallerManager()
InstallerManager
.InstallerManager
JShowPackageStatusAndAskContinuePanel createJShowPackageStatusAndAskContinuePanel(java.util.List<PackageInfo> packages, java.lang.String message)
JShowPackagesAndAskContinuePanel createJShowTroubledPackagesAndAskContinuePanel(java.util.List<PackageInfo> packages, java.lang.String message)
JShowRequiredPackagesAndAskContinuePanel createJShowRequiredPackagesAndAskContinuePanel(java.util.List<PackageInfo> packages, java.lang.String message)
JShowUnresolvedDependenciesAndAskContinuePanel createJShowUnresolvedDependenciesAndAskContinuePanel(Dependencies dependencies, java.lang.String message)
JPackageInfoPanel createPackageInfoPanel()
JPackageInfoPanel createPackageInfoPanel(java.lang.String packageType)
JOutputPanel createOutputPanel()
JProgressPanel createProgressPanel()
void setDefaultDownloadURL(java.lang.String defaultDownloadURLs)
void setDefaultDownloadURL(java.io.File defaultDownloadURLs)
void addDefaultDownloadURL(java.net.URL url)
void addDefaultDownloadURL(java.net.URL url, java.lang.String label)
void addDefaultDownloadURL(java.lang.String url) throws java.net.MalformedURLException
java.net.MalformedURLException
java.util.List<java.net.URL> getDefaultDownloadURLs()
java.util.List<SwingInstallerManager.UrlAndLabel> getDefaultDownloadUrlAndLabels()
PackageBuildder createPackagerPanel(java.lang.String packageType, java.io.File selectionFolder, java.io.File outputFolder)
PackageFilter createPackageTypeFilter(java.lang.String type)