Package edu.umd.cs.findbugs.updates

Examples of edu.umd.cs.findbugs.updates.UpdateChecker$PluginUpdate


                    enabledPlugins.add(plugin);
                }
            }
        }
        setGlobalOptions();
        updateChecker = new UpdateChecker(this);
        pluginsToUpdate = combine(enabledPlugins);
        // There are too many places where the detector factory collection can be created,
        // and in many cases it has nothing to do with update checks, like Plugin#addCustomPlugin(URI).

        // Line below commented to allow custom plugins be loaded/registered BEFORE we
View Full Code Here


                    mainFrame.about();
                }
            });

            JMenuItem updateItem = newJMenuItem("menu.check_for_updates", "Check for Updates...");
            UpdateChecker checker = DetectorFactoryCollection.instance().getUpdateChecker();
            boolean disabled = checker.updateChecksGloballyDisabled();
            updateItem.setEnabled(!disabled);
            if (disabled) {
                updateItem.setToolTipText("Update checks disabled by plugin: "
                        + checker.getPluginThatDisabledUpdateChecks());
            }
            helpMenu.add(updateItem);

            updateItem.addActionListener(new ActionListener() {
                @Override
View Full Code Here

TOP

Related Classes of edu.umd.cs.findbugs.updates.UpdateChecker$PluginUpdate

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.