-
-
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 #9768 from JabRef/move-contentselectors
Moved ContentSelectorsDialog to library properties and preferences to file menu
- Loading branch information
Showing
12 changed files
with
115 additions
and
189 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
66 changes: 0 additions & 66 deletions
66
src/main/java/org/jabref/gui/contentselector/ContentSelectorDialog.fxml
This file was deleted.
Oops, something went wrong.
29 changes: 0 additions & 29 deletions
29
src/main/java/org/jabref/gui/contentselector/ManageContentSelectorAction.java
This file was deleted.
Oops, something went wrong.
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
47 changes: 47 additions & 0 deletions
47
src/main/java/org/jabref/gui/libraryproperties/contentselectors/ContentSelector.fxml
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,47 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
|
||
<?import javafx.scene.control.Button?> | ||
<?import javafx.scene.control.Label?> | ||
<?import javafx.scene.control.ListView?> | ||
<?import javafx.scene.layout.HBox?> | ||
<?import javafx.scene.layout.VBox?> | ||
<?import org.jabref.gui.icon.JabRefIconView?> | ||
<fx:root spacing="10.0" type="VBox" | ||
xmlns="http://javafx.com/javafx" xmlns:fx="http://javafx.com/fxml" | ||
fx:controller="org.jabref.gui.libraryproperties.contentselectors.ContentSelectorView"> | ||
<HBox spacing="10.0" VBox.vgrow="ALWAYS"> | ||
<VBox spacing="10.0" HBox.hgrow="ALWAYS"> | ||
<Label styleClass="sectionHeader" text="%Field names"/> | ||
<ListView fx:id="fieldsListView" VBox.vgrow="ALWAYS"/> | ||
<HBox spacing="10.0" alignment="BASELINE_RIGHT"> | ||
<Button text="%Add" onAction="#addNewFieldName"> | ||
<graphic> | ||
<JabRefIconView glyph="ADD_NOBOX"/> | ||
</graphic> | ||
</Button> | ||
<Button fx:id="removeFieldNameButton" text="%Remove" onAction="#removeFieldName"> | ||
<graphic> | ||
<JabRefIconView glyph="REMOVE_NOBOX"/> | ||
</graphic> | ||
</Button> | ||
</HBox> | ||
</VBox> | ||
|
||
<VBox spacing="10.0" HBox.hgrow="ALWAYS"> | ||
<Label styleClass="sectionHeader" text="%Keywords"/> | ||
<ListView fx:id="keywordsListView" VBox.vgrow="ALWAYS"/> | ||
<HBox spacing="10.0" alignment="BASELINE_RIGHT"> | ||
<Button fx:id="addKeywordButton" text="%Add" onAction="#addNewKeyword"> | ||
<graphic> | ||
<JabRefIconView glyph="ADD_NOBOX"/> | ||
</graphic> | ||
</Button> | ||
<Button fx:id="removeKeywordButton" text="%Remove" onAction="#removeKeyword"> | ||
<graphic> | ||
<JabRefIconView glyph="REMOVE_NOBOX"/> | ||
</graphic> | ||
</Button> | ||
</HBox> | ||
</VBox> | ||
</HBox> | ||
</fx:root> |
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
Oops, something went wrong.