Closed koppor closed 1 year ago
The blurring of the screenshot makes it difficult to see what is shown.
What is the intent of the image? What is the full meaning of the title of this issue?
See the group "demo group" in the screenshot?
See that that the article is not beloging to the group "demo group"?
Switch tot he tab "General", scroll down to "Groups", now drag and drop the group "demo group":
@Article{ostgaard2002,
journal = {Phys Rev B},
title = {energy},
year = {2012},
month = sep,
groups = {demo group},
}
Note that drag and drop of an entry to a group works:
Hi, I want to try this issue and now I'm checking with the code. I have some questions and it would be greatly appreciated if anyone can give me some advice.
I wonder if there is a way I can get the variable row, and therefore I can use the same method in GroupTreeView.java to move to the group.
I wonder if there is a way I can get the variable row, and therefore I can use the same method in GroupTreeView.java to move to the group.
I don't understand, what is the "variable row"?
If the group's name is the only thing I can get while dragging, can I add the name to this field directly to move the paper?
Yes, this should be possible as long as you can access the BibEntry object, it is responsible for notifying listeners
EDIT: linked the wrong method
Hello, thanks for your reply. By "row" I mean this"
Although I still don't know where this variable is from, it seems nothing to do with my issue. Your advice is helpful and now I know how to add a group. However, this drag or drop will happen when dragging the group to the EntryEditor panel instead of dragging it to the exact group field inside General Tab. I try to add setOnDragDropped() function to a table, but it seems I can't do it. It'll be helpful if someone can give me some advice.
Although I still don't know where this variable is from, it seems nothing to do with my issue.
Probably not. If you look at when the ViewModelTreeTableRowFactory
is created, you'll notice it is calling install
at the end. Following the method call chain will lead you to that it comes from TreeTableView
, a JavaFX class that supplies a TreeTableView
and a TreeTableRow
, so it looks like it is built-in to the TreeTable of JavaFX.
Thank you, got it.