Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
ControlFactory |
|
| 1.0;1 |
1 | /* | |
2 | * Copyright (c) 2009, Swiss Federal Department of Defence Civil Protection and Sport | |
3 | * (http://www.vbs.admin.ch) | |
4 | * Copyright (c) 2009, Ergon Informatik AG (http://www.ergon.ch) | |
5 | * All rights reserved. | |
6 | * | |
7 | * Licensed under the Open Permis License which accompanies this distribution, | |
8 | * and is available at http://www.openpermis.org/BSDlicenceKent.txt | |
9 | */ | |
10 | package org.openpermis.editor.policy.gui.dock; | |
11 | ||
12 | import bibliothek.gui.dock.SplitDockStation; | |
13 | import bibliothek.gui.dock.common.intern.EfficientControlFactory; | |
14 | ||
15 | /** | |
16 | * Control factory that uses continuous layouting split dock stations. | |
17 | * @since 0.1.0 | |
18 | */ | |
19 | 0 | public class ControlFactory |
20 | extends EfficientControlFactory | |
21 | { | |
22 | ||
23 | //---- EfficientControlFactory | |
24 | ||
25 | /** | |
26 | * @since 0.1.0 | |
27 | */ | |
28 | @Override | |
29 | public SplitDockStation createSplitDockStation () { | |
30 | 0 | final SplitDockStation split = super.createSplitDockStation(); |
31 | 0 | split.setContinousDisplay(true); |
32 | 0 | return split; |
33 | } | |
34 | ||
35 | } |