public final class PluginPreference extends DefaultTabPreferenceSetting
| Modifier and Type | Class and Description |
|---|---|
(package private) class |
PluginPreference.ConfigureSitesAction
The action for configuring the plugin download sites
|
(package private) class |
PluginPreference.DownloadAvailablePluginsAction
The action for downloading the list of available plugins
|
static class |
PluginPreference.Factory
Factory used to create a new
PluginPreference. |
private static class |
PluginPreference.PluginConfigurationSitesPanel |
(package private) class |
PluginPreference.SearchFieldAdapter
Applies the current filter condition in the filter text field to the
model
|
(package private) class |
PluginPreference.UpdateSelectedPluginsAction
The action for updating the list of selected plugins
|
| Modifier and Type | Field and Description |
|---|---|
private PluginPreferencesModel |
model |
private boolean |
pluginPreferencesActivated
is set to true if this preference pane has been selected
by the user
|
private PluginListPanel |
pnlPluginPreferences |
private PluginUpdatePolicyPanel |
pnlPluginUpdatePolicy |
private javax.swing.JScrollPane |
spPluginPreferences |
private JosmTextField |
tfFilter |
| Modifier | Constructor and Description |
|---|---|
private |
PluginPreference() |
| Modifier and Type | Method and Description |
|---|---|
void |
addGui(PreferenceTabbedPane gui)
Add the GUI elements to the dialog.
|
protected javax.swing.JPanel |
buildActionPanel() |
protected javax.swing.JTabbedPane |
buildContentPane() |
static java.lang.String |
buildDownloadSummary(PluginDownloadTask task)
Returns the download summary string to be shown.
|
protected javax.swing.JPanel |
buildPluginListPanel() |
protected javax.swing.JPanel |
buildSearchFieldPanel() |
private void |
configureSites() |
private static java.util.Collection<java.lang.String> |
getOnlinePluginSites() |
java.util.List<PluginInformation> |
getPluginsScheduledForUpdateOrDownload()
Replies the list of plugins waiting for update or download
|
static void |
notifyDownloadResults(java.awt.Component parent,
PluginDownloadTask task)
Notifies user about result of a finished plugin download task.
|
boolean |
ok()
Called when OK is pressed to save the setting in the preferences file.
|
void |
readLocalPluginInformation()
Reads locally available information about plugins from the local file system.
|
addSubTab, addSubTab, createPreferenceTabWithScrollPane, getDescription, getIconName, getSubTab, getTabPane, getTitle, getTooltip, registerSubTab, selectSubTabisExpertclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisExpertprivate JosmTextField tfFilter
private PluginListPanel pnlPluginPreferences
private PluginPreferencesModel model
private javax.swing.JScrollPane spPluginPreferences
private PluginUpdatePolicyPanel pnlPluginUpdatePolicy
private boolean pluginPreferencesActivated
private PluginPreference()
public static java.lang.String buildDownloadSummary(PluginDownloadTask task)
task - The plugin download task that has completedpublic static void notifyDownloadResults(java.awt.Component parent, PluginDownloadTask task)
parent - The parent componenttask - The finished plugin download taskprotected javax.swing.JPanel buildSearchFieldPanel()
protected javax.swing.JPanel buildActionPanel()
protected javax.swing.JPanel buildPluginListPanel()
protected javax.swing.JTabbedPane buildContentPane()
public void addGui(PreferenceTabbedPane gui)
PreferenceSettingprivate void configureSites()
public java.util.List<PluginInformation> getPluginsScheduledForUpdateOrDownload()
public boolean ok()
PreferenceSettingpublic void readLocalPluginInformation()
private static java.util.Collection<java.lang.String> getOnlinePluginSites()