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 |
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 downloading the list of available 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 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 JPanel |
buildActionPanel() |
protected JTabbedPane |
buildContentPane() |
static String |
buildDownloadSummary(PluginDownloadTask task) |
protected JPanel |
buildPluginListPanel() |
protected JPanel |
buildSearchFieldPanel() |
private void |
configureSites() |
List<PluginInformation> |
getPluginsScheduledForUpdateOrDownload()
Replies the list of plugins waiting for update or download
|
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, selectSubTab
isExpert
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isExpert
private JosmTextField tfFilter
private PluginListPanel pnlPluginPreferences
private PluginPreferencesModel model
private JScrollPane spPluginPreferences
private PluginUpdatePolicyPanel pnlPluginUpdatePolicy
private boolean pluginPreferencesActivated
private PluginPreference()
public static String buildDownloadSummary(PluginDownloadTask task)
protected JPanel buildSearchFieldPanel()
protected JPanel buildActionPanel()
protected JPanel buildPluginListPanel()
protected JTabbedPane buildContentPane()
public void addGui(PreferenceTabbedPane gui)
PreferenceSetting
private void configureSites()
public List<PluginInformation> getPluginsScheduledForUpdateOrDownload()
public boolean ok()
PreferenceSetting
public void readLocalPluginInformation()