Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
UndoBibStack |
|
| 1.5;1,5 |
1 | package de.glossmaker.bib.undo; | |
2 | ||
3 | import de.glossmaker.gui.bibtex.BibItemEvents; | |
4 | import de.glossmaker.undo.UndoStack; | |
5 | ||
6 | /** | |
7 | * | |
8 | * @author Markus Flingelli | |
9 | * | |
10 | */ | |
11 | public class UndoBibStack extends UndoStack<BibItemEvents> { | |
12 | 0 | private static UndoBibStack mInstance = null; |
13 | ||
14 | UndoBibStack() { | |
15 | 0 | super(); |
16 | 0 | } |
17 | ||
18 | public static UndoBibStack getInstance() { | |
19 | 0 | if (mInstance == null) { |
20 | 0 | mInstance = new UndoBibStack(); |
21 | } | |
22 | ||
23 | 0 | return mInstance; |
24 | } | |
25 | } |