-
-
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
JavaFX FileAnnotationTab #3082
JavaFX FileAnnotationTab #3082
Conversation
|
||
import static org.jabref.model.pdf.FileAnnotationType.NONE; | ||
|
||
public class FxFileAnnotationTab extends EntryEditorTab { |
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.
Why don't you use the Scence Builder to create your fxml?
http://gluonhq.com/open-source/scene-builder/
8c35f03
to
3156930
Compare
…avafx-fileannotationtab # Conflicts: # src/main/java/org/jabref/gui/entryeditor/FileAnnotationListCellRenderer.java # src/main/java/org/jabref/gui/entryeditor/FxFileAnnotationTab.java
…avafx-fileannotationtab
I've tried out the PR and found a number of functional issues that need to be addressed before we can merge this:
|
I fixed one exception, however, the other is a classical NPE, because the ObjectProperty returns null, because it is not intialized. You should either define an empty File Annotation or disable the copy dialog @lynyus |
@JabRef/developers Please have a look if this PR is ready to be merged. |
} | ||
|
||
private FileAnnotationViewModel getCurrentAnnotation() { | ||
//TODO: It has to be initialized! NPE |
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.
remove comment if it is resolved
I have created an initial port of the FileAnnotationTab. It is not done yet, as I am not so proficient in GUI programming.
Fixes #2922
Fixes #3059