mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
customize 'Add files or directories' button for Flex libraries
This commit is contained in:
+1
-1
@@ -186,7 +186,7 @@ public class LibraryRootsComponent implements Disposable, LibraryEditorComponent
|
||||
|
||||
private AnAction[] getActions() {
|
||||
List<AnAction> actions = new ArrayList<AnAction>();
|
||||
actions.add(new AttachFilesAction(ProjectBundle.message("button.text.attach.files")));
|
||||
actions.add(new AttachFilesAction(myDescriptor.getAttachFilesActionName()));
|
||||
for (AttachRootButtonDescriptor descriptor : myDescriptor.createAttachButtons()) {
|
||||
actions.add(new AttachItemAction(descriptor, descriptor.getButtonText()));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user