mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Show "Search on sonatype" action only if other download action not found.
This commit is contained in:
@@ -32,4 +32,12 @@ public interface AttachSourcesProvider {
|
||||
String getBusyText();
|
||||
ActionCallback perform(List<LibraryOrderEntry> orderEntriesContainingFile);
|
||||
}
|
||||
|
||||
/**
|
||||
* This marker interface means what this action will be shown only if it is single action.
|
||||
*/
|
||||
interface LightAttachSourcesAction extends AttachSourcesAction {
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user