Uses of Class
org.openstreetmap.josm.plugins.PluginInformation
-
Packages that use PluginInformation Package Description org.openstreetmap.josm.gui Provides the classes for JOSM graphical user interface.org.openstreetmap.josm.gui.preferences Provides generic classes for handling JOSM preferences.org.openstreetmap.josm.gui.preferences.plugin Provides classes for handling plugin preferences.org.openstreetmap.josm.plugins Provides the classes for JOSM plugins system. -
-
Uses of PluginInformation in org.openstreetmap.josm.gui
Methods in org.openstreetmap.josm.gui that return types with arguments of type PluginInformation Modifier and Type Method Description (package private) static java.util.Collection<PluginInformation>
MainApplication. updateAndLoadEarlyPlugins(SplashScreen splash, SplashScreen.SplashProgressMonitor monitor)
Method parameters in org.openstreetmap.josm.gui with type arguments of type PluginInformation Modifier and Type Method Description (package private) static void
MainApplication. loadLatePlugins(SplashScreen splash, SplashScreen.SplashProgressMonitor monitor, java.util.Collection<PluginInformation> pluginsToLoad)
-
Uses of PluginInformation in org.openstreetmap.josm.gui.preferences
Fields in org.openstreetmap.josm.gui.preferences with type parameters of type PluginInformation Modifier and Type Field Description private java.util.Set<PluginInformation>
PreferenceTabbedPane.PluginDownloadAfterTask. toDownload
Constructor parameters in org.openstreetmap.josm.gui.preferences with type arguments of type PluginInformation Constructor Description PluginDownloadAfterTask(PluginPreference preference, PluginDownloadTask task, java.util.Set<PluginInformation> toDownload)
-
Uses of PluginInformation in org.openstreetmap.josm.gui.preferences.plugin
Fields in org.openstreetmap.josm.gui.preferences.plugin declared as PluginInformation Modifier and Type Field Description private PluginInformation
PluginCheckBox. pi
Fields in org.openstreetmap.josm.gui.preferences.plugin with type parameters of type PluginInformation Modifier and Type Field Description private java.util.List<PluginInformation>
PluginPreferencesModel. availablePlugins
private java.util.List<PluginInformation>
PluginPreferencesModel. displayedPlugins
private java.util.Map<PluginInformation,java.lang.Boolean>
PluginPreferencesModel. selectedPluginsMap
Methods in org.openstreetmap.josm.gui.preferences.plugin that return PluginInformation Modifier and Type Method Description PluginInformation
PluginPreferencesModel. getPluginInformation(java.lang.String name)
Replies the plugin info with the namename
.Methods in org.openstreetmap.josm.gui.preferences.plugin that return types with arguments of type PluginInformation Modifier and Type Method Description java.util.List<PluginInformation>
PluginPreferencesModel. getAvailablePlugins()
Replies the list of all available plugins.java.util.List<PluginInformation>
PluginPreferencesModel. getDisplayedPlugins()
Replies the list of plugin information to display.java.util.List<PluginInformation>
PluginPreference. getNewlyActivatedPlugins()
Replies the list of plugins which have been added by the user to the set of activated pluginsjava.util.List<PluginInformation>
PluginPreferencesModel. getNewlyActivatedPlugins()
Replies the list of plugins which have been added by the user to the set of activated plugins.java.util.List<PluginInformation>
PluginPreferencesModel. getNewlyDeactivatedPlugins()
Replies the list of plugins which have been removed by the user from the set of deactivated plugins.java.util.Set<PluginInformation>
PluginPreference. getPluginsScheduledForUpdateOrDownload()
Replies the set of plugins waiting for update or downloadjava.util.Set<PluginInformation>
PluginPreferencesModel. getPluginsScheduledForUpdateOrDownload()
Replies the set of plugins waiting for update or download.java.util.List<PluginInformation>
PluginPreferencesModel. getSelectedPlugins()
Replies the list of selected plugin information objectsMethods in org.openstreetmap.josm.gui.preferences.plugin with parameters of type PluginInformation Modifier and Type Method Description protected static java.lang.String
PluginListPanel. formatCheckboxTooltipText(PluginInformation pi)
protected static java.lang.String
PluginListPanel. formatPluginLocalVersion(PluginInformation pi)
protected static java.lang.String
PluginListPanel. formatPluginRemoteVersion(PluginInformation pi)
private boolean
PluginPreferencesModel. matchesInstallationStatus(PluginInformation pi)
protected void
PluginCheckBox. selectRequiredPlugins(PluginInformation info)
protected void
PluginPreferencesModel. updateAvailablePlugin(PluginInformation other)
Method parameters in org.openstreetmap.josm.gui.preferences.plugin with type arguments of type PluginInformation Modifier and Type Method Description void
PluginPreferencesModel. clearPendingPlugins(java.util.Collection<PluginInformation> plugins)
Removes all the plugin inplugins
from the list of plugins with a pending downloadvoid
PluginListPanel. displayPluginList(java.util.List<PluginInformation> displayedPlugins)
Displays a list of plugins.private void
PluginListPanel. hidePluginsNotInList(java.util.Set<PluginInformation> displayedPlugins)
Hides components in the list for plugins that are currently filtered away.void
PluginPreferencesModel. refreshLocalPluginVersion(java.util.Collection<PluginInformation> plugins)
Refreshes the local version field on the plugins inplugins
with the version in the manifest of the downloaded "jar.new"-file for this plugin.void
PluginPreferencesModel. setAvailablePlugins(java.util.Collection<PluginInformation> available)
Sets the list of available plugins.void
PluginPreferencesModel. updateAvailablePlugins(java.util.Collection<PluginInformation> fromPluginSite)
Updates the list of plugin information objects with new information from plugin update sites.Constructors in org.openstreetmap.josm.gui.preferences.plugin with parameters of type PluginInformation Constructor Description PluginCheckBox(PluginInformation pi, boolean selected, PluginListPanel panel, PluginPreferencesModel ppModel)
-
Uses of PluginInformation in org.openstreetmap.josm.plugins
Fields in org.openstreetmap.josm.plugins declared as PluginInformation Modifier and Type Field Description private PluginInformation
Plugin. info
This is the info available for this plugin.private PluginInformation
PluginHandler.PluginInformationAction. info
Fields in org.openstreetmap.josm.plugins with type parameters of type PluginInformation Modifier and Type Field Description private java.util.Map<java.lang.String,PluginInformation>
ReadLocalPluginInformationTask. availablePlugins
private java.util.List<PluginInformation>
ReadRemotePluginInformationTask. availablePlugins
private java.util.Collection<PluginInformation>
PluginDownloadTask. downloaded
private java.util.Collection<PluginInformation>
PluginDownloadTask. failed
(package private) static java.util.Collection<PluginInformation>
PluginHandler. pluginListNotLoaded
All installed but not loaded pluginsprivate java.util.Collection<PluginInformation>
PluginDownloadTask. toUpdate
Methods in org.openstreetmap.josm.plugins that return PluginInformation Modifier and Type Method Description static PluginInformation
PluginListParser. createInfo(java.lang.String name, java.lang.String url, java.util.jar.Attributes manifest)
Creates the plugin information objectstatic PluginInformation
PluginInformation. findPlugin(java.lang.String pluginName)
Try to find a plugin after some criteria.PluginInformation
Plugin. getPluginInformation()
Replies the plugin information object for this pluginMethods in org.openstreetmap.josm.plugins that return types with arguments of type PluginInformation Modifier and Type Method Description static java.util.List<PluginInformation>
PluginHandler. buildListOfPluginsToLoad(java.awt.Component parent, ProgressMonitor monitor)
Builds the list of plugins to load.protected java.util.List<PluginInformation>
ReadRemotePluginInformationTask. filterDeprecatedPlugins(java.util.List<PluginInformation> plugins)
Filter information about deprecated plugins from the list of downloaded pluginsprotected java.util.List<PluginInformation>
ReadRemotePluginInformationTask. filterIrrelevantPlugins(java.util.List<PluginInformation> plugins)
private static java.util.Set<PluginInformation>
PluginHandler. findRequiredPluginsToDownload(java.util.Collection<PluginInformation> pluginsToUpdate, java.util.List<PluginInformation> allPlugins, java.util.Set<PluginInformation> pluginsToDownload)
java.util.List<PluginInformation>
ReadLocalPluginInformationTask. getAvailablePlugins()
Replies information about available plugins detected by this task.java.util.List<PluginInformation>
ReadRemotePluginInformationTask. getAvailablePlugins()
Replies the list of plugins described in the downloaded plugin listsjava.util.Collection<PluginInformation>
PluginDownloadTask. getDownloadedPlugins()
Replies the list of successfully downloaded plugins.java.util.Collection<PluginInformation>
PluginDownloadTask. getFailedPlugins()
Replies the list of plugins whose download has failed.static java.util.List<PluginInformation>
PluginHandler. getPlugins()
Returns the list of currently installed and loaded plugins, sorted by name.private static java.util.Map<java.lang.String,PluginInformation>
PluginHandler. loadLocallyAvailablePluginInformation(ProgressMonitor monitor)
Loads locally available plugin information from local plugin jars and from cached plugin lists.java.util.List<PluginInformation>
PluginListParser. parse(java.io.InputStream in)
Parses a plugin information document and replies a list of plugin information objects.static java.util.Collection<PluginInformation>
PluginHandler. updatePlugins(java.awt.Component parent, java.util.Collection<PluginInformation> pluginsWanted, ProgressMonitor monitor, boolean displayErrMsg)
Updates the plugins inplugins
.Methods in org.openstreetmap.josm.plugins with parameters of type PluginInformation Modifier and Type Method Description static boolean
PluginHandler. checkLoadPreconditions(java.awt.Component parent, java.util.Collection<PluginInformation> plugins, PluginInformation plugin)
Checks whether all preconditions for loading the pluginplugin
are met.static boolean
PluginHandler. checkRequiredPluginsPreconditions(java.awt.Component parent, java.util.Collection<PluginInformation> plugins, PluginInformation plugin, boolean local)
Checks if required plugins preconditions for loading the pluginplugin
are met.protected void
PluginDownloadTask. download(PluginInformation pi, java.io.File file)
private static java.util.Set<java.lang.String>
PluginHandler. findMissingPlugins(java.util.Collection<PluginInformation> plugins, PluginInformation plugin, boolean local)
Find the missing plugin(s) for a specified pluginprivate static boolean
PluginHandler. isDependency(PluginInformation pi, java.lang.String depName)
private static void
PluginHandler. loadPlugin(java.awt.Component parent, PluginInformation plugin, PluginClassLoader pluginClassLoader)
Loads and instantiates the plugin described byplugin
using the class loaderpluginClassLoader
.void
Plugin. setPluginInformation(PluginInformation info)
Sets the plugin information object for this pluginvoid
PluginInformation. updateFromJar(PluginInformation other)
Updates the plugin information of this plugin information object with the plugin information in a plugin information object retrieved from a plugin jar.void
PluginInformation. updateFromPluginSite(PluginInformation other)
Updates the plugin information of this plugin information object with the plugin information in a plugin information object retrieved from a plugin update site.void
PluginInformation. updateLocalInfo(PluginInformation info)
Updates the local fields (localversion
,localmainversion
,localminjavaversion
,localrequires
) to values contained in the up-to-date fields (version
,mainversion
,minjavaversion
,requires
) of the given PluginInformation.Method parameters in org.openstreetmap.josm.plugins with type arguments of type PluginInformation Modifier and Type Method Description private static void
PluginListParser. addPluginInformation(java.util.List<PluginInformation> ret, java.lang.String name, java.lang.String url, java.util.jar.Attributes manifest)
private static void
PluginHandler. alertFailedPluginUpdate(java.awt.Component parent, java.util.Collection<PluginInformation> plugins)
static boolean
PluginHandler. checkLoadPreconditions(java.awt.Component parent, java.util.Collection<PluginInformation> plugins, PluginInformation plugin)
Checks whether all preconditions for loading the pluginplugin
are met.static boolean
PluginHandler. checkRequiredPluginsPreconditions(java.awt.Component parent, java.util.Collection<PluginInformation> plugins, PluginInformation plugin, boolean local)
Checks if required plugins preconditions for loading the pluginplugin
are met.private static void
PluginHandler. extendJoinedPluginResourceCL(java.util.Collection<PluginInformation> plugins)
Add more plugins to the joined plugin resource class loader.protected java.util.List<PluginInformation>
ReadRemotePluginInformationTask. filterDeprecatedPlugins(java.util.List<PluginInformation> plugins)
Filter information about deprecated plugins from the list of downloaded pluginsprotected java.util.List<PluginInformation>
ReadRemotePluginInformationTask. filterIrrelevantPlugins(java.util.List<PluginInformation> plugins)
private static java.util.Set<java.lang.String>
PluginHandler. findMissingPlugins(java.util.Collection<PluginInformation> plugins, PluginInformation plugin, boolean local)
Find the missing plugin(s) for a specified pluginprivate static java.util.Set<PluginInformation>
PluginHandler. findRequiredPluginsToDownload(java.util.Collection<PluginInformation> pluginsToUpdate, java.util.List<PluginInformation> allPlugins, java.util.Set<PluginInformation> pluginsToDownload)
private static java.util.Set<PluginInformation>
PluginHandler. findRequiredPluginsToDownload(java.util.Collection<PluginInformation> pluginsToUpdate, java.util.List<PluginInformation> allPlugins, java.util.Set<PluginInformation> pluginsToDownload)
private static java.util.Set<PluginInformation>
PluginHandler. findRequiredPluginsToDownload(java.util.Collection<PluginInformation> pluginsToUpdate, java.util.List<PluginInformation> allPlugins, java.util.Set<PluginInformation> pluginsToDownload)
private static void
PluginHandler. generateClassloaders(java.util.List<PluginInformation> toLoad)
Generate classloaders for a list of pluginsstatic void
PluginHandler. installDownloadedPlugins(java.util.Collection<PluginInformation> pluginsToLoad, boolean dowarn)
Installs downloaded plugins.static void
PluginHandler. loadEarlyPlugins(java.awt.Component parent, java.util.Collection<PluginInformation> plugins, ProgressMonitor monitor)
static void
PluginHandler. loadLatePlugins(java.awt.Component parent, java.util.Collection<PluginInformation> plugins, ProgressMonitor monitor)
Loads plugins fromplugins
which have the flagearly
set to false.static void
PluginHandler. loadPlugins(java.awt.Component parent, java.util.Collection<PluginInformation> plugins, ProgressMonitor monitor)
Loads the plugin inplugins
from locally available jar files into memory.static void
PluginHandler. refreshLocalUpdatedPluginInfo(java.util.Collection<PluginInformation> updatedPlugins)
Refreshes the given PluginInformation objects with new contents read from their corresponding jar file.static boolean
PluginHandler. removePlugins(java.util.List<PluginInformation> deactivatedPlugins)
Remove deactivated plugins, returning true if JOSM should restartprivate static void
PluginHandler. resolveDependencies(java.util.List<PluginInformation> toLoad)
Resolve dependencies for a list of pluginsvoid
PluginDownloadTask. setPluginsToDownload(java.util.Collection<PluginInformation> toUpdate)
Sets the collection of plugins to update.static java.util.Collection<PluginInformation>
PluginHandler. updatePlugins(java.awt.Component parent, java.util.Collection<PluginInformation> pluginsWanted, ProgressMonitor monitor, boolean displayErrMsg)
Updates the plugins inplugins
.Constructors in org.openstreetmap.josm.plugins with parameters of type PluginInformation Constructor Description Plugin(PluginInformation info)
Creates the pluginPluginInformationAction(PluginInformation info)
PluginProxy(java.lang.Object plugin, PluginInformation info, PluginClassLoader classLoader)
Constructs a newPluginProxy
.Constructor parameters in org.openstreetmap.josm.plugins with type arguments of type PluginInformation Constructor Description PluginDownloadTask(java.awt.Component parent, java.util.Collection<PluginInformation> toUpdate, java.lang.String title)
Creates the download taskPluginDownloadTask(ProgressMonitor monitor, java.util.Collection<PluginInformation> toUpdate, java.lang.String title)
Creates the task
-