Show "Search on sonatype" action only if other download action not found.

This commit is contained in:
Sergey Evdokimov
2011-10-04 12:18:18 +04:00
parent 91d827eb18
commit dba3fd916e
3 changed files with 39 additions and 11 deletions
@@ -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 {
}
}