| Modifier and Type | Field and Description |
|---|---|
| private final JournalAbbreviationRepository | |
| private final ClipBoardManager | |
| private final DialogService | |
| private static final Logger | |
| private final CitationStyleOutputFormat | |
| private final PreferencesService | |
| private final List | |
| private final StateManager | |
| private final TaskExecutor |
| Access | Constructor and Description |
|---|---|
| public | CopyCitationAction(CitationStyleOutputFormat outputFormat, DialogService dialogService, StateManager stateManager, ClipBoardManager clipBoardManager, TaskExecutor taskExecutor, PreferencesService preferencesService, JournalAbbreviationRepository abbreviationRepository)
|
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| private List | |
| private List | |
| protected static ClipboardContent | processHtml(List<String> citations)
Inserts each citation into a HTML body and copies it to the clipboard |
| protected static ClipboardContent | processPreview(List<String> citations)
Generates a plain text string out of the preview and copies it additionally to the html to the clipboard (WYSIWYG Editors use the HTML, plain text editors the text) |
| protected static ClipboardContent | |
| private void |
| abbreviationRepository | back to summary |
|---|---|
| private final JournalAbbreviationRepository abbreviationRepository | |
| clipBoardManager | back to summary |
|---|---|
| private final ClipBoardManager clipBoardManager | |
| dialogService | back to summary |
|---|---|
| private final DialogService dialogService | |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| outputFormat | back to summary |
|---|---|
| private final CitationStyleOutputFormat outputFormat | |
| preferencesService | back to summary |
|---|---|
| private final PreferencesService preferencesService | |
| selectedEntries | back to summary |
|---|---|
| private final List<BibEntry> selectedEntries | |
| stateManager | back to summary |
|---|---|
| private final StateManager stateManager | |
| taskExecutor | back to summary |
|---|---|
| private final TaskExecutor taskExecutor | |
| CopyCitationAction | back to summary |
|---|---|
| public CopyCitationAction(CitationStyleOutputFormat outputFormat, DialogService dialogService, StateManager stateManager, ClipBoardManager clipBoardManager, TaskExecutor taskExecutor, PreferencesService preferencesService, JournalAbbreviationRepository abbreviationRepository) | |
| execute | back to summary |
|---|---|
public void execute()
| |
| generateCitations | back to summary |
|---|---|
| private List | |
| generateTextBasedPreviewLayoutCitations | back to summary |
|---|---|
| private List | |
| processHtml | back to summary |
|---|---|
| protected static ClipboardContent processHtml(List<String> citations) Inserts each citation into a HTML body and copies it to the clipboard | |
| processPreview | back to summary |
|---|---|
| protected static ClipboardContent processPreview(List<String> citations) Generates a plain text string out of the preview and copies it additionally to the html to the clipboard (WYSIWYG Editors use the HTML, plain text editors the text) | |
| processText | back to summary |
|---|---|
| protected static ClipboardContent processText(List<String> citations) Joins every citation with a newline and returns it. | |
| setClipBoardContent | back to summary |
|---|---|
| private void setClipBoardContent(List<String> citations) | |