This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

View | Details | Raw Unified | Return to bug 251965
Collapse All | Expand All

(-)a/findbugs/src/org/netbeans/modules/findbugs/RunFindBugs.java (-7 / +29 lines)
Lines 113-118 Link Here
113
import org.netbeans.api.queries.FileEncodingQuery;
113
import org.netbeans.api.queries.FileEncodingQuery;
114
import org.netbeans.modules.analysis.api.CodeAnalysis;
114
import org.netbeans.modules.analysis.api.CodeAnalysis;
115
import org.netbeans.modules.analysis.spi.Analyzer.WarningDescription;
115
import org.netbeans.modules.analysis.spi.Analyzer.WarningDescription;
116
import org.netbeans.modules.findbugs.options.FindBugsPanel;
117
import static org.netbeans.modules.findbugs.options.FindBugsPanel.MINIMAL_LEVEL_PROPERTY;
116
import org.netbeans.spi.editor.hints.ChangeInfo;
118
import org.netbeans.spi.editor.hints.ChangeInfo;
117
import org.netbeans.spi.editor.hints.EnhancedFix;
119
import org.netbeans.spi.editor.hints.EnhancedFix;
118
import org.netbeans.spi.editor.hints.ErrorDescription;
120
import org.netbeans.spi.editor.hints.ErrorDescription;
Lines 142-148 Link Here
142
    
144
    
143
    public static List<ErrorDescription> runFindBugs(CompilationInfo info, Preferences customSettings, String singleBug, FileObject sourceRoot, Iterable<? extends String> classNames, final FindBugsProgress progress, final Cancel cancel, SigFilesValidator validator) {
145
    public static List<ErrorDescription> runFindBugs(CompilationInfo info, Preferences customSettings, String singleBug, FileObject sourceRoot, Iterable<? extends String> classNames, final FindBugsProgress progress, final Cancel cancel, SigFilesValidator validator) {
144
        List<ErrorDescription> result = new ArrayList<ErrorDescription>();
146
        List<ErrorDescription> result = new ArrayList<ErrorDescription>();
145
        
147
        String level = NbPreferences.forModule(FindBugsPanel.class).get(MINIMAL_LEVEL_PROPERTY, "Hihg");
146
        try {
148
        try {
147
            Class.forName("org.netbeans.modules.findbugs.NbClassFactory", true, RunFindBugs.class.getClassLoader()); //NOI18N
149
            Class.forName("org.netbeans.modules.findbugs.NbClassFactory", true, RunFindBugs.class.getClassLoader()); //NOI18N
148
            Project p = new Project();
150
            Project p = new Project();
Lines 216-223 Link Here
216
                    return projectStats;
218
                    return projectStats;
217
                }
219
                }
218
            };
220
            };
219
221
            if (FindBugsPanel.HIGH_LEVEL.equals(level)) {
220
            r.setPriorityThreshold(Priorities.LOW_PRIORITY);
222
                r.setPriorityThreshold(Priorities.HIGH_PRIORITY);
223
            } else if (FindBugsPanel.MEDIUM_LEVEL.equals(level)) {
224
                r.setPriorityThreshold(Priorities.NORMAL_PRIORITY);
225
            } else if (FindBugsPanel.LOW_LEVEL.equals(level)) {
226
                r.setPriorityThreshold(Priorities.LOW_PRIORITY);
227
            } else {
228
                r.setPriorityThreshold(Priorities.LOW_PRIORITY);
229
            }
221
            r.setRankThreshold(20);
230
            r.setRankThreshold(20);
222
231
223
            FindBugs2 engine = new FindBugs2();
232
            FindBugs2 engine = new FindBugs2();
Lines 353-359 Link Here
353
                        int[] span = spanForEnclosingMethod(info, js, sourceLine.getStartLine());
362
                        int[] span = spanForEnclosingMethod(info, js, sourceLine.getStartLine());
