forked from JabRef/jabref
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from JabRef/master
update
- Loading branch information
Showing
52 changed files
with
2,212 additions
and
1,401 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -200,3 +200,5 @@ Gennadiy Stakhovskiy <[email protected]> | |
Mootez Saad <[email protected]> | ||
Mootez Saad <[email protected]> <[email protected]> | ||
Chen Yuheng <[email protected]> | ||
Dominik Voigt <[email protected]> | ||
Carl Christian Snethlage <[email protected]> <[email protected]> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
30 changes: 30 additions & 0 deletions
30
src/main/java/org/jabref/gui/maintable/MainTableNameFormatPreferences.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
package org.jabref.gui.maintable; | ||
|
||
public class MainTableNameFormatPreferences { | ||
|
||
public enum DisplayStyle { | ||
NATBIB, AS_IS, FIRSTNAME_LASTNAME, LASTNAME_FIRSTNAME | ||
} | ||
|
||
public enum AbbreviationStyle { | ||
NONE, LASTNAME_ONLY, FULL | ||
} | ||
|
||
private final DisplayStyle displayStyle; | ||
private final AbbreviationStyle abbreviationStyle; | ||
|
||
public MainTableNameFormatPreferences(DisplayStyle displayStyle, | ||
AbbreviationStyle abbreviationStyle) { | ||
|
||
this.displayStyle = displayStyle; | ||
this.abbreviationStyle = abbreviationStyle; | ||
} | ||
|
||
public DisplayStyle getDisplayStyle() { | ||
return displayStyle; | ||
} | ||
|
||
public AbbreviationStyle getAbbreviationStyle() { | ||
return abbreviationStyle; | ||
} | ||
} |
Oops, something went wrong.