-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Convert Strings Dialog to javafx #3735
Merged
Merged
Changes from 1 commit
Commits
Show all changes
38 commits
Select commit
Hold shift + click to select a range
cf7a48f
Convert String dialog to javafx
Siedlerchr 5b15f26
add save and cancel buttons
Siedlerchr 017ac37
add method for saving
Siedlerchr 0d40b60
Merge branch 'maintable-beta' into editStringsjavafx
Siedlerchr 4482a7a
Merge branch 'maintable-beta' into editStringsjavafx
Siedlerchr 4ed242b
First attempt at validation
Siedlerchr e764d04
use mvvmfx validation
Siedlerchr f5e2a27
Add validation in factory
Siedlerchr f1e4cd8
Merge remote-tracking branch 'upstream/maintable-beta' into editStrin…
Siedlerchr aacd4f9
remove old comment
Siedlerchr ed77f62
add css but still does not work :(
Siedlerchr 5d0755c
Merge remote-tracking branch 'upstream/maintable-beta' into editStrin…
Siedlerchr 424d463
convert to new javafx view/controller
Siedlerchr dd63df4
Merge remote-tracking branch 'upstream/maintable-beta' into editStrin…
Siedlerchr 84c0aba
play around with validation
Siedlerchr 3fa8648
Merge remote-tracking branch 'upstream/master' into editStringsjavafx
Siedlerchr 2482bd0
refactor
Siedlerchr db5debd
fix l10n
Siedlerchr ca2dc2c
Merge remote-tracking branch 'upstream/master' into editStringsjavafx
Siedlerchr 4101f76
fix loading of string dialog
Siedlerchr 014dd12
fix imports
Siedlerchr c273ecb
Merge remote-tracking branch 'upstream/master' into editStringsjavafx
Siedlerchr f763eaf
remove old stuff
Siedlerchr d973630
fix Validation
Siedlerchr 72bd1ad
fix codacy, improve layout
Siedlerchr 23be3e3
Refactorings and renamings
Siedlerchr 74db19a
first part for factory
Siedlerchr 2f15c24
Merge remote-tracking branch 'upstream/master' into editStringsjavafx
Siedlerchr 30d5bf1
fix visibilty error
Siedlerchr 634bed4
Merge remote-tracking branch 'upstream/master' into editStringsjavafx
Siedlerchr 2363c15
move validation textfieldtablecell to factory
Siedlerchr 1c2ffa3
fix import order
Siedlerchr 49dfd2f
fix merge erros in l10n
Siedlerchr 8ed811b
remove obsolete key from l10n
Siedlerchr 018a432
remove unused TextField
Siedlerchr f5a399f
renamings and remove uncessary methods
Siedlerchr 616cbeb
extract string adding to bibdatabase
Siedlerchr 0082b13
fix checkstyle
Siedlerchr File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 |
---|---|---|
|
@@ -28,10 +28,12 @@ public StringDialogViewModel(StateManager stateManager) { | |
|
||
private void addAllStringsFromDB() { | ||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. remove empty line |
||
Set<StringViewModel> strings = db.getStringKeySet().stream() | ||
Set<StringViewModel> strings = db.getStringKeySet() | ||
.stream() | ||
.map(string -> db.getString(string)) | ||
.sorted(new BibtexStringComparator(false)) | ||
.map(this::convertFromBibTexString).collect(Collectors.toSet()); | ||
.map(this::convertFromBibTexString) | ||
.collect(Collectors.toSet()); | ||
allStrings.addAll(strings); | ||
} | ||
|
||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
t.getRowValue
is easier (and please renamet
to something more descriptive.