mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
library editor: updated icon for 'add to excluded' button and tooltips
This commit is contained in:
+3
-3
@@ -156,7 +156,7 @@ public class LibraryRootsComponent implements Disposable, LibraryEditorComponent
|
||||
myTreePanel.setLayout(new BorderLayout());
|
||||
|
||||
ToolbarDecorator toolbarDecorator = ToolbarDecorator.createDecorator(myTree).disableUpDownActions()
|
||||
.setRemoveActionName(ProjectBundle.message("library.detach.action"))
|
||||
.setRemoveActionName(ProjectBundle.message("library.remove.action"))
|
||||
.setRemoveAction(new AnActionButtonRunnable() {
|
||||
@Override
|
||||
public void run(AnActionButton button) {
|
||||
@@ -511,13 +511,13 @@ public class LibraryRootsComponent implements Disposable, LibraryEditorComponent
|
||||
|
||||
private class AddExcludedRootActionButton extends AnActionButton {
|
||||
public AddExcludedRootActionButton() {
|
||||
super("Add Excluded", null, AllIcons.Modules.ExcludeRoot);
|
||||
super("Exclude", null, AllIcons.Modules.AddExcludedRoot);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void actionPerformed(AnActionEvent e) {
|
||||
FileChooserDescriptor descriptor = FileChooserDescriptorFactory.createMultipleJavaPathDescriptor();
|
||||
descriptor.setTitle("Add Excluded Roots");
|
||||
descriptor.setTitle("Exclude from Library");
|
||||
descriptor.setDescription("Select directories which should be excluded from the library content. Content of excluded directories won't be processed by IDE.");
|
||||
Set<VirtualFile> roots = getNotExcludedRoots();
|
||||
descriptor.setRoots(roots.toArray(new VirtualFile[roots.size()]));
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 475 B |
Binary file not shown.
|
After Width: | Height: | Size: 992 B |
Binary file not shown.
|
After Width: | Height: | Size: 985 B |
Binary file not shown.
|
After Width: | Height: | Size: 464 B |
@@ -188,7 +188,7 @@ library.configure.title=Configure Library
|
||||
library.configure.module.title=Configure Module Library
|
||||
library.configure.project.title=Configure Project Libraries
|
||||
library.configure.global.title=Configure Global Libraries
|
||||
library.detach.action=Detach
|
||||
library.remove.action=Remove
|
||||
library.root.node=Root
|
||||
library.sources.node=Sources
|
||||
project.order.entry.project=<Project>
|
||||
|
||||
@@ -685,6 +685,7 @@ public class AllIcons {
|
||||
|
||||
public static class Modules {
|
||||
public static final Icon AddContentEntry = IconLoader.getIcon("/modules/addContentEntry.png"); // 16x16
|
||||
public static final Icon AddExcludedRoot = IconLoader.getIcon("/modules/addExcludedRoot.png"); // 16x16
|
||||
public static final Icon Annotation = IconLoader.getIcon("/modules/annotation.png"); // 16x16
|
||||
public static final Icon DeleteContentFolder = IconLoader.getIcon("/modules/deleteContentFolder.png"); // 9x9
|
||||
public static final Icon DeleteContentFolderRollover = IconLoader.getIcon("/modules/deleteContentFolderRollover.png"); // 9x9
|
||||
|
||||
Reference in New Issue
Block a user