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.
Add a preference to add files in entry editor (JabRef#4356)
- Loading branch information
1 parent
4d89b0a
commit 90b21f5
Showing
8 changed files
with
124 additions
and
99 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
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
39 changes: 39 additions & 0 deletions
39
src/main/java/org/jabref/gui/entryeditor/FileDragDropPreferences.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,39 @@ | ||
package org.jabref.gui.entryeditor; | ||
|
||
public class FileDragDropPreferences { | ||
|
||
private boolean copyFile; | ||
private boolean linkFile; | ||
private boolean renameCopyFile; | ||
|
||
public FileDragDropPreferences(boolean copyFile, boolean linkFile, boolean renameCopyFile) { | ||
this.copyFile = copyFile; | ||
this.linkFile = linkFile; | ||
this.renameCopyFile = renameCopyFile; | ||
} | ||
|
||
public boolean isCopyFile() { | ||
return copyFile; | ||
} | ||
|
||
public boolean isLinkFile() { | ||
return linkFile; | ||
} | ||
|
||
public boolean isRenameCopyFile() { | ||
return renameCopyFile; | ||
} | ||
|
||
public void setCopyFile(boolean copyFile) { | ||
this.copyFile = copyFile; | ||
} | ||
|
||
public void setLinkFile(boolean linkFile) { | ||
this.linkFile = linkFile; | ||
} | ||
|
||
public void setRenameCopyFile(boolean renameCopyFile) { | ||
this.renameCopyFile = renameCopyFile; | ||
} | ||
|
||
} |
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