354
                        if (span != null && span[0] != (-1)) {
363
                        if (span != null && span[0] != (-1)) {
355
                            LazyFixList fixes = prepareFixes(b, inEditor, sourceFile, -1, span);
364
                            LazyFixList fixes = prepareFixes(b, inEditor, sourceFile, -1, span);
356
                            result.add(ErrorDescriptionFactory.createErrorDescription(PREFIX_FINDBUGS + b.getType(), Severity.VERIFIER, b.getMessageWithoutPrefix(), b.getBugPattern().getDetailHTML(), fixes, sourceFile, span[0], span[1]));
365
                            result.add(ErrorDescriptionFactory.createErrorDescription(PREFIX_FINDBUGS + b.getType(), getSeverity(b),  b.getPriorityString()+":"+b.getMessageWithoutPrefix(), b.getBugPattern().getDetailHTML(), fixes, sourceFile, span[0], span[1]));
357
                            continue;
366
                            continue;
358
                        }
367
                        }
359
                    }
368
                    }
Lines 361-367 Link Here
361
                        LazyFixList fixes = prepareFixes(b, inEditor, sourceFile, sourceLine.getStartLine(), null);
370
                        LazyFixList fixes = prepareFixes(b, inEditor, sourceFile, sourceLine.getStartLine(), null);
362
                        
371
                        
