-
-
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 remote-tracking branch 'upstream/master' into groupSorting
* upstream/master: Implement #1359: collect telemetry (#2283) Write groups under tag `group` instead of `groupstree` to enhance compatibility with previous versions (#2704) Avoid conversion of single underscores (#2711) Fix #628: implement hierarchical keywords (#2703)
- Loading branch information
Showing
92 changed files
with
947 additions
and
288 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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
package org.jabref.gui; | ||
|
||
import java.awt.Frame; | ||
import java.awt.Window; | ||
|
||
import javax.swing.JDialog; | ||
|
||
import org.jabref.Globals; | ||
|
||
public class JabRefDialog extends JDialog { | ||
|
||
public <T extends JabRefDialog> JabRefDialog(Frame owner, boolean modal, Class<T> clazz) { | ||
super(owner, modal); | ||
|
||
trackDialogOpening(clazz); | ||
} | ||
|
||
public <T extends JabRefDialog> JabRefDialog(Class<T> clazz) { | ||
super(); | ||
|
||
trackDialogOpening(clazz); | ||
} | ||
|
||
public <T extends JabRefDialog> JabRefDialog(Frame owner, Class<T> clazz) { | ||
super(owner); | ||
|
||
trackDialogOpening(clazz); | ||
} | ||
|
||
public <T extends JabRefDialog> JabRefDialog(Window owner, String title, Class<T> clazz) { | ||
super(owner, title); | ||
|
||
trackDialogOpening(clazz); | ||
} | ||
|
||
private <T extends JabRefDialog> void trackDialogOpening(Class<T> clazz) { | ||
Globals.getTelemetryClient().trackPageView(clazz.getName()); | ||
} | ||
|
||
public <T extends JabRefDialog> JabRefDialog(Frame owner, String title, Class<T> clazz) { | ||
this(owner, title, true, clazz); | ||
} | ||
|
||
public <T extends JabRefDialog> JabRefDialog(Frame owner, String title, boolean modal, Class<T> clazz) { | ||
super(owner, title, modal); | ||
|
||
trackDialogOpening(clazz); | ||
} | ||
|
||
public <T extends JabRefDialog> JabRefDialog(java.awt.Dialog owner, String title, Class<T> clazz) { | ||
this(owner, title, true, clazz); | ||
} | ||
|
||
public <T extends JabRefDialog> JabRefDialog(java.awt.Dialog owner, String title, boolean modal, Class<T> clazz) { | ||
super(owner, title, modal); | ||
|
||
trackDialogOpening(clazz); | ||
} | ||
} |
Oops, something went wrong.