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(String url) |
void |
addDefaultDownloadURL(URL url) |
void |
addDefaultDownloadURL(URL url,
String label) |
InstallWizardPanel |
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) |
PackageFilter |
createPackageTypeFilter(String type) |
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()
Deprecated.
use getDefaultDownloadUrlAndLabels
|
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 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(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
|
void registerMakePluginPackageWizardInstallerCreationWizard(Class<? extends MakePluginPackageWizard> clazz)
clazz
- Class that inherits of the MakePluginPackageWizard
abstract class.MakePluginPackageWizard createMakePluginPackageWizard(File applicationDirectory, File installFolder) throws MakePluginPackageWizardException
MakePluginPackageWizardException
- If there is a problem creating
the wizard.void registerInstallPackageWizard(Class<? extends InstallerWizardPanel> clazz)
clazz
- Class that inherits of the
AbstractInstallPackageWizard
abstract class.InstallWizardPanel createInstallPackageWizard(File applicationDirectory, File installFolder) throws InstallPackageWizardException
InstallPackageWizardException
- If there is a problem creating the
wizard.String getApplicationVersion()
void setApplicationVersion(String gvSIGVersion)
gvSIGVersion
- the current application versionURL getDefaultDownloadURL()
void setDefaultDownloadURL(URL defaultDownloadURL)
defaultDownloadURL
- the default URL to download packages fromString getText(String key)
key
- The key to translateInstallerManager getInstallerManager()
InstallerManager
.InstallerManager
JShowPackageStatusAndAskContinuePanel createJShowPackageStatusAndAskContinuePanel(List<PackageInfo> packages, String message)
JShowPackagesAndAskContinuePanel createJShowTroubledPackagesAndAskContinuePanel(List<PackageInfo> packages, String message)
JShowRequiredPackagesAndAskContinuePanel createJShowRequiredPackagesAndAskContinuePanel(List<PackageInfo> packages, String message)
JShowUnresolvedDependenciesAndAskContinuePanel createJShowUnresolvedDependenciesAndAskContinuePanel(Dependencies dependencies, String message)
JPackageInfoPanel createPackageInfoPanel()
JPackageInfoPanel createPackageInfoPanel(String packageType)
JOutputPanel createOutputPanel()
JProgressPanel createProgressPanel()
void setDefaultDownloadURL(String defaultDownloadURLs)
void setDefaultDownloadURL(File defaultDownloadURLs)
void addDefaultDownloadURL(URL url)
void addDefaultDownloadURL(String url) throws MalformedURLException
MalformedURLException
List<URL> getDefaultDownloadURLs()
List<SwingInstallerManager.UrlAndLabel> getDefaultDownloadUrlAndLabels()
PackageBuildder createPackagerPanel(String packageType, File selectionFolder, File outputFolder)
PackageFilter createPackageTypeFilter(String type)