363
                        if (doc != null) {
372
                        if (doc != null) {
364
                            result.add(ErrorDescriptionFactory.createErrorDescription(PREFIX_FINDBUGS + b.getType(), Severity.VERIFIER, b.getMessageWithoutPrefix(), b.getBugPattern().getDetailHTML(), fixes, doc, sourceLine.getStartLine()));
373
                            result.add(ErrorDescriptionFactory.createErrorDescription(PREFIX_FINDBUGS + b.getType(), getSeverity(b),  b.getPriorityString()+":"+b.getMessageWithoutPrefix(), b.getBugPattern().getDetailHTML(), fixes, doc, sourceLine.getStartLine()));
365
                        } else {
374
                        } else {
366
                            if (lineOffsets == null) {
375
                            if (lineOffsets == null) {
367
                                lineOffsets = computeLineMap(sourceFile, FileEncodingQuery.getEncoding(sourceFile));
376
                                lineOffsets = computeLineMap(sourceFile, FileEncodingQuery.getEncoding(sourceFile));
Lines 369-375 Link Here
369
378
370
                            int edLine = 2 * (Math.min(sourceLine.getStartLine(), lineOffsets.length / 2) - 1);
379
                            int edLine = 2 * (Math.min(sourceLine.getStartLine(), lineOffsets.length / 2) - 1);
371
380
372
                            result.add(ErrorDescriptionFactory.createErrorDescription(PREFIX_FINDBUGS + b.getType(), Severity.VERIFIER, b.getMessageWithoutPrefix(), b.getBugPattern().getDetailHTML(), fixes, sourceFile, lineOffsets[edLine], lineOffsets[edLine + 1]));
381
                            result.add(ErrorDescriptionFactory.createErrorDescription(PREFIX_FINDBUGS + b.getType(), getSeverity(b),  b.getPriorityString()+":"+b.getMessageWithoutPrefix(), b.getBugPattern().getDetailHTML(), fixes, sourceFile, lineOffsets[edLine], lineOffsets[edLine + 1]));
373
                        }
382
                        }
374
                    } else {
383
                    } else {
375
                        if (js == null) {
384
                        if (js == null) {
Lines 415-421 Link Here
415
424
416
        if (span != null && span[0] != (-1)) {
425
        if (span != null && span[0] != (-1)) {
417
            LazyFixList fixes = prepareFixes(b, globalPreferences, sourceFile, -1, span);
426
            LazyFixList fixes = prepareFixes(b, globalPreferences, sourceFile, -1, span);
418
            result.add(ErrorDescriptionFactory.createErrorDescription(PREFIX_FINDBUGS + b.getType(), Severity.VERIFIER, b.getMessageWithoutPrefix(), b.getBugPattern().getDetailHTML(), fixes, sourceFile, span[0], span[1]));
427
            result.add(ErrorDescriptionFactory.createErrorDescription(PREFIX_FINDBUGS + b.getType(), getSeverity(b),  b.getPriorityString()+":"+b.getMessageWithoutPrefix(), b.getBugPattern().getDetailHTML(), fixes, sourceFile, span[0], span[1]));
428
        }
429
    }
430
431
    private static Severity getSeverity(BugInstance b) {
432
        String p = b.getPriorityAbbreviation();
433
        if ("H".equals(p)) {
434
            return Severity.ERROR;
435
        } else if ("M".equals(p)) {
436
            return Severity.WARNING;
437
        } else if ("L".equals(p)) {
438
            return Severity.HINT;
439
        } else {
440
            return Severity.VERIFIER;
419
        }
441
        }
420
    }
442
    }
421
443
(-)a/findbugs/src/org/netbeans/modules/findbugs/options/Bundle.properties (+1 lines)
Lines 5-7 Link Here
5
CustomPluginsPanel.removePlugin.text=&Remove
5
CustomPluginsPanel.removePlugin.text=&Remove
6
FindBugsPanel.customPlugins.text=Custom FindBugs &Plugins...
6
FindBugsPanel.customPlugins.text=Custom FindBugs &Plugins...
7
TP_RunInEditor=Will automaticaly run FindBugs on the currently editted file after save. Warning: the results in the editor and in the Source/Inspect may differ.
7
TP_RunInEditor=Will automaticaly run FindBugs on the currently editted file after save. Warning: the results in the editor and in the Source/Inspect may differ.
8
FindBugsPanel.jLabel2.text=Minimal warning level:
(-)a/findbugs/src/org/netbeans/modules/findbugs/options/FindBugsPanel.form (-6 / +37 lines)
Lines 18-26 Link Here
18
      <Group type="103" groupAlignment="0" attributes="0">
18
      <Group type="103" groupAlignment="0" attributes="0">
19
          <Component id="jSplitPane1" pref="538" max="32767" attributes="0"/>
19
          <Component id="jSplitPane1" pref="538" max="32767" attributes="0"/>
20
          <Group type="102" attributes="0">
20
          <Group type="102" attributes="0">
21
              <Component id="runInEditor" min="-2" max="-2" attributes="0"/>
21
              <Group type="103" groupAlignment="0" attributes="0">
22
              <EmptySpace max="32767" attributes="0"/>
22
                  <Group type="102" attributes="0">
23
              <Component id="customPlugins" min="-2" max="-2" attributes="0"/>
23
                      <Component id="runInEditor" min="-2" max="-2" attributes="0"/>
24
                      <EmptySpace max="32767" attributes="0"/>
25
                      <Component id="customPlugins" min="-2" max="-2" attributes="0"/>
26
                  </Group>
27
                  <Group type="102" alignment="0" attributes="0">
28
                      <Component id="jLabel2" min="-2" pref="165" max="-2" attributes="0"/>
29
                      <EmptySpace max="32767" attributes="0"/>
30
                      <Component id="minimalLevel" min="-2" pref="259" max="-2" attributes="0"/>
31
                  </Group>
32
              </Group>
24
              <EmptySpace max="-2" attributes="0"/>
33
              <EmptySpace max="-2" attributes="0"/>
25
          </Group>
34
          </Group>
26
      </Group>
35
      </Group>
Lines 32-39 Link Here
32
                  <Component id="runInEditor" alignment="3" min="-2" max="-2" attributes="0"/>
41
                  <Component id="runInEditor" alignment="3" min="-2" max="-2" attributes="0"/>
33
                  <Component id="customPlugins" alignment="3" min="-2" max="-2" attributes="0"/>
42
                  <Component id="customPlugins" alignment="3" min="-2" max="-2" attributes="0"/>
34
              </Group>
43
              </Group>
35
              <EmptySpace type="unrelated" max="-2" attributes="0"/>
44
              <EmptySpace max="-2" attributes="0"/>
36
              <Component id="jSplitPane1" max="32767" attributes="0"/>
45
              <Group type="103" groupAlignment="3" attributes="0">
46
                  <Component id="minimalLevel" alignment="3" min="-2" max="-2" attributes="0"/>
47
                  <Component id="jLabel2" alignment="3" min="-2" max="-2" attributes="0"/>
48
              </Group>
49
              <EmptySpace max="-2" attributes="0"/>
50
              <Component id="jSplitPane1" pref="374" max="32767" attributes="0"/>
37
          </Group>
51
          </Group>
38
      </Group>
52
      </Group>
39
    </DimensionLayout>
53
    </DimensionLayout>
Lines 87-93 Link Here
87
            <DimensionLayout dim="1">
101
            <DimensionLayout dim="1">
88
              <Group type="103" groupAlignment="0" attributes="0">
102
              <Group type="103" groupAlignment="0" attributes="0">
89
                  <Group type="102" alignment="1" attributes="0">
103
                  <Group type="102" alignment="1" attributes="0">
90
                      <EmptySpace min="0" pref="147" max="32767" attributes="0"/>
104
                      <EmptySpace min="0" pref="137" max="32767" attributes="0"/>
91
                      <Component id="jLabel1" min="-2" max="-2" attributes="0"/>
105
                      <Component id="jLabel1" min="-2" max="-2" attributes="0"/>
92
                      <EmptySpace max="-2" attributes="0"/>
106
                      <EmptySpace max="-2" attributes="0"/>
93
                      <Component id="jScrollPane2" min="-2" pref="213" max="-2" attributes="0"/>
107
                      <Component id="jScrollPane2" min="-2" pref="213" max="-2" attributes="0"/>
Lines 150-154 Link Here
150
        <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="customPluginsActionPerformed"/>
164
        <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="customPluginsActionPerformed"/>
151
      </Events>
165
      </Events>
152
    </Component>
166
    </Component>
167
    <Component class="javax.swing.JComboBox" name="minimalLevel">
168
      <Properties>
169
        <Property name="model" type="javax.swing.ComboBoxModel" editor="org.netbeans.modules.form.editors2.ComboBoxModelEditor">
170
          <StringArray count="0"/>
171
        </Property>
172
      </Properties>
173
    </Component>
174
    <Component class="javax.swing.JLabel" name="jLabel2">
175
      <Properties>
176
        <Property name="labelFor" type="java.awt.Component" editor="org.netbeans.modules.form.ComponentChooserEditor">
177
          <ComponentRef name="minimalLevel"/>
178
        </Property>
179
        <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
180
          <ResourceString bundle="org/netbeans/modules/findbugs/options/Bundle.properties" key="FindBugsPanel.jLabel2.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
181
        </Property>
182
      </Properties>
183
    </Component>
153
  </SubComponents>
184
  </SubComponents>
154
</Form>
185
</Form>
(-)a/findbugs/src/org/netbeans/modules/findbugs/options/FindBugsPanel.java (-6 / +36 lines)
Lines 114-119 Link Here
114
    private final FindBugsOptionsPanelController controller;
114
    private final FindBugsOptionsPanelController controller;
115
    private final OptionsFilter filter;
115
    private final OptionsFilter filter;
116
    private final CustomizerContext<?, ?> cc;
116
    private final CustomizerContext<?, ?> cc;
117
    public static final String MINIMAL_LEVEL_PROPERTY = "minimalLevel"; //NOI18N
118
    public static final String HIGH_LEVEL = "High";
119
    public static final String MEDIUM_LEVEL = "Medium";
120
    public static final String LOW_LEVEL = "Low";
117
121
118
    @Messages("LBL_Loading=Loading...")
122
    @Messages("LBL_Loading=Loading...")
119
    public FindBugsPanel(@NullAllowed FindBugsOptionsPanelController controller, final @NullAllowed OptionsFilter filter, final @NullAllowed CustomizerContext<?, ?> cc) {
123
    public FindBugsPanel(@NullAllowed FindBugsOptionsPanelController controller, final @NullAllowed OptionsFilter filter, final @NullAllowed CustomizerContext<?, ?> cc) {
Lines 122-127 Link Here
122
        this.filter = filter;
126
        this.filter = filter;
123
        this.cc = cc;
127
        this.cc = cc;
124
        initComponents();
128
        initComponents();
129
        minimalLevel.addItem(HIGH_LEVEL);
130
        minimalLevel.addItem(MEDIUM_LEVEL);
131
        minimalLevel.addItem(LOW_LEVEL);
125
        // prevent from jumping
132
        // prevent from jumping
126
        setPreferredSize(getPreferredSize());
133
        setPreferredSize(getPreferredSize());
127
        reinitialize();
134
        reinitialize();
Lines 165-170 Link Here
165
        }
172
        }
166
        
173
        
167
        initComponents();
174
        initComponents();
175
        minimalLevel.addItem(HIGH_LEVEL);
176
        minimalLevel.addItem(MEDIUM_LEVEL);
177
        minimalLevel.addItem(LOW_LEVEL);
168
        
178
        
169
        this.treeModel = new DefaultTreeModel(rootNode);
179
        this.treeModel = new DefaultTreeModel(rootNode);
170
        if (filter != null) {
180
        if (filter != null) {
Lines 327-332 Link Here
327
        jLabel1 = new javax.swing.JLabel();
337
        jLabel1 = new javax.swing.JLabel();
328
        runInEditor = new javax.swing.JCheckBox();
338
        runInEditor = new javax.swing.JCheckBox();
329
        customPlugins = new javax.swing.JButton();
339
        customPlugins = new javax.swing.JButton();
340
        minimalLevel = new javax.swing.JComboBox();
341
        jLabel2 = new javax.swing.JLabel();
330
342
331
        jSplitPane1.setDividerLocation(250);
343
        jSplitPane1.setDividerLocation(250);
332
344
Lines 361-367 Link Here
361
        jPanel1Layout.setVerticalGroup(
373
        jPanel1Layout.setVerticalGroup(
362
            jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
374
            jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
363
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel1Layout.createSequentialGroup()
375
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel1Layout.createSequentialGroup()
364
                .addGap(0, 147, Short.MAX_VALUE)
376
                .addGap(0, 137, Short.MAX_VALUE)
365
                .addComponent(jLabel1)
377
                .addComponent(jLabel1)
366
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
378
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
367
                .addComponent(jScrollPane2, javax.swing.GroupLayout.PREFERRED_SIZE, 213, javax.swing.GroupLayout.PREFERRED_SIZE))
379
                .addComponent(jScrollPane2, javax.swing.GroupLayout.PREFERRED_SIZE, 213, javax.swing.GroupLayout.PREFERRED_SIZE))
Lines 379-393 Link Here
379
            }
391
            }
380
        });
