Package org.twodividedbyzero.idea.findbugs.gui.preferences.BrowseAction

Examples of org.twodividedbyzero.idea.findbugs.gui.preferences.BrowseAction.BrowseActionCallback


      final Container buttonPanel = new JPanel(btbl);
      _includePanel.add(buttonPanel, "3, 1, 3, 1");

      final AbstractButton addButton = new JButton();
      final Action action = new BrowseAction(_parent, "Add...", new ExtensionFileFilter(FindBugsUtil.XML_EXTENSIONS_SET), new BrowseActionCallback() {
        @Override
        public void addSelection(final File selectedFile) {
          final String replacement = IdeaUtilImpl.collapsePathMacro(_parent.getProject(), selectedFile.getAbsolutePath());
          //noinspection unchecked
          ((DefaultListModel) _includeList.getModel()).addElement(replacement);
View Full Code Here


      final Container buttonPanel = new JPanel(btbl);
      _excludePanel.add(buttonPanel, "3, 1, 3, 1");

      final AbstractButton addButton = new JButton();
      final Action action = new BrowseAction(_parent, "Add...", new ExtensionFileFilter(FindBugsUtil.XML_EXTENSIONS_SET), new BrowseActionCallback() {
        @Override
        public void addSelection(final File selectedFile) {
          final String replacement = IdeaUtilImpl.collapsePathMacro(_parent.getProject(), selectedFile.getAbsolutePath());
          //noinspection unchecked
          ((DefaultListModel) _excludeList.getModel()).addElement(replacement);
View Full Code Here

      final Container buttonPanel = new JPanel(btbl);
      _baselinePanel.add(buttonPanel, "3, 1, 3, 1");

      final AbstractButton addButton = new JButton();
      final Action action = new BrowseAction(_parent, "Add...", new ExtensionFileFilter(FindBugsUtil.XML_EXTENSIONS_SET), new BrowseActionCallback() {
        @Override
        public void addSelection(final File selectedFile) {
          final String replacement = IdeaUtilImpl.collapsePathMacro(_parent.getProject(), selectedFile.getAbsolutePath());
          //noinspection unchecked
          ((DefaultListModel) _baselineList.getModel()).addElement(replacement);
View Full Code Here

      final Container buttonPanel = new JPanel(tableLayout);
      _pluginsPanel.add(buttonPanel, "3, 1, 3, 1");

      final AbstractButton addButton = new JButton();
      final Action action = new BrowseAction(_parent, "Add Plugin...", new ExtensionFileFilter(FindBugsUtil.PLUGINS_EXTENSIONS_SET), new BrowseActionCallback() {
        public void addSelection(final File selectedFile) {
          doAddPlugin(selectedFile);
        }
      });
      addButton.setAction(action);
View Full Code Here

TOP

Related Classes of org.twodividedbyzero.idea.findbugs.gui.preferences.BrowseAction.BrowseActionCallback

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.