Skip to content

Commit

Permalink
Remove deprecated awt apple extension (#4860)
Browse files Browse the repository at this point in the history
  • Loading branch information
Siedlerchr authored and LinusDietz committed Apr 8, 2019
1 parent fdb9fa5 commit bb7b721
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 136 deletions.
Binary file removed lib/AppleJavaExtensions.jar
Binary file not shown.
14 changes: 0 additions & 14 deletions src/main/java/org/jabref/gui/JabRefFrame.java
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,6 @@
import org.jabref.logic.undo.AddUndoableActionEvent;
import org.jabref.logic.undo.UndoChangeEvent;
import org.jabref.logic.undo.UndoRedoEvent;
import org.jabref.logic.util.OS;
import org.jabref.logic.util.io.FileUtil;
import org.jabref.model.database.BibDatabaseContext;
import org.jabref.model.database.BibDatabaseMode;
Expand All @@ -136,7 +135,6 @@
import org.fxmisc.easybind.EasyBind;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import osx.macadapter.MacAdapter;

/**
* The main window of the application.
Expand Down Expand Up @@ -286,18 +284,6 @@ public void init() {
currentBasePanel.getUndoManager().postUndoRedoEvent();
currentBasePanel.getMainTable().requestFocus();
});

//Note: The registration of Apple event is at the end of initialization, because
//if the events happen too early (ie when the window is not initialized yet), the
//opened (double-clicked) documents are not displayed.
if (OS.OS_X) {
try {
new MacAdapter().registerMacEvents(this);
} catch (Exception e) {
LOGGER.error("Could not interface with Mac OS X methods.", e);
}
}

initShowTrackingNotification();
}

Expand Down
39 changes: 0 additions & 39 deletions src/main/java/org/jabref/gui/OSXCompatibleToolbar.java

This file was deleted.

83 changes: 0 additions & 83 deletions src/main/java/osx/macadapter/MacAdapter.java

This file was deleted.

0 comments on commit bb7b721

Please sign in to comment.