392
        });
381
393
394
        jLabel2.setLabelFor(minimalLevel);
395
        org.openide.awt.Mnemonics.setLocalizedText(jLabel2, org.openide.util.NbBundle.getMessage(FindBugsPanel.class, "FindBugsPanel.jLabel2.text")); // NOI18N
396
382
        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);
397
        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);
383
        this.setLayout(layout);
398
        this.setLayout(layout);
384
        layout.setHorizontalGroup(
399
        layout.setHorizontalGroup(
385
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
400
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
386
            .addComponent(jSplitPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 538, Short.MAX_VALUE)
401
            .addComponent(jSplitPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 538, Short.MAX_VALUE)
387
            .addGroup(layout.createSequentialGroup()
402
            .addGroup(layout.createSequentialGroup()
388
                .addComponent(runInEditor)
403
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
389
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
404
                    .addGroup(layout.createSequentialGroup()
390
                .addComponent(customPlugins)
405
                        .addComponent(runInEditor)
406
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
407
                        .addComponent(customPlugins))
408
                    .addGroup(layout.createSequentialGroup()
409
                        .addComponent(jLabel2, javax.swing.GroupLayout.PREFERRED_SIZE, 165, javax.swing.GroupLayout.PREFERRED_SIZE)
410
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
411
                        .addComponent(minimalLevel, javax.swing.GroupLayout.PREFERRED_SIZE, 259, javax.swing.GroupLayout.PREFERRED_SIZE)))
391
                .addContainerGap())
412
                .addContainerGap())
392
        );
