Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
ViewDockable |
|
| 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 org.openpermis.editor.policy.view.View; | |
13 | ||
14 | ||
15 | /** | |
16 | * Mix-in interface for dockables that render a view. | |
17 | * @since 0.1.0 | |
18 | */ | |
19 | public interface ViewDockable { | |
20 | ||
21 | //---- Methods | |
22 | ||
23 | /** | |
24 | * Returns the view rendered by the dockable. | |
25 | * @return the view rendered by the dockable. | |
26 | * @since 0.1.0 | |
27 | */ | |
28 | public View getView (); | |
29 | ||
30 | /** | |
31 | * Updates the title of the dockable according to the view state. | |
32 | * @since 0.1.0 | |
33 | */ | |
34 | public void updateTitle (); | |
35 | ||
36 | } |