Package org.gvsig.installer.swing.api
Interface SwingInstallerManager
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.
- Author:
- Jorge Piera Llodrá
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidaddDefaultDownloadURL(URL url) voidaddDefaultDownloadURL(URL url, String label) 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.createJShowPackageStatusAndAskContinuePanel(List<org.gvsig.installer.lib.api.PackageInfo> packages, String message) createJShowRequiredPackagesAndAskContinuePanel(List<org.gvsig.installer.lib.api.PackageInfo> packages, String message) createJShowTroubledPackagesAndAskContinuePanel(List<org.gvsig.installer.lib.api.PackageInfo> packages, String message) createJShowUnresolvedDependenciesAndAskContinuePanel(org.gvsig.installer.lib.api.Dependencies dependencies, String message) createMakePluginPackageWizard(File applicationDirectory, File installFolder) This method returns a class that is used to create an installer from a gvSIG installation directory.createPackageInfoPanel(String packageType) createPackagerPanel(String packageType, File selectionFolder, File outputFolder) Returns the current application version.Returns the default URL to download packages from.Return the list of default URL used to retrieve the package.gvspki the list contains the URLs and their labels.Return the list of default URL used to retrieve the package.gvspkiorg.gvsig.installer.lib.api.InstallerManagerReturns a reference to theInstallerManager.Translate a key in a text using the current application languagevoidregisterInstallPackageWizard(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.voidregisterMakePluginPackageWizardInstallerCreationWizard(Class<? extends MakePluginPackageWizard> clazz) Registers a class that implements a wizard to create an installer of a plugin from a gvSIG installation directory.voidsetApplicationVersion(String gvSIGVersion) Sets the current application version.voidsetDefaultDownloadURL(File defaultDownloadURLs) voidsetDefaultDownloadURL(String defaultDownloadURLs) voidsetDefaultDownloadURL(URL defaultDownloadURL) Sets the default URL to download packages from
-
Method Details
-
registerMakePluginPackageWizardInstallerCreationWizard
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.- Parameters:
clazz- Class that inherits of theMakePluginPackageWizardabstract class.
-
createMakePluginPackageWizard
MakePluginPackageWizard createMakePluginPackageWizard(File applicationDirectory, File installFolder) throws MakePluginPackageWizardException This method returns a class that is used to create an installer from a gvSIG installation directory.- Returns:
- The wizard to create an installer.
- Throws:
MakePluginPackageWizardException- If there is a problem creating the wizard.
-
registerInstallPackageWizard
Registers a class that implements a wizard to execte an installer to install a set of plugins in a gvSIG installation directory.- Parameters:
clazz- Class that inherits of theabstract class.invalid reference
AbstractInstallPackageWizard
-
createInstallPackageWizard
InstallWizardPanel createInstallPackageWizard(File applicationDirectory, File installFolder) throws InstallPackageWizardException This method returns a class that is used to execute an installer to install a set of plugins in a gvSIG installation directory.- Returns:
- The wizard to execute an installer.
- Throws:
InstallPackageWizardException- If there is a problem creating the wizard.
-
getApplicationVersion
String getApplicationVersion()Returns the current application version.- Returns:
- the current application version
-
setApplicationVersion
Sets the current application version.- Parameters:
gvSIGVersion- the current application version
-
getDefaultDownloadURL
URL getDefaultDownloadURL()Returns the default URL to download packages from.- Returns:
- the default URL to download packages from
-
setDefaultDownloadURL
Sets the default URL to download packages from- Parameters:
defaultDownloadURL- the default URL to download packages from
-
getText
Translate a key in a text using the current application language- Parameters:
key- The key to translate- Returns:
- The translated key
-
getInstallerManager
org.gvsig.installer.lib.api.InstallerManager getInstallerManager()Returns a reference to theInstallerManager.- Returns:
- a reference to the
InstallerManager
-
createJShowPackageStatusAndAskContinuePanel
JShowPackageStatusAndAskContinuePanel createJShowPackageStatusAndAskContinuePanel(List<org.gvsig.installer.lib.api.PackageInfo> packages, String message) -
createJShowTroubledPackagesAndAskContinuePanel
JShowPackagesAndAskContinuePanel createJShowTroubledPackagesAndAskContinuePanel(List<org.gvsig.installer.lib.api.PackageInfo> packages, String message) -
createJShowRequiredPackagesAndAskContinuePanel
JShowRequiredPackagesAndAskContinuePanel createJShowRequiredPackagesAndAskContinuePanel(List<org.gvsig.installer.lib.api.PackageInfo> packages, String message) -
createJShowUnresolvedDependenciesAndAskContinuePanel
JShowUnresolvedDependenciesAndAskContinuePanel createJShowUnresolvedDependenciesAndAskContinuePanel(org.gvsig.installer.lib.api.Dependencies dependencies, String message) -
createPackageInfoPanel
JPackageInfoPanel createPackageInfoPanel() -
createPackageInfoPanel
-
createOutputPanel
JOutputPanel createOutputPanel() -
createProgressPanel
JProgressPanel createProgressPanel() -
setDefaultDownloadURL
-
setDefaultDownloadURL
-
addDefaultDownloadURL
-
addDefaultDownloadURL
-
addDefaultDownloadURL
- Throws:
MalformedURLException
-
getDefaultDownloadURLs
Return the list of default URL used to retrieve the package.gvspki- Returns:
- list of defaults urls
-
getDefaultDownloadUrlAndLabels
List<SwingInstallerManager.UrlAndLabel> getDefaultDownloadUrlAndLabels()Return the list of default URL used to retrieve the package.gvspki the list contains the URLs and their labels.- Returns:
- list of default urls and their labels
-
createPackagerPanel
-
createPackageTypeFilter
-