413
        );
393
        layout.setVerticalGroup(
414
        layout.setVerticalGroup(
Lines 396-403 Link Here
396
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
417
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
397
                    .addComponent(runInEditor)
418
                    .addComponent(runInEditor)
398
                    .addComponent(customPlugins))
419
                    .addComponent(customPlugins))
399
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
420
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
400
                .addComponent(jSplitPane1))
421
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
422
                    .addComponent(minimalLevel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
423
                    .addComponent(jLabel2))
424
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
425
                .addComponent(jSplitPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 374, Short.MAX_VALUE))
401
        );
426
        );
402
    }// </editor-fold>//GEN-END:initComponents
427
    }// </editor-fold>//GEN-END:initComponents
403
428
Lines 428-433 Link Here
428
            return;
453
            return;
429
        }
454
        }
430
        this.runInEditor.setSelected(NbPreferences.forModule(FindBugsPanel.class).getBoolean(RunInEditor.RUN_IN_EDITOR, RunInEditor.RUN_IN_EDITOR_DEFAULT));
455
        this.runInEditor.setSelected(NbPreferences.forModule(FindBugsPanel.class).getBoolean(RunInEditor.RUN_IN_EDITOR, RunInEditor.RUN_IN_EDITOR_DEFAULT));
456
        String level = NbPreferences.forModule(FindBugsPanel.class).get(MINIMAL_LEVEL_PROPERTY, LOW_LEVEL);
