mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
OCDebugger: 'disable data renderers' option
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 514 B |
+6
-1
@@ -36,7 +36,7 @@ public class DebuggerConfigurableProvider extends ConfigurableProvider {
|
||||
providers.add(support.getSettingsPanelProvider());
|
||||
}
|
||||
|
||||
final ArrayList<Configurable> configurables = new ArrayList<Configurable>();
|
||||
List<Configurable> configurables = new ArrayList<Configurable>();
|
||||
Collections.sort(providers, new Comparator<DebuggerSettingsPanelProvider>() {
|
||||
public int compare(final DebuggerSettingsPanelProvider o1, final DebuggerSettingsPanelProvider o2) {
|
||||
return o2.getPriority() - o1.getPriority();
|
||||
@@ -60,6 +60,11 @@ public class DebuggerConfigurableProvider extends ConfigurableProvider {
|
||||
return null;
|
||||
}
|
||||
|
||||
if (rootConfigurable == null && configurables.size() == 1) {
|
||||
rootConfigurable = configurables.get(0);
|
||||
configurables = Collections.emptyList();
|
||||
}
|
||||
|
||||
return new DebuggerConfigurable(rootConfigurable, configurables);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user