| Modifier and Type | Field and Description |
|---|---|
| private final BibDatabaseContext | |
| private final DialogService | |
| private final ListProperty | |
| private final BooleanProperty | |
| private static final Logger | |
| private final PreferencesService | |
| private final TaskExecutor |
| Access | Constructor and Description |
|---|---|
| public | LinkedFilesEditorViewModel(Field field, SuggestionProvider<?> suggestionProvider, DialogService dialogService, BibDatabaseContext databaseContext, TaskExecutor taskExecutor, FieldCheckers fieldCheckers, PreferencesService preferences, UndoManager undoManager)
|
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| private void | |
| public void | |
| private void | |
| public void | |
| public void | |
| public boolean | |
| public void | |
| public ListProperty | |
| private List | findAssociatedNotLinkedFiles(BibEntry entry)
Find files that are probably associated to the given entry but not yet linked. |
| public static LinkedFile | fromFile(Path file, List<Path> fileDirectories, FilePreferences filePreferences)
Creates an instance of |
| public LinkedFileViewModel | |
| public ReadOnlyBooleanProperty | |
| public ObservableList | |
| private static String | |
| private List | |
| public void |
| databaseContext | back to summary |
|---|---|
| private final BibDatabaseContext databaseContext | |
| dialogService | back to summary |
|---|---|
| private final DialogService dialogService | |
| files | back to summary |
|---|---|
| private final ListProperty<LinkedFileViewModel> files | |
| fulltextLookupInProgress | back to summary |
|---|---|
| private final BooleanProperty fulltextLookupInProgress | |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| preferences | back to summary |
|---|---|
| private final PreferencesService preferences | |
| taskExecutor | back to summary |
|---|---|
| private final TaskExecutor taskExecutor | |
| LinkedFilesEditorViewModel | back to summary |
|---|---|
| public LinkedFilesEditorViewModel(Field field, SuggestionProvider<?> suggestionProvider, DialogService dialogService, BibDatabaseContext databaseContext, TaskExecutor taskExecutor, FieldCheckers fieldCheckers, PreferencesService preferences, UndoManager undoManager) | |
| addFromURL | back to summary |
|---|---|
| public void addFromURL() | |
| addFromURLAndDownload | back to summary |
|---|---|
| private void addFromURLAndDownload(URL url) | |
| addNewFile | back to summary |
|---|---|
| public void addNewFile() | |
| addNewLinkedFile | back to summary |
|---|---|
| private void addNewLinkedFile(Path correctPath, List<Path> fileDirectories) | |
| bindToEntry | back to summary |
|---|---|
| public void bindToEntry(BibEntry entry) Overrides org.
| |
| deleteFile | back to summary |
|---|---|
| public void deleteFile(LinkedFileViewModel file) | |
| downloadFile | back to summary |
|---|---|
| public boolean downloadFile(String urlText) | |
| fetchFulltext | back to summary |
|---|---|
| public void fetchFulltext() | |
| filesProperty | back to summary |
|---|---|
| public ListProperty | |
| findAssociatedNotLinkedFiles | back to summary |
|---|---|
| private List Find files that are probably associated to the given entry but not yet linked. | |
| fromFile | back to summary |
|---|---|
| public static LinkedFile fromFile(Path file, List<Path> fileDirectories, FilePreferences filePreferences) Creates an instance of Todo Move this method to | |
| fromFile | back to summary |
|---|---|
| public LinkedFileViewModel fromFile(Path file, FilePreferences filePreferences) | |
| fulltextLookupInProgressProperty | back to summary |
|---|---|
| public ReadOnlyBooleanProperty fulltextLookupInProgressProperty() | |
| getFiles | back to summary |
|---|---|
| public ObservableList | |
| getStringRepresentation | back to summary |
|---|---|
| private static String getStringRepresentation(List<LinkedFileViewModel> files) | |
| parseToFileViewModel | back to summary |
|---|---|
| private List | |
| removeFileLink | back to summary |
|---|---|
| public void removeFileLink(LinkedFileViewModel file) | |