-
-
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.
Grand unified library properties (GRULPS) (#8264)
- Loading branch information
Showing
33 changed files
with
1,070 additions
and
971 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
27 changes: 0 additions & 27 deletions
27
src/main/java/org/jabref/gui/citationkeypattern/CitationKeyPatternAction.java
This file was deleted.
Oops, something went wrong.
64 changes: 0 additions & 64 deletions
64
src/main/java/org/jabref/gui/citationkeypattern/CitationKeyPatternDialog.java
This file was deleted.
Oops, something went wrong.
171 changes: 0 additions & 171 deletions
171
src/main/java/org/jabref/gui/citationkeypattern/CitationKeyPatternPanel.java
This file was deleted.
Oops, something went wrong.
37 changes: 37 additions & 0 deletions
37
src/main/java/org/jabref/gui/libraryproperties/AbstractPropertiesTabView.java
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,37 @@ | ||
package org.jabref.gui.libraryproperties; | ||
|
||
import javax.inject.Inject; | ||
|
||
import javafx.scene.Node; | ||
import javafx.scene.layout.VBox; | ||
|
||
import org.jabref.gui.DialogService; | ||
import org.jabref.model.database.BibDatabaseContext; | ||
|
||
public abstract class AbstractPropertiesTabView<T extends PropertiesTabViewModel> extends VBox implements PropertiesTab { | ||
|
||
@Inject protected DialogService dialogService; | ||
|
||
protected BibDatabaseContext databaseContext; | ||
protected T viewModel; | ||
|
||
@Override | ||
public Node getBuilder() { | ||
return this; | ||
} | ||
|
||
@Override | ||
public void setValues() { | ||
viewModel.setValues(); | ||
} | ||
|
||
@Override | ||
public void storeSettings() { | ||
viewModel.storeSettings(); | ||
} | ||
|
||
@Override | ||
public boolean validateSettings() { | ||
return viewModel.validateSettings(); | ||
} | ||
} |
14 changes: 14 additions & 0 deletions
14
src/main/java/org/jabref/gui/libraryproperties/LibraryProperties.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,14 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
|
||
<?import javafx.scene.control.ButtonType?> | ||
<?import javafx.scene.control.DialogPane?> | ||
<?import javafx.scene.control.TabPane?> | ||
<DialogPane xmlns="http://javafx.com/javafx" xmlns:fx="http://javafx.com/fxml" | ||
fx:controller="org.jabref.gui.libraryproperties.LibraryPropertiesView" | ||
prefHeight="400.0" prefWidth="600.0"> | ||
<content> | ||
<TabPane fx:id="tabPane" tabClosingPolicy="UNAVAILABLE"/> | ||
</content> | ||
<ButtonType fx:id="saveButton" text="%Apply" buttonData="OK_DONE"/> | ||
<ButtonType fx:constant="CANCEL"/> | ||
</DialogPane> |
Oops, something went wrong.