1/*
2 * This file is part of gitg
3 *
4 * Copyright (C) 2012 - Jesse van den Kieboom
5 *
6 * gitg 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 2 of the License, or
9 * (at your option) any later version.
10 *
11 * gitg is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with gitg. If not, see <http://www.gnu.org/licenses/>.
18 */
19
20namespace GitgExt
21{
22
23/**
24 * Panel interfaces implemented to show additional details of selections in
25 * the history.
26 *
27 * The panel interface can be implemented to show additional details of the
28 * history activity. The panel will be shown in a split view below the history
29 * when activated. Panels should implement the {@link UIElement.available} property to
30 * indicate for which state of the application the panel is active.
31 *
32 * Each panel should have a unique id, a display name and an icon which will
33 * be used in the interface to activate the panel. The {@link UIElement.widget} is
34 * displayed when the panel is activated.
35 *
36 */
37public interface HistoryPanel : Object, UIElement
38{
39	/**
40	 * The history to which the panel belongs. This property is a construct
41	 * property and will be automatically set when an instance of the panel
42	 * is created.
43	 */
44	public abstract GitgExt.History? history { owned get; construct set; }
45}
46
47}
48
49// ex: ts=4 noet
50