-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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 #5421 from b0n541/scroll_to_imported_entry
Add change listener to main table to scroll to imported entry
- Loading branch information
Showing
6 changed files
with
91 additions
and
10 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
27 changes: 27 additions & 0 deletions
27
src/main/java/org/jabref/model/database/event/AllInsertsFinishedEvent.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,27 @@ | ||
package org.jabref.model.database.event; | ||
|
||
import org.jabref.model.database.BibDatabase; | ||
import org.jabref.model.entry.BibEntry; | ||
import org.jabref.model.entry.event.EntryEvent; | ||
import org.jabref.model.entry.event.EntryEventSource; | ||
|
||
/** | ||
* {@link AllInsertsFinishedEvent} is fired when insertion of {@link BibEntry} to the {@link BibDatabase} was finished. | ||
*/ | ||
public class AllInsertsFinishedEvent extends EntryEvent { | ||
|
||
/** | ||
* @param bibEntry the entry which has been added | ||
*/ | ||
public AllInsertsFinishedEvent(BibEntry bibEntry) { | ||
super(bibEntry); | ||
} | ||
|
||
/** | ||
* @param bibEntry <code>BibEntry</code> object which has been added. | ||
* @param location Location affected by this event | ||
*/ | ||
public AllInsertsFinishedEvent(BibEntry bibEntry, EntryEventSource location) { | ||
super(bibEntry, location); | ||
} | ||
} |
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