457
        minimalLevel.setSelectedItem(level);
431
    }
458
    }
432
459
433
    void store() {
460
    void store() {
Lines 436-441 Link Here
436
            return;
463
            return;
437
        }
464
        }
438
        ((ModifiedPreferences) this.settings).store(NbPreferences.forModule(FindBugsPanel.class).node("global-settings"));
465
        ((ModifiedPreferences) this.settings).store(NbPreferences.forModule(FindBugsPanel.class).node("global-settings"));
466
        NbPreferences.forModule(FindBugsPanel.class).put(MINIMAL_LEVEL_PROPERTY, minimalLevel.getSelectedItem().toString());
439
        NbPreferences.forModule(RunInEditor.class).putBoolean(RunInEditor.RUN_IN_EDITOR, this.runInEditor.isSelected());
467
        NbPreferences.forModule(RunInEditor.class).putBoolean(RunInEditor.RUN_IN_EDITOR, this.runInEditor.isSelected());
440
        if (modifiedPluginsList != null) DetectorCollectionProvider.setCustomPlugins(modifiedPluginsList);
468
        if (modifiedPluginsList != null) DetectorCollectionProvider.setCustomPlugins(modifiedPluginsList);
441
    }
469
    }
Lines 537-546 Link Here
537
    private javax.swing.JButton customPlugins;
565
    private javax.swing.JButton customPlugins;
538
    private javax.swing.JTextPane description;
566
    private javax.swing.JTextPane description;
539
    private javax.swing.JLabel jLabel1;
567
    private javax.swing.JLabel jLabel1;
568
    private javax.swing.JLabel jLabel2;
540
    private javax.swing.JPanel jPanel1;
569
    private javax.swing.JPanel jPanel1;
541
    private javax.swing.JScrollPane jScrollPane1;
570
    private javax.swing.JScrollPane jScrollPane1;
542
    private javax.swing.JScrollPane jScrollPane2;
571
    private javax.swing.JScrollPane jScrollPane2;
543
    private javax.swing.JSplitPane jSplitPane1;
572
    private javax.swing.JSplitPane jSplitPane1;
573
    private javax.swing.JComboBox minimalLevel;
544
    private javax.swing.JCheckBox runInEditor;
574
    private javax.swing.JCheckBox runInEditor;
545
    // End of variables declaration//GEN-END:variables
575
    // End of variables declaration//GEN-END:variables
546
576

Return to bug 251965