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

public Class PushToTeXworks

extends AbstractPushToApplication
Class Inheritance
Imports
java.nio.file.Path, org.jabref.logic.util.NotificationService

Field Summary

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

Constructor Summary

AccessConstructor and Description
public
PushToTeXworks(NotificationService
The dialog service for displaying messages to the user.
notificationService
,
PushToApplicationPreferences
The service for accessing user preferences.
preferences
)

Constructs a new PushToTeXworks instance.

Method Summary

Modifier and TypeMethod and Description
public String[]
getCommandLine(String keyString)

Overrides org.jabref.logic.push.AbstractPushToApplication.getCommandLine.

Constructs the command line arguments for pushing citations to the application.

public String
getDisplayName()

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

Gets the display name for the push operation.

protected String[]
Inherited from org.jabref.logic.push.AbstractPushToApplication:
getCitePrefixgetCiteSuffixgetCommandNamegetDelimitergetKeyStringjumpToLineonOperationCompletedpushEntriespushEntriesrequiresCitationKeyssendErrorNotificationsendErrorNotification

Field Detail

APPLICATIONback to summary
public static final PushApplications APPLICATION

Constructor Detail

PushToTeXworksback to summary
public PushToTeXworks(NotificationService notificationService, PushToApplicationPreferences preferences)

Constructs a new PushToTeXworks instance.

Parameters
notificationService:NotificationService

The dialog service for displaying messages to the user.

preferences:PushToApplicationPreferences

The service for accessing user preferences.

Method Detail

getCommandLineback to summary
public String[] getCommandLine(String keyString)

Overrides org.jabref.logic.push.AbstractPushToApplication.getCommandLine.

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

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.

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