Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
Views |
|
| 1.0;1 |
1 | package org.jtheque.core.managers.view; | |
2 | ||
3 | /* | |
4 | * This file is part of JTheque. | |
5 | * | |
6 | * JTheque is free software: you can redistribute it and/or modify | |
7 | * it under the terms of the GNU General Public License as published by | |
8 | * the Free Software Foundation, either version 3 of the License. | |
9 | * | |
10 | * JTheque is distributed in the hope that it will be useful, | |
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
13 | * GNU General Public License for more details. | |
14 | * | |
15 | * You should have received a copy of the GNU General Public License | |
16 | * along with JTheque. If not, see <http://www.gnu.org/licenses/>. | |
17 | */ | |
18 | ||
19 | import org.jtheque.core.managers.view.able.IConfigView; | |
20 | import org.jtheque.core.managers.view.able.ILicenceView; | |
21 | import org.jtheque.core.managers.view.able.IMainView; | |
22 | import org.jtheque.core.managers.view.able.IMessageView; | |
23 | import org.jtheque.core.managers.view.able.components.TabComponent; | |
24 | import org.jtheque.core.managers.view.able.update.IModuleView; | |
25 | ||
26 | /** | |
27 | * A views manager. | |
28 | * | |
29 | * @author Baptiste Wicht | |
30 | */ | |
31 | public interface Views { | |
32 | /** | |
33 | * Return the main view. | |
34 | * | |
35 | * @return the main view. | |
36 | */ | |
37 | IMainView getMainView(); | |
38 | ||
39 | /** | |
40 | * Return the licence view. | |
41 | * | |
42 | * @return The licence view. | |
43 | */ | |
44 | ILicenceView getLicenceView(); | |
45 | ||
46 | /** | |
47 | * Return the config view. | |
48 | * | |
49 | * @return The config view. | |
50 | */ | |
51 | IConfigView getConfigView(); | |
52 | ||
53 | /** | |
54 | * Set the selected view. | |
55 | * | |
56 | * @param component The view to select. | |
57 | */ | |
58 | void setSelectedView(TabComponent component); | |
59 | ||
60 | /** | |
61 | * Return the selected view. | |
62 | * | |
63 | * @return The selected view. | |
64 | */ | |
65 | TabComponent getSelectedView(); | |
66 | ||
67 | /** | |
68 | * Return the module view. | |
69 | * | |
70 | * @return the module view. | |
71 | */ | |
72 | IModuleView getModuleView(); | |
73 | ||
74 | /** | |
75 | * Return the messages view. | |
76 | * | |
77 | * @return the messages view. | |
78 | */ | |
79 | IMessageView getMessagesView(); | |
80 | ||
81 | } |