mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-17 20:11:25 +07:00
Prettify content entries configurables
- allow to create content entries editor with borders and enable border in configurables - remove redundant borders around splitter - move delete icons to 3px right - replace Insets with JBUI.insets
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2000-2014 JetBrains s.r.o.
|
||||
* Copyright 2000-2016 JetBrains s.r.o.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -35,8 +35,8 @@ public class PythonModuleConfigurationEditorProvider implements ModuleConfigurat
|
||||
if (!(ModuleType.get(module) instanceof PythonModuleType)) return ModuleConfigurationEditor.EMPTY;
|
||||
final DefaultModuleConfigurationEditorFactory editorFactory = DefaultModuleConfigurationEditorFactory.getInstance();
|
||||
final List<ModuleConfigurationEditor> editors = new ArrayList<>();
|
||||
editors.add(new PyContentEntriesEditor(module, state, JavaSourceRootType.SOURCE));
|
||||
editors.add(new PyContentEntriesEditor(module, state, false, JavaSourceRootType.SOURCE));
|
||||
editors.add(editorFactory.createClasspathEditor(state));
|
||||
return editors.toArray(new ModuleConfigurationEditor[editors.size()]);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user