Skip to content
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

Cleanup dead code #6436

Merged
merged 2 commits into from
May 7, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 0 additions & 19 deletions src/main/java/org/jabref/gui/JabRefFrame.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
import javafx.scene.control.Menu;
import javafx.scene.control.MenuBar;
import javafx.scene.control.MenuItem;
import javafx.scene.control.ProgressBar;
import javafx.scene.control.Separator;
import javafx.scene.control.SeparatorMenuItem;
import javafx.scene.control.SplitPane;
Expand Down Expand Up @@ -155,7 +154,6 @@ public class JabRefFrame extends BorderPane {
private final ThemeLoader themeLoader = Globals.getThemeLoader();
private final GlobalSearchBar globalSearchBar = new GlobalSearchBar(this, Globals.stateManager);

private final ProgressBar progressBar = new ProgressBar();
private final FileHistoryMenu fileHistory;

private final Stage mainStage;
Expand Down Expand Up @@ -430,8 +428,6 @@ public boolean quit() {
}

private void initLayout() {
setProgressBarVisible(false);

setId("frame");

VBox head = new VBox(createMenu(), createToolbar());
Expand Down Expand Up @@ -1084,21 +1080,6 @@ public FileHistoryMenu getFileHistory() {
return fileHistory;
}

/**
* Set the visibility of the progress bar in the right end of the status line at the bottom of the frame.
*/
public void setProgressBarVisible(final boolean visible) {
progressBar.setVisible(visible);
}

/**
* Sets the indeterminate status of the progress bar.
* <p>
*/
public void setProgressBarIndeterminate(final boolean value) {
progressBar.setProgress(ProgressBar.INDETERMINATE_PROGRESS);
}

/**
* Return a boolean, if the selected entry have file
*
Expand Down