Top Fields Constructors Methods
org.jabref.gui.push

public Class PushToEmacs

extends AbstractPushToApplication
Class Inheritance
Imports
java.io.IOException, .InputStream, java.util.Arrays, .List, org.jabref.gui.DialogService, org.jabref.gui.icon.IconTheme, .JabRefIcon, org.jabref.logic.l10n.Localization, org.jabref.logic.util.HeadlessExecutorService, .OS, org.jabref.model.database.BibDatabaseContext, org.jabref.model.entry.BibEntry, org.jabref.preferences.PreferencesService, .PushToApplicationPreferences, org.slf4j.Logger, .LoggerFactory

Field Summary

Modifier and TypeField and Description
private static final Logger
public static final String
Inherited from org.jabref.gui.push.AbstractPushToApplication:
commandPathcouldNotCallcouldNotPushdialogServicenotDefinedpreferencesService

Constructor Summary

AccessConstructor and Description
public
PushToEmacs(DialogService dialogService, PreferencesService
getPushToApplicationPreferences(), getExternalApplicationsPreferences(), and getFilePreferences() are used
preferencesService
)

Method Summary

Modifier and TypeMethod and Description
public JabRefIcon
protected String
getCommandName()

Overrides org.jabref.gui.push.AbstractPushToApplication.getCommandName.

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

public String
getDisplayName()

Implements org.jabref.gui.push.PushToApplication.getDisplayName.

Gets the display name for the push operation.

public PushToApplicationSettings
public void
onOperationCompleted()

Overrides org.jabref.gui.push.AbstractPushToApplication.onOperationCompleted.

Implements org.jabref.gui.push.PushToApplication.onOperationCompleted.

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

public void
Inherited from org.jabref.gui.push.AbstractPushToApplication:
getActiongetCitePrefixgetCiteSuffixgetCommandLinegetDelimitergetTooltippushEntriesrequiresCitationKeys

Field Detail

LOGGERback to summary
private static final Logger LOGGER

Hides org.jabref.gui.push.AbstractPushToApplication.LOGGER.

NAMEback to summary
public static final String NAME

Constructor Detail

PushToEmacsback to summary
public PushToEmacs(DialogService dialogService, PreferencesService preferencesService)
Parameters
preferencesService:PreferencesService

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

Method Detail

getApplicationIconback to summary
public JabRefIcon getApplicationIcon()

Overrides org.jabref.gui.push.AbstractPushToApplication.getApplicationIcon.

Implements org.jabref.gui.push.PushToApplication.getApplicationIcon.

Doc from org.jabref.gui.push.PushToApplication.getApplicationIcon.

Gets the icon associated with the application.

Returns:JabRefIcon

The icon for the application.

Annotations
@Override
getCommandNameback to summary
protected String getCommandName()

Overrides org.jabref.gui.push.AbstractPushToApplication.getCommandName.

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

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

Returns:String

String with the command name

Annotations
@Override
getDisplayNameback to summary
public String getDisplayName()

Implements org.jabref.gui.push.PushToApplication.getDisplayName.

Doc from org.jabref.gui.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.

Returns:String

The display name for the push operation.

Annotations
@Override
getSettingsback to summary
public PushToApplicationSettings getSettings(PushToApplication application, PushToApplicationPreferences preferences)

Overrides org.jabref.gui.push.AbstractPushToApplication.getSettings.

Implements org.jabref.gui.push.PushToApplication.getSettings.

Annotations
@Override
onOperationCompletedback to summary
public void onOperationCompleted()

Overrides org.jabref.gui.push.AbstractPushToApplication.onOperationCompleted.

Implements org.jabref.gui.push.PushToApplication.onOperationCompleted.

Doc from org.jabref.gui.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(BibDatabaseContext database, List<BibEntry> entries, String keys)

Overrides org.jabref.gui.push.AbstractPushToApplication.pushEntries.

Implements org.jabref.gui.push.PushToApplication.pushEntries.

Doc from org.jabref.gui.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