1#
2# Gramps - a GTK+/GNOME based genealogy program
3#
4# Copyright (C) 2009 Benny Malengier
5#
6#
7# This program is free software; you can redistribute it and/or modify
8# it under the terms of the GNU General Public License as published by
9# the Free Software Foundation; either version 2 of the License, or
10# (at your option) any later version.
11#
12# This program is distributed in the hope that it will be useful,
13# but WITHOUT ANY WARRANTY; without even the implied warranty of
14# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15# GNU General Public License for more details.
16#
17# You should have received a copy of the GNU General Public License
18# along with this program; if not, write to the Free Software
19# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
20#
21from gramps.gen.plug._pluginreg import *
22from gramps.gen.const import GRAMPS_LOCALE as glocale
23_ = glocale.translation.gettext
24
25MODULE_VERSION="5.1"
26
27# this is the default in gen/plug/_pluginreg.py: plg.require_active = True
28
29#------------------------------------------------------------------------
30#
31# Ancestor Tree
32#
33#------------------------------------------------------------------------
34
35plg = newplugin()
36plg.id = 'ancestor_chart,BKI'
37plg.name = _("Ancestor Chart")
38plg.description = _("Produces a graphical ancestral chart")
39plg.version = '1.0'
40plg.gramps_target_version = MODULE_VERSION
41plg.status = STABLE
42plg.fname = 'ancestortree.py'
43plg.ptype = REPORT
44plg.authors = ["Craig J. Anderson"]
45plg.authors_email = ["ander882@hotmail.com"]
46plg.category = CATEGORY_DRAW
47plg.reportclass = 'AncestorTree'
48plg.optionclass = 'AncestorTreeOptions'
49plg.report_modes = [REPORT_MODE_BKI]
50
51plg = newplugin()
52plg.id = 'ancestor_chart'
53plg.name = _("Ancestor Tree")
54plg.description = _("Produces a graphical ancestral tree")
55plg.version = '1.0'
56plg.gramps_target_version = MODULE_VERSION
57plg.status = STABLE
58plg.fname = 'ancestortree.py'
59plg.ptype = REPORT
60plg.authors = ["Craig J. Anderson"]
61plg.authors_email = ["ander882@hotmail.com"]
62plg.category = CATEGORY_DRAW
63plg.reportclass = 'AncestorTree'
64plg.optionclass = 'AncestorTreeOptions'
65plg.report_modes = [REPORT_MODE_GUI, REPORT_MODE_CLI]
66
67#------------------------------------------------------------------------
68#
69# Calendar
70#
71#------------------------------------------------------------------------
72
73plg = newplugin()
74plg.id = 'calendar'
75plg.name = _("Calendar")
76plg.description = _("Produces a graphical calendar")
77plg.version = '1.0'
78plg.gramps_target_version = MODULE_VERSION
79plg.status = STABLE
80plg.fname = 'calendarreport.py'
81plg.ptype = REPORT
82plg.authors = ["Douglas S. Blank"]
83plg.authors_email = ["dblank@cs.brynmawr.edu"]
84plg.category = CATEGORY_DRAW
85plg.reportclass = 'Calendar'
86plg.optionclass = 'CalendarOptions'
87plg.report_modes = [REPORT_MODE_GUI, REPORT_MODE_BKI, REPORT_MODE_CLI]
88
89#------------------------------------------------------------------------
90#
91# Descendant Tree
92#
93#------------------------------------------------------------------------
94
95plg = newplugin()
96plg.id = 'descend_chart,BKI'
97plg.name = _("Descendant Chart")
98plg.description = _("Produces a graphical descendant chart")
99plg.version = '1.0'
100plg.gramps_target_version = MODULE_VERSION
101plg.status = STABLE
102plg.fname = 'descendtree.py'
103plg.ptype = REPORT
104plg.authors = ["Craig J. Anderson"]
105plg.authors_email = ["ander882@hotmail.com"]
106plg.category = CATEGORY_DRAW
107plg.reportclass = 'DescendTree'
108plg.optionclass = 'DescendTreeOptions'
109plg.report_modes = [REPORT_MODE_BKI]
110
111plg = newplugin()
112plg.id = 'descend_chart'
113plg.name = _("Descendant Tree")
114plg.description = _("Produces a graphical descendant tree")
115plg.version = '1.0'
116plg.gramps_target_version = MODULE_VERSION
117plg.status = STABLE
118plg.fname = 'descendtree.py'
119plg.ptype = REPORT
120plg.authors = ["Craig J. Anderson"]
121plg.authors_email = ["ander882@hotmail.com"]
122plg.category = CATEGORY_DRAW
123plg.reportclass = 'DescendTree'
124plg.optionclass = 'DescendTreeOptions'
125plg.report_modes = [REPORT_MODE_GUI, REPORT_MODE_CLI]
126
127#------------------------------------------------------------------------
128#
129# Family Descendant Tree
130#
131#------------------------------------------------------------------------
132
133plg = newplugin()
134plg.id = 'family_descend_chart,BKI'
135plg.name = _("Family Descendant Chart")
136plg.description = _("Produces a graphical descendant chart around a family")
137plg.version = '1.0'
138plg.status = STABLE
139plg.fname = 'descendtree.py'
140plg.ptype = REPORT
141plg.category = CATEGORY_DRAW
142plg.gramps_target_version = MODULE_VERSION
143plg.authors = ["Craig J. Anderson"]
144plg.authors_email = ["ander882@hotmail.com"]
145plg.require_active = True
146plg.reportclass = 'DescendTree'
147plg.optionclass = 'DescendTreeOptions'
148plg.report_modes = [REPORT_MODE_BKI]
149
150plg = newplugin()
151plg.id = 'family_descend_chart'
152plg.name = _("Family Descendant Tree")
153plg.description = _("Produces a graphical descendant tree around a family")
154plg.version = '1.0'
155plg.status = STABLE
156plg.fname = 'descendtree.py'
157plg.ptype = REPORT
158plg.category = CATEGORY_DRAW
159plg.gramps_target_version = MODULE_VERSION
160plg.authors = ["Craig J. Anderson"]
161plg.authors_email = ["ander882@hotmail.com"]
162plg.require_active = True
163plg.reportclass = 'DescendTree'
164plg.optionclass = 'DescendTreeOptions'
165plg.report_modes = [REPORT_MODE_GUI, REPORT_MODE_CLI]
166
167#------------------------------------------------------------------------
168#
169# Fan Chart
170#
171#------------------------------------------------------------------------
172
173plg = newplugin()
174plg.id = 'fan_chart'
175plg.name = _("Fan Chart")
176plg.description = _("Produces fan charts")
177plg.version = '1.0'
178plg.gramps_target_version = MODULE_VERSION
179plg.status = STABLE
180plg.fname = 'fanchart.py'
181plg.ptype = REPORT
182plg.authors = ["Donald N. Allingham"]
183plg.authors_email = ["don@gramps-project.org"]
184plg.category = CATEGORY_DRAW
185plg.reportclass = 'FanChart'
186plg.optionclass = 'FanChartOptions'
187plg.report_modes = [REPORT_MODE_GUI, REPORT_MODE_BKI, REPORT_MODE_CLI]
188
189#------------------------------------------------------------------------
190#
191# Statistics Charts
192#
193#------------------------------------------------------------------------
194
195plg = newplugin()
196plg.id = 'statistics_chart'
197plg.name = _("Statistics Charts")
198plg.description = _("Produces statistical bar and pie charts of the people "
199                    "in the database")
200plg.version = '1.0'
201plg.gramps_target_version = MODULE_VERSION
202plg.status = STABLE
203plg.fname = 'statisticschart.py'
204plg.ptype = REPORT
205plg.authors = ["Eero Tamminen"]
206plg.authors_email = [""]
207plg.category = CATEGORY_DRAW
208plg.reportclass = 'StatisticsChart'
209plg.optionclass = 'StatisticsChartOptions'
210plg.report_modes = [REPORT_MODE_GUI, REPORT_MODE_BKI, REPORT_MODE_CLI]
211plg.require_active = False
212
213#------------------------------------------------------------------------
214#
215# Timeline Chart
216#
217#------------------------------------------------------------------------
218
219plg = newplugin()
220plg.id = 'timeline'
221plg.name = _("Timeline Chart")
222plg.description = _("Produces a timeline chart.")
223plg.version = '1.0'
224plg.gramps_target_version = MODULE_VERSION
225plg.status = STABLE
226plg.fname = 'timeline.py'
227plg.ptype = REPORT
228plg.authors = ["Donald N. Allingham"]
229plg.authors_email = ["don@gramps-project.org"]
230plg.category = CATEGORY_DRAW
231plg.reportclass = 'TimeLine'
232plg.optionclass = 'TimeLineOptions'
233plg.report_modes = [REPORT_MODE_GUI, REPORT_MODE_BKI, REPORT_MODE_CLI]
234