-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Support combo box in main table (for content selectors) #14087
Copy link
Copy link
Labels
component: maintablegood second issueIssues that involve a tour of two or three interweaved components in JabRefIssues that involve a tour of two or three interweaved components in JabRefsize: medium📌 Pinned📍 AssignedAssigned by assign-issue-action (or manually assigned)Assigned by assign-issue-action (or manually assigned)🔔 reminder-sent
Metadata
Metadata
Assignees
Labels
component: maintablegood second issueIssues that involve a tour of two or three interweaved components in JabRefIssues that involve a tour of two or three interweaved components in JabRefsize: medium📌 Pinned📍 AssignedAssigned by assign-issue-action (or manually assigned)Assigned by assign-issue-action (or manually assigned)🔔 reminder-sent
Type
Fields
Give feedbackNo fields configured for task.
Projects
StatusShow more project fields
Done
Create a new library "demo.bib"
Add new entry
In "BibTeX source", add
icore = {abc}Library properties
Add "Content selectors" for
ICOREFile > Preferences > Entry table
Add custom column "ICORE"

Save, restart JabRef
See at tab "Other fields", there is are the contents displayed
However, clicking on the field on the main table does not do anything:
There is something done for the viewed field:
Task: Similar behavior should happen for fields with a content selector.
Hints:
databaseContext.getMetaData().getContentSelectorValuesForField(field)org.jabref.gui.maintable.MainTableColumnFactory#createColumnto handle the case if the are content selector values and display themorg.jabref.gui.maintable.columns.ContentSelectorColumnsimilar toorg.jabref.gui.maintable.columns.SpecialFieldColumn#SpecialFieldColumn(but more easy - just use OptionalValueTableCellFactory`