Verified Owner
Top Fields Constructors Methods
org.jabref.logic.push

public Class PushToEmacs

extends AbstractPushToApplication
Class Inheritance
Imports
java.io.IOException, .InputStream, java.nio.file.Path, java.util.Arrays, .List, org.jabref.logic.l10n.Localization, org.jabref.logic.os.OS, org.jabref.logic.util.HeadlessExecutorService, .NotificationService, org.jabref.logic.util.strings.StringUtil, org.jabref.model.entry.BibEntry, org.slf4j.Logger, .LoggerFactory

Field Summary

Modifier and TypeField and Description
public static final PushApplications
private static final Logger
Inherited from org.jabref.logic.push.AbstractPushToApplication:
commandPathcouldNotCallcouldNotPushnotDefinednotificationServicepreferences

Constructor Summary

AccessConstructor and Description
public
PushToEmacs(NotificationService notificationService, PushToApplicationPreferences
getPushToApplicationPreferences(), getExternalApplicationsPreferences(), and getFilePreferences() are used
preferences
)

Method Summary

Modifier and TypeMethod and Description
public String
getCommandName()

Overrides org.jabref.logic.push.AbstractPushToApplication.getCommandName.

Function to get the command name in case it is different from the application name

public String
getDisplayName()

Implements org.jabref.logic.push.PushToApplication.getDisplayName.

Gets the display name for the push operation.

protected String[]
public void
onOperationCompleted()

Overrides org.jabref.logic.push.AbstractPushToApplication.onOperationCompleted.

Implements org.jabref.logic.push.PushToApplication.onOperationCompleted.

Reporting etc., this method is called on the event dispatch thread after pushEntries() returns.

public void
Inherited from org.jabref.logic.push.AbstractPushToApplication:
getCitePrefixgetCiteSuffixgetCommandLinegetDelimitergetKeyStringjumpToLinepushEntriesrequiresCitationKeyssendErrorNotificationsendErrorNotification

Field Detail

APPLICATIONback to summary
public static final PushApplications APPLICATION
LOGGERback to summary
private static final Logger LOGGER

Hides org.jabref.logic.push.AbstractPushToApplication.LOGGER.

Constructor Detail

PushToEmacsback to summary
public PushToEmacs(NotificationService notificationService, PushToApplicationPreferences preferences)
Parameters
preferences:PushToApplicationPreferences

getPushToApplicationPreferences(), getExternalApplicationsPreferences(), and getFilePreferences() are used

Method Detail

getCommandNameback to summary
public String getCommandName()

Overrides org.jabref.logic.push.AbstractPushToApplication.getCommandName.

Doc from org.jabref.logic.push.AbstractPushToApplication.getCommandName.

Function to get the command name in case it is different from the application name

Annotations
@Override
getDisplayNameback to summary
public String getDisplayName()

Implements org.jabref.logic.push.PushToApplication.getDisplayName.

Doc from org.jabref.logic.push.PushToApplication.getDisplayName.

Gets the display name for the push operation. This name is used in the GUI to represent the push action to the user.

Annotations
@Override
jumpToLineCommandlineArgumentsback to summary
protected String[] jumpToLineCommandlineArguments(Path fileName, int line, int column)

Overrides org.jabref.logic.push.AbstractPushToApplication.jumpToLineCommandlineArguments.

Annotations
@Override
onOperationCompletedback to summary
public void onOperationCompleted()

Overrides org.jabref.logic.push.AbstractPushToApplication.onOperationCompleted.

Implements org.jabref.logic.push.PushToApplication.onOperationCompleted.

Doc from org.jabref.logic.push.PushToApplication.onOperationCompleted.

Reporting etc., this method is called on the event dispatch thread after pushEntries() returns.

Annotations
@Override
pushEntriesback to summary
public void pushEntries(List<BibEntry> entries)

Overrides org.jabref.logic.push.AbstractPushToApplication.pushEntries.

Implements org.jabref.logic.push.PushToApplication.pushEntries.

Doc from org.jabref.logic.push.PushToApplication.pushEntries.

The actual operation. This method will not be called on the event dispatch thread, so it should not do GUI operations without utilizing invokeLater().

Annotations
@Override