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.
|
Modifier and Type | Method and Description |
---|---|
(package private) static java.util.Collection<PluginInformation> |
MainApplication.updateAndLoadEarlyPlugins(SplashScreen splash,
SplashScreen.SplashProgressMonitor monitor) |
Modifier and Type | Method and Description |
---|---|
(package private) static void |
MainApplication.loadLatePlugins(SplashScreen splash,
SplashScreen.SplashProgressMonitor monitor,
java.util.Collection<PluginInformation> pluginsToLoad) |
Modifier and Type | Field and Description |
---|---|
private java.util.Set<PluginInformation> |
PreferenceTabbedPane.PluginDownloadAfterTask.toDownload |
Constructor and Description |
---|
PluginDownloadAfterTask(PluginPreference preference,
PluginDownloadTask task,
java.util.Set<PluginInformation> toDownload) |
Modifier and Type | Field and Description |
---|---|
private PluginInformation |
PluginCheckBox.pi |
Modifier and Type | Field and 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 |
Modifier and Type | Method and Description |
---|---|
PluginInformation |
PluginPreferencesModel.getPluginInformation(java.lang.String name)
Replies the plugin info with the name
name . |
Modifier and Type | Method and Description |
---|---|
java.util.List<PluginInformation> |
PluginPreferencesModel.getAvailablePlugins()
Replies the set of all available plugins.
|
java.util.List<PluginInformation> |
PluginPreferencesModel.getDisplayedPlugins()
Replies the list of plugin informations 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 plugins
|
java.util.List<PluginInformation> |
PluginPreferencesModel.getNewlyActivatedPlugins()
Replies the set of plugins which have been added by the user to
the set of activated plugins.
|
java.util.List<PluginInformation> |
PluginPreferencesModel.getNewlyDeactivatedPlugins()
Replies the set 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 download
|
java.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 objects
|
Modifier and Type | Method and 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) |
protected void |
PluginCheckBox.selectRequiredPlugins(PluginInformation info) |
protected void |
PluginPreferencesModel.updateAvailablePlugin(PluginInformation other) |
Modifier and Type | Method and Description |
---|---|
void |
PluginPreferencesModel.clearPendingPlugins(java.util.Collection<PluginInformation> plugins)
Removes all the plugin in
plugins from the list of plugins
with a pending download |
void |
PluginPreferencesModel.refreshLocalPluginVersion(java.util.Collection<PluginInformation> plugins)
Refreshes the local version field on the plugins in
plugins 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.
|
Constructor and Description |
---|
PluginCheckBox(PluginInformation pi,
boolean selected,
PluginListPanel panel,
PluginPreferencesModel ppModel) |
Modifier and Type | Field and Description |
---|---|
private PluginInformation |
PluginHandler.PluginInformationAction.info |
private PluginInformation |
Plugin.info
This is the info available for this plugin.
|
Modifier and Type | Field and Description |
---|---|
private java.util.List<PluginInformation> |
ReadRemotePluginInformationTask.availablePlugins |
private java.util.Map<java.lang.String,PluginInformation> |
ReadLocalPluginInformationTask.availablePlugins |
private java.util.Collection<PluginInformation> |
PluginDownloadTask.downloaded |
private java.util.Collection<PluginInformation> |
PluginDownloadTask.failed |
private java.util.Collection<PluginInformation> |
PluginDownloadTask.toUpdate |
Modifier and Type | Method and Description |
---|---|
static PluginInformation |
PluginListParser.createInfo(java.lang.String name,
java.lang.String url,
java.lang.String manifest)
Creates the plugin information object
|
static PluginInformation |
PluginInformation.findPlugin(java.lang.String pluginName)
Try to find a plugin after some criterias.
|
PluginInformation |
Plugin.getPluginInformation()
Replies the plugin information object for this plugin
|
Modifier and Type | Method and Description |
---|---|
static java.util.List<PluginInformation> |
PluginHandler.buildListOfPluginsToLoad(java.awt.Component parent,
ProgressMonitor monitor)
Builds the set 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
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> |
ReadRemotePluginInformationTask.getAvailablePlugins()
Replies the list of plugins described in the downloaded plugin lists
|
java.util.List<PluginInformation> |
ReadLocalPluginInformationTask.getAvailablePlugins()
Replies information about available plugins detected by this task.
|
java.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.
|
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 in
plugins . |
Modifier and Type | Method and Description |
---|---|
static boolean |
PluginHandler.checkLoadPreconditions(java.awt.Component parent,
java.util.Collection<PluginInformation> plugins,
PluginInformation plugin)
Checks whether all preconditions for loading the plugin
plugin 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 plugin
plugin are met. |
protected void |
PluginDownloadTask.download(PluginInformation pi,
java.io.File file) |
private static void |
PluginHandler.loadPlugin(java.awt.Component parent,
PluginInformation plugin,
PluginClassLoader pluginClassLoader)
Loads and instantiates the plugin described by
plugin using
the class loader pluginClassLoader . |
void |
Plugin.setPluginInformation(PluginInformation info)
Sets the plugin information object for this plugin
|
void |
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 , localrequires )
to values contained in the up-to-date fields (version , mainversion , requires )
of the given PluginInformation. |
Modifier and Type | Method and Description |
---|---|
private static void |
PluginListParser.addPluginInformation(java.util.List<PluginInformation> ret,
java.lang.String name,
java.lang.String url,
java.lang.String 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 plugin
plugin 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 plugin
plugin 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
plugins
|
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 java.util.Set<PluginInformation> |
PluginHandler.findRequiredPluginsToDownload(java.util.Collection<PluginInformation> pluginsToUpdate,
java.util.List<PluginInformation> allPlugins,
java.util.Set<PluginInformation> pluginsToDownload) |
static 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)
Loads plugins from
plugins which have the flag early set to true. |
static void |
PluginHandler.loadLatePlugins(java.awt.Component parent,
java.util.Collection<PluginInformation> plugins,
ProgressMonitor monitor)
Loads plugins from
plugins which have the flag early set to false. |
static void |
PluginHandler.loadPlugins(java.awt.Component parent,
java.util.Collection<PluginInformation> plugins,
ProgressMonitor monitor)
Loads the plugin in
plugins 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.
|
void |
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 in
plugins . |
Constructor and Description |
---|
Plugin(PluginInformation info)
Creates the plugin
|
PluginInformationAction(PluginInformation info) |
PluginProxy(java.lang.Object plugin,
PluginInformation info,
PluginClassLoader classLoader)
Constructs a new
PluginProxy . |
Constructor and Description |
---|
PluginDownloadTask(java.awt.Component parent,
java.util.Collection<PluginInformation> toUpdate,
java.lang.String title)
Creates the download task
|
PluginDownloadTask(ProgressMonitor monitor,
java.util.Collection<PluginInformation> toUpdate,
java.lang.String title)
Creates the task
|