| Modifier and Type | Field and Description |
|---|---|
| protected String | |
| protected boolean | |
| protected boolean | |
| private static final Logger | |
| protected boolean | |
| protected final NotificationService | |
| protected final PushToApplicationPreferences |
| Access | Constructor and Description |
|---|---|
| public | AbstractPushToApplication(NotificationService notificationService, PushToApplicationPreferences preferences)
|
| Modifier and Type | Method and Description |
|---|---|
| protected String | |
| protected String | |
| protected String[] | Returns: String array with the command to call and its argumentsString containing the Bibtex keys to be pushed to the application keyString)Constructs the command line arguments for pushing citations to the application. |
| public String | Returns: String with the command nameFunction to get the command name in case it is different from the application name |
| public String | getDelimiter()
Implements org. Get the delimiter used to separate citation keys. |
| protected String | |
| public void | jumpToLine(Path fileName, int line, int column)
Implements org.
|
| protected String[] | |
| public void | onOperationCompleted()
Implements org. Reporting etc., this method is called on the event dispatch thread after pushEntries() returns. |
| public void | pushEntries(List<BibEntry> entries)
Implements org. The actual operation. |
| public void | |
| public boolean | requiresCitationKeys()
Implements org. Check whether this operation requires citation keys to be set for the entries. |
| public void | sendErrorNotification(String message)
Implements org. Used to route to either the GUI or the CLI - dependent on the usage |
| public void | sendErrorNotification(String title, String message)
Implements org. Used to route to either the GUI or the CLI - dependent on the usage |
| commandPath | back to summary |
|---|---|
| protected String commandPath | |
| couldNotCall | back to summary |
|---|---|
| protected boolean couldNotCall | |
| couldNotPush | back to summary |
|---|---|
| protected boolean couldNotPush | |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| notDefined | back to summary |
|---|---|
| protected boolean notDefined | |
| notificationService | back to summary |
|---|---|
| protected final NotificationService notificationService | |
| preferences | back to summary |
|---|---|
| protected final PushToApplicationPreferences preferences | |
| AbstractPushToApplication | back to summary |
|---|---|
| public AbstractPushToApplication(NotificationService notificationService, PushToApplicationPreferences preferences) | |
| getCitePrefix | back to summary |
|---|---|
| protected String getCitePrefix() | |
| getCiteSuffix | back to summary |
|---|---|
| protected String getCiteSuffix() | |
| getCommandLine | back to summary |
|---|---|
| protected String[] getCommandLine(String keyString) Constructs the command line arguments for pushing citations to the application. The method formats the citation key and prefixes/suffixes as per user preferences before invoking the application with the command to insert text.
| |
| getCommandName | back to summary |
|---|---|
| public String getCommandName() Function to get the command name in case it is different from the application name
| |
| getDelimiter | back to summary |
|---|---|
| public String getDelimiter() Implements org. Doc from org. Get the delimiter used to separate citation keys. | |
| getKeyString | back to summary |
|---|---|
| protected String getKeyString(List<BibEntry> entries, @NonNull String delimiter) | |
| jumpToLine | back to summary |
|---|---|
| public void jumpToLine(Path fileName, int line, int column) Implements org. | |
| jumpToLineCommandlineArguments | back to summary |
|---|---|
| protected String[] jumpToLineCommandlineArguments(Path fileName, int line, int column) | |
| onOperationCompleted | back to summary |
|---|---|
| public void onOperationCompleted() Implements org. Doc from org. Reporting etc., this method is called on the event dispatch thread after pushEntries() returns.
| |
| pushEntries | back to summary |
|---|---|
| public void pushEntries(List<BibEntry> entries) Implements org. Doc from org. The actual operation. This method will not be called on the event dispatch thread, so it should not do GUI operations without utilizing invokeLater(). | |
| pushEntries | back to summary |
|---|---|
public void pushEntries(List<BibEntry> entries, ProcessBuilder processBuilder)
| |
| requiresCitationKeys | back to summary |
|---|---|
| public boolean requiresCitationKeys() Implements org. Doc from org. Check whether this operation requires citation keys to be set for the entries. If true is returned an error message will be displayed if keys are missing.
| |
| sendErrorNotification | back to summary |
|---|---|
| public void sendErrorNotification(String message) Implements org. Doc from org. Used to route to either the GUI or the CLI - dependent on the usage
| |
| sendErrorNotification | back to summary |
|---|---|
| public void sendErrorNotification(String title, String message) Implements org. Doc from org. Used to route to either the GUI or the CLI - dependent on the usage
| |