public class MyPluginModel extends InstalledPluginsTableModel implements PluginManagerMain.PluginEnabler
PluginManagerMain.PluginEnabler.HEADLESS
Modifier and Type | Field and Description |
---|---|
boolean |
createShutdownCallback |
boolean |
needRestart |
view
Modifier | Constructor and Description |
---|---|
protected |
MyPluginModel() |
Modifier and Type | Method and Description |
---|---|
void |
addComponent(ListPluginComponent component) |
void |
addDetailPanel(PluginDetailsPageComponent detailPanel) |
void |
addEnabledGroup(PluginsGroup group) |
void |
appendOrUpdateDescriptor(IdeaPluginDescriptor descriptor,
boolean restartNeeded) |
boolean |
apply(javax.swing.JComponent parent) |
void |
changeEnableDisable(IdeaPluginDescriptor [] plugins,
boolean state) |
void |
disablePlugins(java.util.Set<? extends IdeaPluginDescriptor> disabled) |
void |
enablePlugins(java.util.Set<? extends IdeaPluginDescriptor> disabled) |
static IdeaPluginDescriptor |
findPlugin(PluginId id) |
protected java.util.List<IdeaPluginDescriptor> |
getAllRepoPlugins() |
PluginsGroup |
getDownloadedGroup() |
java.lang.String |
getErrorMessage(PluginDescriptor pluginDescriptor,
Ref<? super java.lang.String> enableAction) |
javax.swing.Icon |
getIcon(IdeaPluginDescriptor descriptor,
boolean big,
boolean jb,
boolean error,
boolean disabled) |
java.util.List<IdeaPluginDescriptor> |
getInstalledDescriptors() |
static java.util.Set<IdeaPluginDescriptor> |
getInstallingPlugins() |
java.util.List<java.lang.String> |
getTags() |
java.util.List<java.lang.String> |
getVendors() |
static java.util.List<java.lang.String> |
getVendors(java.util.List<? extends IdeaPluginDescriptor> descriptors) |
protected void |
handleBeforeChangeEnableState(IdeaPluginDescriptor descriptor,
boolean value) |
boolean |
hasErrors(IdeaPluginDescriptor plugin) |
boolean |
hasProblematicDependencies(PluginId pluginId) |
boolean |
isEnabled(IdeaPluginDescriptor plugin) |
boolean |
isModified() |
static boolean |
isVendor(IdeaPluginDescriptor descriptor,
java.util.Set<java.lang.String> vendors) |
void |
pluginInstalledFromDisk(PluginInstallCallbackData callbackData) |
void |
removeComponent(ListPluginComponent component) |
void |
removePluginsOnCancel(javax.swing.JComponent parentComponent) |
void |
runRestartButton(java.awt.Component component) |
void |
setDownloadedGroup(PluginsGroupComponent panel,
PluginsGroup downloaded,
PluginsGroup installing) |
void |
setInvalidFixCallback(java.lang.Runnable invalidFixCallback) |
void |
setPluginUpdatesService(PluginUpdatesService service) |
void |
setTopController(Configurable.TopComponentController topController) |
void |
setUpdateGroup(PluginsGroup group) |
boolean |
toBackground() |
enableRows, getAllPlugins, getDependentToRequiredListMap, getEnabledMap, getRequiredPlugins, isDisabled, isEnabled, isLoaded, setEnabled, updatePluginDependencies
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isDisabled
public boolean needRestart
public boolean createShutdownCallback
public boolean isModified()
public boolean apply(javax.swing.JComponent parent) throws ConfigurationException
ConfigurationException
public void removePluginsOnCancel(javax.swing.JComponent parentComponent)
public void pluginInstalledFromDisk(PluginInstallCallbackData callbackData)
public void addComponent(ListPluginComponent component)
public void removeComponent(ListPluginComponent component)
public void setTopController(Configurable.TopComponentController topController)
public void setPluginUpdatesService(PluginUpdatesService service)
public PluginsGroup getDownloadedGroup()
public static java.util.Set<IdeaPluginDescriptor> getInstallingPlugins()
public boolean toBackground()
public void addEnabledGroup(PluginsGroup group)
public void setDownloadedGroup(PluginsGroupComponent panel, PluginsGroup downloaded, PluginsGroup installing)
public void setUpdateGroup(PluginsGroup group)
public void addDetailPanel(PluginDetailsPageComponent detailPanel)
public void appendOrUpdateDescriptor(IdeaPluginDescriptor descriptor, boolean restartNeeded)
public java.util.List<java.lang.String> getVendors()
public java.util.List<java.lang.String> getTags()
public java.util.List<IdeaPluginDescriptor> getInstalledDescriptors()
public static java.util.List<java.lang.String> getVendors(java.util.List<? extends IdeaPluginDescriptor> descriptors)
public static boolean isVendor(IdeaPluginDescriptor descriptor, java.util.Set<java.lang.String> vendors)
public boolean isEnabled(IdeaPluginDescriptor plugin)
public void changeEnableDisable(IdeaPluginDescriptor [] plugins, boolean state)
public void enablePlugins(java.util.Set<? extends IdeaPluginDescriptor> disabled)
enablePlugins
in interface PluginManagerMain.PluginEnabler
public void disablePlugins(java.util.Set<? extends IdeaPluginDescriptor> disabled)
disablePlugins
in interface PluginManagerMain.PluginEnabler
protected void handleBeforeChangeEnableState(IdeaPluginDescriptor descriptor, boolean value)
handleBeforeChangeEnableState
in class InstalledPluginsTableModel
public void setInvalidFixCallback(java.lang.Runnable invalidFixCallback)
public void runRestartButton(java.awt.Component component)
public static IdeaPluginDescriptor findPlugin(PluginId id)
public boolean hasProblematicDependencies(PluginId pluginId)
public boolean hasErrors(IdeaPluginDescriptor plugin)
public java.lang.String getErrorMessage(PluginDescriptor pluginDescriptor, Ref<? super java.lang.String> enableAction)
protected java.util.List<IdeaPluginDescriptor> getAllRepoPlugins()
public javax.swing.Icon getIcon(IdeaPluginDescriptor descriptor, boolean big, boolean jb, boolean error, boolean disabled)