636 |
19 Mar 08 |
nicklas |
1 |
<?xml version="1.0" encoding="UTF-8" ?> |
1391 |
15 Sep 11 |
nicklas |
2 |
<!-- |
1391 |
15 Sep 11 |
nicklas |
Copyright (C) 2011 Nicklas Nordborg |
1391 |
15 Sep 11 |
nicklas |
4 |
|
1391 |
15 Sep 11 |
nicklas |
This file is part of the Example Code Package for BASE. |
1391 |
15 Sep 11 |
nicklas |
Available at http://baseplugins.thep.lu.se/ |
1391 |
15 Sep 11 |
nicklas |
BASE main site: http://base.thep.lu.se/ |
1391 |
15 Sep 11 |
nicklas |
8 |
|
1391 |
15 Sep 11 |
nicklas |
This is free software; you can redistribute it and/or |
1391 |
15 Sep 11 |
nicklas |
modify it under the terms of the GNU General Public License |
1391 |
15 Sep 11 |
nicklas |
as published by the Free Software Foundation; either version 3 |
1391 |
15 Sep 11 |
nicklas |
of the License, or (at your option) any later version. |
1391 |
15 Sep 11 |
nicklas |
13 |
|
1391 |
15 Sep 11 |
nicklas |
The software is distributed in the hope that it will be useful, |
1391 |
15 Sep 11 |
nicklas |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
1391 |
15 Sep 11 |
nicklas |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
1391 |
15 Sep 11 |
nicklas |
GNU General Public License for more details. |
1391 |
15 Sep 11 |
nicklas |
18 |
|
1391 |
15 Sep 11 |
nicklas |
You should have received a copy of the GNU General Public License |
1391 |
15 Sep 11 |
nicklas |
along with BASE. If not, see <http://www.gnu.org/licenses/>. |
1391 |
15 Sep 11 |
nicklas |
21 |
--> |
1019 |
03 Apr 09 |
nicklas |
22 |
<extensions xmlns="http://base.thep.lu.se/extensions.xsd" |
1019 |
03 Apr 09 |
nicklas |
23 |
id-base="net.sf.basedb.examples.extensions."> |
2207 |
31 Jan 14 |
nicklas |
24 |
<about safe-scripts="1"> |
641 |
28 Mar 08 |
nicklas |
25 |
<name>Extensions example package</name> |
641 |
28 Mar 08 |
nicklas |
26 |
<description> |
641 |
28 Mar 08 |
nicklas |
27 |
This package contains several simple example extensions. |
641 |
28 Mar 08 |
nicklas |
28 |
Most of them are variants of the well-known "Hello world" |
641 |
28 Mar 08 |
nicklas |
29 |
code example. |
641 |
28 Mar 08 |
nicklas |
30 |
</description> |
4336 |
02 Feb 17 |
nicklas |
31 |
<version>1.9-dev</version> |
4237 |
15 Nov 16 |
nicklas |
32 |
<min-base-version>3.10.0</min-base-version> |
1346 |
18 Apr 11 |
nicklas |
33 |
<copyright>BASE development team</copyright> |
6306 |
11 Jun 21 |
nicklas |
34 |
<url>https://baseplugins.thep.lu.se/wiki/net.sf.basedb.examples.extensions</url> |
1346 |
18 Apr 11 |
nicklas |
35 |
<email>basedb-users@lists.sourceforge.net</email> |
641 |
28 Mar 08 |
nicklas |
36 |
</about> |
1347 |
18 Apr 11 |
nicklas |
37 |
|
1347 |
18 Apr 11 |
nicklas |
38 |
<plugin-definition id="ExampleAnalyzer"> |
1347 |
18 Apr 11 |
nicklas |
39 |
<about> |
1347 |
18 Apr 11 |
nicklas |
40 |
<name>Example: Copy spot intensity</name> |
1347 |
18 Apr 11 |
nicklas |
41 |
<description> |
1347 |
18 Apr 11 |
nicklas |
42 |
An example analysis plugin that creates a new bioassay set |
1347 |
18 Apr 11 |
nicklas |
43 |
by multiplying each intensitity value with the same factor, |
1347 |
18 Apr 11 |
nicklas |
44 |
filtering out intensities below a cutoff value. |
1347 |
18 Apr 11 |
nicklas |
45 |
</description> |
1347 |
18 Apr 11 |
nicklas |
46 |
</about> |
1347 |
18 Apr 11 |
nicklas |
47 |
<plugin-class>net.sf.basedb.examples.plugins.ExampleAnalyzer</plugin-class> |
1347 |
18 Apr 11 |
nicklas |
48 |
</plugin-definition> |
1347 |
18 Apr 11 |
nicklas |
49 |
|
1347 |
18 Apr 11 |
nicklas |
50 |
<plugin-definition id="ExampleImporter"> |
1347 |
18 Apr 11 |
nicklas |
51 |
<about> |
1347 |
18 Apr 11 |
nicklas |
52 |
<name>Example: sample importer</name> |
1347 |
18 Apr 11 |
nicklas |
53 |
<description> |
1347 |
18 Apr 11 |
nicklas |
54 |
An example plugin that pretends to import samples. |
1347 |
18 Apr 11 |
nicklas |
55 |
It can't be configured, but will ask for a file to |
1347 |
18 Apr 11 |
nicklas |
56 |
import from and if existing samples should be updated |
1347 |
18 Apr 11 |
nicklas |
57 |
or not. It won't actually import any samples, but |
1347 |
18 Apr 11 |
nicklas |
58 |
will report that a few samples has been imported. |
1347 |
18 Apr 11 |
nicklas |
59 |
</description> |
1347 |
18 Apr 11 |
nicklas |
60 |
</about> |
1347 |
18 Apr 11 |
nicklas |
61 |
<plugin-class>net.sf.basedb.examples.plugins.ExampleImporter</plugin-class> |
1347 |
18 Apr 11 |
nicklas |
62 |
</plugin-definition> |
1347 |
18 Apr 11 |
nicklas |
63 |
|
4238 |
15 Nov 16 |
nicklas |
64 |
<extension-point |
4238 |
15 Nov 16 |
nicklas |
65 |
id="custom-extension-point" |
4238 |
15 Nov 16 |
nicklas |
66 |
> |
4238 |
15 Nov 16 |
nicklas |
67 |
<action-class>net.sf.basedb.examples.extensions.custom.ExampleAction</action-class> |
4238 |
15 Nov 16 |
nicklas |
68 |
<name>Example extension point</name> |
4238 |
15 Nov 16 |
nicklas |
69 |
<description> |
4238 |
15 Nov 16 |
nicklas |
70 |
An example of custom extension point defined within an extension package. |
4238 |
15 Nov 16 |
nicklas |
71 |
Use the menu entry "Hello world examples->Example actions" to list all |
4238 |
15 Nov 16 |
nicklas |
72 |
extensions that are implementing this extension point. There should be |
4238 |
15 Nov 16 |
nicklas |
73 |
at least one extension that is defined by this package. Other extensions |
4238 |
15 Nov 16 |
nicklas |
74 |
may use this extension point to verify that it is possible to extend |
4238 |
15 Nov 16 |
nicklas |
75 |
custom extension points. |
4238 |
15 Nov 16 |
nicklas |
76 |
</description> |
4238 |
15 Nov 16 |
nicklas |
77 |
</extension-point> |
4238 |
15 Nov 16 |
nicklas |
78 |
|
636 |
19 Mar 08 |
nicklas |
79 |
<extension |
1019 |
03 Apr 09 |
nicklas |
80 |
id="menu.helloworld" |
636 |
19 Mar 08 |
nicklas |
81 |
extends="net.sf.basedb.clients.web.menu.extensions" |
636 |
19 Mar 08 |
nicklas |
82 |
> |
682 |
30 Apr 08 |
nicklas |
83 |
<index>0</index> |
682 |
30 Apr 08 |
nicklas |
84 |
<action-factory> |
682 |
30 Apr 08 |
nicklas |
85 |
<factory-class> |
682 |
30 Apr 08 |
nicklas |
86 |
net.sf.basedb.clients.web.extensions.menu.FixedMenuItemFactory |
682 |
30 Apr 08 |
nicklas |
87 |
</factory-class> |
682 |
30 Apr 08 |
nicklas |
88 |
<parameters> |
682 |
30 Apr 08 |
nicklas |
89 |
<type>SUBMENU</type> |
682 |
30 Apr 08 |
nicklas |
90 |
<submenuId>hello</submenuId> |
682 |
30 Apr 08 |
nicklas |
91 |
<title>Hello world examples!</title> |
682 |
30 Apr 08 |
nicklas |
92 |
<tooltip>Find all examples here</tooltip> |
1537 |
16 Feb 12 |
nicklas |
93 |
<icon>/images/info.png</icon> |
682 |
30 Apr 08 |
nicklas |
94 |
</parameters> |
682 |
30 Apr 08 |
nicklas |
95 |
</action-factory> |
682 |
30 Apr 08 |
nicklas |
96 |
</extension> |
682 |
30 Apr 08 |
nicklas |
97 |
<extension |
1019 |
03 Apr 09 |
nicklas |
98 |
id="menu.helloworldsimple" |
682 |
30 Apr 08 |
nicklas |
99 |
extends="net.sf.basedb.clients.web.menu.extensions" |
682 |
30 Apr 08 |
nicklas |
100 |
> |
636 |
19 Mar 08 |
nicklas |
101 |
<index>1</index> |
636 |
19 Mar 08 |
nicklas |
102 |
<about> |
636 |
19 Mar 08 |
nicklas |
103 |
<name>Hello world</name> |
636 |
19 Mar 08 |
nicklas |
104 |
<description> |
636 |
19 Mar 08 |
nicklas |
105 |
The very first extensions example. Adds a "Hello world" |
636 |
19 Mar 08 |
nicklas |
106 |
menu item that displays "Hello world" in a javascript |
636 |
19 Mar 08 |
nicklas |
107 |
popup when selected. |
636 |
19 Mar 08 |
nicklas |
108 |
</description> |
636 |
19 Mar 08 |
nicklas |
109 |
</about> |
636 |
19 Mar 08 |
nicklas |
110 |
<action-factory> |
636 |
19 Mar 08 |
nicklas |
111 |
<factory-class> |
636 |
19 Mar 08 |
nicklas |
112 |
net.sf.basedb.clients.web.extensions.menu.FixedMenuItemFactory |
636 |
19 Mar 08 |
nicklas |
113 |
</factory-class> |
636 |
19 Mar 08 |
nicklas |
114 |
<parameters> |
2204 |
28 Jan 14 |
nicklas |
115 |
<id>hello-world</id> |
682 |
30 Apr 08 |
nicklas |
116 |
<menuId>hello</menuId> |
636 |
19 Mar 08 |
nicklas |
117 |
<title>Hello world!</title> |
636 |
19 Mar 08 |
nicklas |
118 |
<tooltip>This is to test the extensions system</tooltip> |
1537 |
16 Feb 12 |
nicklas |
119 |
<icon>/images/info.png</icon> |
2204 |
28 Jan 14 |
nicklas |
120 |
<script>~/scripts/menu-items.js</script> |
636 |
19 Mar 08 |
nicklas |
121 |
</parameters> |
636 |
19 Mar 08 |
nicklas |
122 |
</action-factory> |
636 |
19 Mar 08 |
nicklas |
123 |
</extension> |
636 |
19 Mar 08 |
nicklas |
124 |
|
636 |
19 Mar 08 |
nicklas |
125 |
<extension |
1019 |
03 Apr 09 |
nicklas |
126 |
id="menu.helloworldfactory" |
636 |
19 Mar 08 |
nicklas |
127 |
extends="net.sf.basedb.clients.web.menu.extensions" |
636 |
19 Mar 08 |
nicklas |
128 |
> |
636 |
19 Mar 08 |
nicklas |
129 |
<index>2</index> |
636 |
19 Mar 08 |
nicklas |
130 |
<about> |
636 |
19 Mar 08 |
nicklas |
131 |
<name>Hello factory world</name> |
636 |
19 Mar 08 |
nicklas |
132 |
<description> |
636 |
19 Mar 08 |
nicklas |
133 |
A "Hello world" variant with a custom action factory. |
636 |
19 Mar 08 |
nicklas |
134 |
Everything is hard-coded into the factory. |
636 |
19 Mar 08 |
nicklas |
135 |
</description> |
636 |
19 Mar 08 |
nicklas |
136 |
</about> |
636 |
19 Mar 08 |
nicklas |
137 |
<action-factory> |
636 |
19 Mar 08 |
nicklas |
138 |
<factory-class> |
1019 |
03 Apr 09 |
nicklas |
139 |
net.sf.basedb.examples.extensions.menu.HelloWorldFactory |
636 |
19 Mar 08 |
nicklas |
140 |
</factory-class> |
2204 |
28 Jan 14 |
nicklas |
141 |
<parameters> |
2204 |
28 Jan 14 |
nicklas |
142 |
<id>hello-factory-world</id> |
2204 |
28 Jan 14 |
nicklas |
143 |
<script>~/scripts/menu-items.js</script> |
2204 |
28 Jan 14 |
nicklas |
144 |
</parameters> |
636 |
19 Mar 08 |
nicklas |
145 |
</action-factory> |
636 |
19 Mar 08 |
nicklas |
146 |
</extension> |
636 |
19 Mar 08 |
nicklas |
147 |
|
636 |
19 Mar 08 |
nicklas |
148 |
<extension |
1019 |
03 Apr 09 |
nicklas |
149 |
id="menu.hellouser" |
636 |
19 Mar 08 |
nicklas |
150 |
extends="net.sf.basedb.clients.web.menu.extensions" |
636 |
19 Mar 08 |
nicklas |
151 |
> |
636 |
19 Mar 08 |
nicklas |
152 |
<index>3</index> |
636 |
19 Mar 08 |
nicklas |
153 |
<about> |
636 |
19 Mar 08 |
nicklas |
154 |
<name>Greetings user</name> |
636 |
19 Mar 08 |
nicklas |
155 |
<description> |
636 |
19 Mar 08 |
nicklas |
156 |
A "Hello world" variant with a custom action factory |
636 |
19 Mar 08 |
nicklas |
157 |
that displays "Greetings {name of user}" instead. We also |
636 |
19 Mar 08 |
nicklas |
158 |
make the icon configurable. |
636 |
19 Mar 08 |
nicklas |
159 |
</description> |
636 |
19 Mar 08 |
nicklas |
160 |
</about> |
636 |
19 Mar 08 |
nicklas |
161 |
<action-factory> |
636 |
19 Mar 08 |
nicklas |
162 |
<factory-class> |
1019 |
03 Apr 09 |
nicklas |
163 |
net.sf.basedb.examples.extensions.menu.HelloUserFactory |
636 |
19 Mar 08 |
nicklas |
164 |
</factory-class> |
636 |
19 Mar 08 |
nicklas |
165 |
<parameters> |
2204 |
28 Jan 14 |
nicklas |
166 |
<id>greetings-user</id> |
636 |
19 Mar 08 |
nicklas |
167 |
<prefix>Greetings</prefix> |
636 |
19 Mar 08 |
nicklas |
168 |
<icon>/images/take_ownership.png</icon> |
2204 |
28 Jan 14 |
nicklas |
169 |
<script>~/scripts/menu-items.js</script> |
636 |
19 Mar 08 |
nicklas |
170 |
</parameters> |
636 |
19 Mar 08 |
nicklas |
171 |
</action-factory> |
636 |
19 Mar 08 |
nicklas |
172 |
</extension> |
636 |
19 Mar 08 |
nicklas |
173 |
|
636 |
19 Mar 08 |
nicklas |
174 |
<extension |
1019 |
03 Apr 09 |
nicklas |
175 |
id="menu.hellojspworld" |
636 |
19 Mar 08 |
nicklas |
176 |
extends="net.sf.basedb.clients.web.menu.extensions" |
636 |
19 Mar 08 |
nicklas |
177 |
> |
636 |
19 Mar 08 |
nicklas |
178 |
<index>4</index> |
636 |
19 Mar 08 |
nicklas |
179 |
<about> |
636 |
19 Mar 08 |
nicklas |
180 |
<name>Hello JSP world</name> |
636 |
19 Mar 08 |
nicklas |
181 |
<description> |
636 |
19 Mar 08 |
nicklas |
182 |
This example uses a custom JSP page to display the |
636 |
19 Mar 08 |
nicklas |
183 |
"Hello world" message instead of a javascript popup. |
2204 |
28 Jan 14 |
nicklas |
184 |
We use data-url and data-popup to specify the URL and |
2204 |
28 Jan 14 |
nicklas |
185 |
name+size of popup window. No custom event binding is needed |
2204 |
28 Jan 14 |
nicklas |
186 |
since data-url is supported natively by BASE. |
636 |
19 Mar 08 |
nicklas |
187 |
</description> |
636 |
19 Mar 08 |
nicklas |
188 |
</about> |
636 |
19 Mar 08 |
nicklas |
189 |
<action-factory> |
636 |
19 Mar 08 |
nicklas |
190 |
<factory-class> |
636 |
19 Mar 08 |
nicklas |
191 |
net.sf.basedb.clients.web.extensions.menu.FixedMenuItemFactory |
636 |
19 Mar 08 |
nicklas |
192 |
</factory-class> |
636 |
19 Mar 08 |
nicklas |
193 |
<parameters> |
2204 |
28 Jan 14 |
nicklas |
194 |
<id>hello-jsp-world</id> |
682 |
30 Apr 08 |
nicklas |
195 |
<menuId>hello</menuId> |
636 |
19 Mar 08 |
nicklas |
196 |
<title>Hello JSP world!</title> |
636 |
19 Mar 08 |
nicklas |
197 |
<tooltip>Opens a JSP page with the message</tooltip> |
2204 |
28 Jan 14 |
nicklas |
198 |
<data-url>$HOME$/hello_world.jsp?ID=$SESSION-ID$</data-url> |
2204 |
28 Jan 14 |
nicklas |
199 |
<data-popup>HelloJspWorld, 450, 300</data-popup> |
636 |
19 Mar 08 |
nicklas |
200 |
<icon>~/images/world.png</icon> |
636 |
19 Mar 08 |
nicklas |
201 |
</parameters> |
636 |
19 Mar 08 |
nicklas |
202 |
</action-factory> |
636 |
19 Mar 08 |
nicklas |
203 |
</extension> |
656 |
14 Apr 08 |
nicklas |
204 |
<extension |
1019 |
03 Apr 09 |
nicklas |
205 |
id="menu.helloxjspworld" |
656 |
14 Apr 08 |
nicklas |
206 |
extends="net.sf.basedb.clients.web.menu.extensions" |
656 |
14 Apr 08 |
nicklas |
207 |
> |
656 |
14 Apr 08 |
nicklas |
208 |
<index>5</index> |
656 |
14 Apr 08 |
nicklas |
209 |
<about> |
682 |
30 Apr 08 |
nicklas |
210 |
<name>Hello X-JSP world</name> |
661 |
15 Apr 08 |
nicklas |
211 |
<description> |
682 |
30 Apr 08 |
nicklas |
212 |
This example uses a custom X-JSP page to display the |
661 |
15 Apr 08 |
nicklas |
213 |
"Hello world" message instead of a javascript popup. |
682 |
30 Apr 08 |
nicklas |
214 |
An X-JSP file is a JSP file that has access to classes in |
682 |
30 Apr 08 |
nicklas |
215 |
the extension's JAR file. NOTE! This example requires that |
682 |
30 Apr 08 |
nicklas |
216 |
the XJSP compiler is installed on the server. |
661 |
15 Apr 08 |
nicklas |
217 |
</description> |
661 |
15 Apr 08 |
nicklas |
218 |
</about> |
661 |
15 Apr 08 |
nicklas |
219 |
<action-factory> |
661 |
15 Apr 08 |
nicklas |
220 |
<factory-class> |
661 |
15 Apr 08 |
nicklas |
221 |
net.sf.basedb.clients.web.extensions.menu.FixedMenuItemFactory |
661 |
15 Apr 08 |
nicklas |
222 |
</factory-class> |
661 |
15 Apr 08 |
nicklas |
223 |
<parameters> |
2204 |
28 Jan 14 |
nicklas |
224 |
<id>hello-xjsp-world</id> |
682 |
30 Apr 08 |
nicklas |
225 |
<menuId>hello</menuId> |
661 |
15 Apr 08 |
nicklas |
226 |
<title>Hello X-JSP world!</title> |
661 |
15 Apr 08 |
nicklas |
227 |
<tooltip>Opens a X-JSP page with the message</tooltip> |
2204 |
28 Jan 14 |
nicklas |
228 |
<data-url>$HOME$/hello_world.xjsp?ID=$SESSION-ID$</data-url> |
2204 |
28 Jan 14 |
nicklas |
229 |
<data-popup>HelloXJspWorld, 450, 300</data-popup> |
661 |
15 Apr 08 |
nicklas |
230 |
<icon>~/images/xworld.png</icon> |
661 |
15 Apr 08 |
nicklas |
231 |
</parameters> |
661 |
15 Apr 08 |
nicklas |
232 |
</action-factory> |
661 |
15 Apr 08 |
nicklas |
233 |
</extension> |
661 |
15 Apr 08 |
nicklas |
234 |
<extension |
1019 |
03 Apr 09 |
nicklas |
235 |
id="menu.helloservletworld" |
661 |
15 Apr 08 |
nicklas |
236 |
extends="net.sf.basedb.clients.web.menu.extensions" |
661 |
15 Apr 08 |
nicklas |
237 |
> |
661 |
15 Apr 08 |
nicklas |
238 |
<index>6</index> |
661 |
15 Apr 08 |
nicklas |
239 |
<about> |
656 |
14 Apr 08 |
nicklas |
240 |
<name>Hello Servlet world</name> |
656 |
14 Apr 08 |
nicklas |
241 |
<description> |
656 |
14 Apr 08 |
nicklas |
242 |
This example uses a custom Servlet page to display the |
656 |
14 Apr 08 |
nicklas |
243 |
"Hello world" message instead of a javascript popup. |
656 |
14 Apr 08 |
nicklas |
244 |
</description> |
656 |
14 Apr 08 |
nicklas |
245 |
</about> |
656 |
14 Apr 08 |
nicklas |
246 |
<action-factory> |
656 |
14 Apr 08 |
nicklas |
247 |
<factory-class> |
656 |
14 Apr 08 |
nicklas |
248 |
net.sf.basedb.clients.web.extensions.menu.FixedMenuItemFactory |
656 |
14 Apr 08 |
nicklas |
249 |
</factory-class> |
656 |
14 Apr 08 |
nicklas |
250 |
<parameters> |
2204 |
28 Jan 14 |
nicklas |
251 |
<id>hello-servlet-world</id> |
682 |
30 Apr 08 |
nicklas |
252 |
<menuId>hello</menuId> |
656 |
14 Apr 08 |
nicklas |
253 |
<title>Hello Servlet world!</title> |
656 |
14 Apr 08 |
nicklas |
254 |
<tooltip>Opens a Servlet generated page with the message</tooltip> |
2204 |
28 Jan 14 |
nicklas |
255 |
<data-url>$HOME$/HelloWorld/with/some/path-info.servlet?ID=$SESSION-ID$</data-url> |
2204 |
28 Jan 14 |
nicklas |
256 |
<data-popup>HelloServletWorld, 450, 300</data-popup> |
656 |
14 Apr 08 |
nicklas |
257 |
<icon>~/images/servlet.png</icon> |
656 |
14 Apr 08 |
nicklas |
258 |
</parameters> |
656 |
14 Apr 08 |
nicklas |
259 |
</action-factory> |
656 |
14 Apr 08 |
nicklas |
260 |
</extension> |
1019 |
03 Apr 09 |
nicklas |
261 |
<extension |
1125 |
15 Jun 09 |
nicklas |
262 |
id="menu.helloservletworld2" |
1125 |
15 Jun 09 |
nicklas |
263 |
extends="net.sf.basedb.clients.web.menu.extensions" |
1125 |
15 Jun 09 |
nicklas |
264 |
> |
1125 |
15 Jun 09 |
nicklas |
265 |
<index>7</index> |
1125 |
15 Jun 09 |
nicklas |
266 |
<about> |
1125 |
15 Jun 09 |
nicklas |
267 |
<name>Hello Servlet world (alternate)</name> |
1125 |
15 Jun 09 |
nicklas |
268 |
<description> |
1125 |
15 Jun 09 |
nicklas |
269 |
This example uses a custom Servlet page to display the |
1125 |
15 Jun 09 |
nicklas |
270 |
"Hello world" message instead of a javascript popup. |
1125 |
15 Jun 09 |
nicklas |
271 |
The difference from the above menu is that this uses an |
1125 |
15 Jun 09 |
nicklas |
272 |
alternate path to the servlet. |
1125 |
15 Jun 09 |
nicklas |
273 |
</description> |
1125 |
15 Jun 09 |
nicklas |
274 |
</about> |
1125 |
15 Jun 09 |
nicklas |
275 |
<action-factory> |
1125 |
15 Jun 09 |
nicklas |
276 |
<factory-class> |
1125 |
15 Jun 09 |
nicklas |
277 |
net.sf.basedb.clients.web.extensions.menu.FixedMenuItemFactory |
1125 |
15 Jun 09 |
nicklas |
278 |
</factory-class> |
1125 |
15 Jun 09 |
nicklas |
279 |
<parameters> |
2204 |
28 Jan 14 |
nicklas |
280 |
<id>hello-servlet-world-2</id> |
1125 |
15 Jun 09 |
nicklas |
281 |
<menuId>hello</menuId> |
1125 |
15 Jun 09 |
nicklas |
282 |
<title>Hello Servlet world (alternate)!</title> |
1125 |
15 Jun 09 |
nicklas |
283 |
<tooltip>Opens a Servlet generated page with the message</tooltip> |
2204 |
28 Jan 14 |
nicklas |
284 |
<data-url>$SERVLET_HOME$/HelloWorld/with/other/path?ID=$SESSION-ID$</data-url> |
2204 |
28 Jan 14 |
nicklas |
285 |
<data-popup>HelloServletWorld2, 450, 300</data-popup> |
1125 |
15 Jun 09 |
nicklas |
286 |
<icon>~/images/servlet.png</icon> |
1125 |
15 Jun 09 |
nicklas |
287 |
</parameters> |
1125 |
15 Jun 09 |
nicklas |
288 |
</action-factory> |
1125 |
15 Jun 09 |
nicklas |
289 |
</extension> |
1125 |
15 Jun 09 |
nicklas |
290 |
<extension |
4238 |
15 Nov 16 |
nicklas |
291 |
id="menu.exampleactions" |
4238 |
15 Nov 16 |
nicklas |
292 |
extends="net.sf.basedb.clients.web.menu.extensions" |
4238 |
15 Nov 16 |
nicklas |
293 |
> |
4238 |
15 Nov 16 |
nicklas |
294 |
<index>8</index> |
4238 |
15 Nov 16 |
nicklas |
295 |
<about> |
4238 |
15 Nov 16 |
nicklas |
296 |
<name>Example actions</name> |
4238 |
15 Nov 16 |
nicklas |
297 |
<description> |
4238 |
15 Nov 16 |
nicklas |
298 |
List all extensions extending the custom extension point: |
4238 |
15 Nov 16 |
nicklas |
299 |
net.sf.basedb.examples.extensions.extension-point |
4238 |
15 Nov 16 |
nicklas |
300 |
</description> |
4238 |
15 Nov 16 |
nicklas |
301 |
</about> |
4238 |
15 Nov 16 |
nicklas |
302 |
<action-factory> |
4238 |
15 Nov 16 |
nicklas |
303 |
<factory-class> |
4238 |
15 Nov 16 |
nicklas |
304 |
net.sf.basedb.clients.web.extensions.menu.FixedMenuItemFactory |
4238 |
15 Nov 16 |
nicklas |
305 |
</factory-class> |
4238 |
15 Nov 16 |
nicklas |
306 |
<parameters> |
4238 |
15 Nov 16 |
nicklas |
307 |
<id>hello-example-actions</id> |
4238 |
15 Nov 16 |
nicklas |
308 |
<menuId>hello</menuId> |
4238 |
15 Nov 16 |
nicklas |
309 |
<title>Example actions</title> |
4238 |
15 Nov 16 |
nicklas |
310 |
<tooltip>List all example actions</tooltip> |
4238 |
15 Nov 16 |
nicklas |
311 |
<data-url>$HOME$/ExampleActions.servlet?ID=$SESSION-ID$</data-url> |
4238 |
15 Nov 16 |
nicklas |
312 |
<data-popup>ExampleActions, 900, 600</data-popup> |
4238 |
15 Nov 16 |
nicklas |
313 |
<icon>~/images/servlet.png</icon> |
4238 |
15 Nov 16 |
nicklas |
314 |
</parameters> |
4238 |
15 Nov 16 |
nicklas |
315 |
</action-factory> |
4238 |
15 Nov 16 |
nicklas |
316 |
</extension> |
4238 |
15 Nov 16 |
nicklas |
317 |
|
4238 |
15 Nov 16 |
nicklas |
318 |
<extension |
1019 |
03 Apr 09 |
nicklas |
319 |
id="toolbar.iteminfo" |
1019 |
03 Apr 09 |
nicklas |
320 |
extends="net.sf.basedb.clients.web.toolbar.item.all" |
1019 |
03 Apr 09 |
nicklas |
321 |
> |
1019 |
03 Apr 09 |
nicklas |
322 |
<index>1</index> |
1019 |
03 Apr 09 |
nicklas |
323 |
<about> |
1019 |
03 Apr 09 |
nicklas |
324 |
<name>Show item info</name> |
1019 |
03 Apr 09 |
nicklas |
325 |
<description> |
1019 |
03 Apr 09 |
nicklas |
326 |
This example creates a toolbar button on all single-item |
1019 |
03 Apr 09 |
nicklas |
327 |
pages that opens a JSP page that displays some information |
1019 |
03 Apr 09 |
nicklas |
328 |
about the item. |
1019 |
03 Apr 09 |
nicklas |
329 |
</description> |
1019 |
03 Apr 09 |
nicklas |
330 |
</about> |
1019 |
03 Apr 09 |
nicklas |
331 |
<action-factory> |
1019 |
03 Apr 09 |
nicklas |
332 |
<factory-class> |
1019 |
03 Apr 09 |
nicklas |
333 |
net.sf.basedb.examples.extensions.toolbar.InfoButtonFactory |
1019 |
03 Apr 09 |
nicklas |
334 |
</factory-class> |
1019 |
03 Apr 09 |
nicklas |
335 |
<parameters> |
2204 |
28 Jan 14 |
nicklas |
336 |
<id>more-info-button</id> |
1019 |
03 Apr 09 |
nicklas |
337 |
<title>More info...</title> |
1019 |
03 Apr 09 |
nicklas |
338 |
<tooltip>Show some information about $NAME</tooltip> |
1537 |
16 Feb 12 |
nicklas |
339 |
<icon>/images/info.png</icon> |
2204 |
28 Jan 14 |
nicklas |
340 |
<script>~/scripts/toolbar-buttons.js</script> |
2204 |
28 Jan 14 |
nicklas |
341 |
<data-url>$HOME$/item_info.jsp</data-url> |
1019 |
03 Apr 09 |
nicklas |
342 |
</parameters> |
1019 |
03 Apr 09 |
nicklas |
343 |
</action-factory> |
2204 |
28 Jan 14 |
nicklas |
344 |
|
1019 |
03 Apr 09 |
nicklas |
345 |
</extension> |
1019 |
03 Apr 09 |
nicklas |
346 |
<extension |
1019 |
03 Apr 09 |
nicklas |
347 |
id="toolbar.filterselected" |
1019 |
03 Apr 09 |
nicklas |
348 |
extends="net.sf.basedb.clients.web.toolbar.list.annotatable" |
1019 |
03 Apr 09 |
nicklas |
349 |
> |
1019 |
03 Apr 09 |
nicklas |
350 |
<index>1</index> |
1019 |
03 Apr 09 |
nicklas |
351 |
<about> |
1019 |
03 Apr 09 |
nicklas |
352 |
<name>Annotation filter</name> |
1019 |
03 Apr 09 |
nicklas |
353 |
<description> |
1019 |
03 Apr 09 |
nicklas |
354 |
This example creates a toolbar button that can apply a |
1019 |
03 Apr 09 |
nicklas |
355 |
special filter for showing only items that has been |
1019 |
03 Apr 09 |
nicklas |
356 |
annotated or only items that has no annotations. |
1019 |
03 Apr 09 |
nicklas |
357 |
</description> |
1019 |
03 Apr 09 |
nicklas |
358 |
</about> |
1019 |
03 Apr 09 |
nicklas |
359 |
<action-factory> |
1019 |
03 Apr 09 |
nicklas |
360 |
<factory-class> |
1019 |
03 Apr 09 |
nicklas |
361 |
net.sf.basedb.examples.extensions.toolbar.InfoButtonFactory |
1019 |
03 Apr 09 |
nicklas |
362 |
</factory-class> |
1019 |
03 Apr 09 |
nicklas |
363 |
<parameters> |
2204 |
28 Jan 14 |
nicklas |
364 |
<id>annotation-filter</id> |
1019 |
03 Apr 09 |
nicklas |
365 |
<title>Annotation filter...</title> |
1019 |
03 Apr 09 |
nicklas |
366 |
<tooltip>Filter items based on if they have been annotated or not</tooltip> |
1537 |
16 Feb 12 |
nicklas |
367 |
<icon>/images/filter.png</icon> |
2204 |
28 Jan 14 |
nicklas |
368 |
<script>~/scripts/toolbar-buttons.js</script> |
2204 |
28 Jan 14 |
nicklas |
369 |
<data-url>$HOME$/filter_annotated.jsp</data-url> |
1019 |
03 Apr 09 |
nicklas |
370 |
</parameters> |
1019 |
03 Apr 09 |
nicklas |
371 |
</action-factory> |
1019 |
03 Apr 09 |
nicklas |
372 |
</extension> |
1021 |
06 Apr 09 |
nicklas |
373 |
<extension |
1021 |
06 Apr 09 |
nicklas |
374 |
id="toolbar.clickme" |
1021 |
06 Apr 09 |
nicklas |
375 |
extends="net.sf.basedb.clients.web.toolbar.list.all" |
1021 |
06 Apr 09 |
nicklas |
376 |
> |
1021 |
06 Apr 09 |
nicklas |
377 |
<index>2</index> |
1021 |
06 Apr 09 |
nicklas |
378 |
<about> |
1021 |
06 Apr 09 |
nicklas |
379 |
<name>Click me!</name> |
1021 |
06 Apr 09 |
nicklas |
380 |
<description> |
1021 |
06 Apr 09 |
nicklas |
381 |
Click the button! |
1021 |
06 Apr 09 |
nicklas |
382 |
</description> |
1021 |
06 Apr 09 |
nicklas |
383 |
</about> |
1021 |
06 Apr 09 |
nicklas |
384 |
<action-factory> |
1021 |
06 Apr 09 |
nicklas |
385 |
<factory-class> |
1021 |
06 Apr 09 |
nicklas |
386 |
net.sf.basedb.clients.web.extensions.toolbar.FixedButtonFactory |
1021 |
06 Apr 09 |
nicklas |
387 |
</factory-class> |
1021 |
06 Apr 09 |
nicklas |
388 |
<parameters> |
2205 |
29 Jan 14 |
nicklas |
389 |
<clazz>auto-init button</clazz> |
2205 |
29 Jan 14 |
nicklas |
390 |
<data-auto-init>click-me</data-auto-init> |
1021 |
06 Apr 09 |
nicklas |
391 |
<title>Click me!</title> |
1021 |
06 Apr 09 |
nicklas |
392 |
<tooltip>Come on! Do it!</tooltip> |
2205 |
29 Jan 14 |
nicklas |
393 |
<data-message>Ouch!</data-message> |
2205 |
29 Jan 14 |
nicklas |
394 |
<icon>/images/info.png</icon> |
2205 |
29 Jan 14 |
nicklas |
395 |
<script>~/scripts/toolbar-buttons.js</script> |
1021 |
06 Apr 09 |
nicklas |
396 |
</parameters> |
1021 |
06 Apr 09 |
nicklas |
397 |
</action-factory> |
1021 |
06 Apr 09 |
nicklas |
398 |
</extension> |
1269 |
11 Nov 10 |
nicklas |
399 |
<extension |
1273 |
23 Nov 10 |
nicklas |
400 |
id="history-edit" |
1269 |
11 Nov 10 |
nicklas |
401 |
> |
1273 |
23 Nov 10 |
nicklas |
402 |
<extends> |
1273 |
23 Nov 10 |
nicklas |
403 |
<ref index="2">net.sf.basedb.clients.web.tabcontrol.edit.sample</ref> |
1273 |
23 Nov 10 |
nicklas |
404 |
<ref index="2">net.sf.basedb.clients.web.tabcontrol.edit.extract</ref> |
6306 |
11 Jun 21 |
nicklas |
405 |
<ref index="2">net.sf.basedb.clients.web.tabcontrol.edit.user-preferences</ref> |
6306 |
11 Jun 21 |
nicklas |
406 |
<ref index="2">net.sf.basedb.clients.web.tabcontrol.edit.user-information</ref> |
1273 |
23 Nov 10 |
nicklas |
407 |
</extends> |
1269 |
11 Nov 10 |
nicklas |
408 |
<about> |
1273 |
23 Nov 10 |
nicklas |
409 |
<name>History file (edit)</name> |
1269 |
11 Nov 10 |
nicklas |
410 |
<description> |
1273 |
23 Nov 10 |
nicklas |
411 |
Adds an extra tab to the "Edit sample/extract" dialogs, were the user may |
1273 |
23 Nov 10 |
nicklas |
412 |
select a "History file" (whatever that is!) that is linked |
1273 |
23 Nov 10 |
nicklas |
413 |
with an any-to-any link to the item. This action also need the |
1273 |
23 Nov 10 |
nicklas |
414 |
'history-save' action to save the link. |
1269 |
11 Nov 10 |
nicklas |
415 |
</description> |
1269 |
11 Nov 10 |
nicklas |
416 |
</about> |
1269 |
11 Nov 10 |
nicklas |
417 |
<action-factory> |
1269 |
11 Nov 10 |
nicklas |
418 |
<factory-class> |
1269 |
11 Nov 10 |
nicklas |
419 |
net.sf.basedb.clients.web.extensions.tabcontrol.IncludeContentTabFactory |
1269 |
11 Nov 10 |
nicklas |
420 |
</factory-class> |
1269 |
11 Nov 10 |
nicklas |
421 |
<parameters> |
1273 |
23 Nov 10 |
nicklas |
422 |
<id>history-file</id> |
1273 |
23 Nov 10 |
nicklas |
423 |
<title>History file</title> |
1273 |
23 Nov 10 |
nicklas |
424 |
<tooltip>On this form you can link the item with it's history file!</tooltip> |
1273 |
23 Nov 10 |
nicklas |
425 |
<include>~/history_file.jsp</include> |
1269 |
11 Nov 10 |
nicklas |
426 |
</parameters> |
1269 |
11 Nov 10 |
nicklas |
427 |
</action-factory> |
1269 |
11 Nov 10 |
nicklas |
428 |
</extension> |
1019 |
03 Apr 09 |
nicklas |
429 |
|
1270 |
15 Nov 10 |
nicklas |
430 |
<extension |
1273 |
23 Nov 10 |
nicklas |
431 |
id="history-save" |
1270 |
15 Nov 10 |
nicklas |
432 |
> |
1273 |
23 Nov 10 |
nicklas |
433 |
<extends> |
1273 |
23 Nov 10 |
nicklas |
434 |
<ref index="2">net.sf.basedb.clients.web.onsave.sample</ref> |
1273 |
23 Nov 10 |
nicklas |
435 |
<ref index="2">net.sf.basedb.clients.web.onsave.extract</ref> |
6306 |
11 Jun 21 |
nicklas |
436 |
<ref index="2">net.sf.basedb.clients.web.onsave.user-preferences</ref> |
6306 |
11 Jun 21 |
nicklas |
437 |
<ref index="2">net.sf.basedb.clients.web.onsave.user-information</ref> |
1273 |
23 Nov 10 |
nicklas |
438 |
</extends> |
1270 |
15 Nov 10 |
nicklas |
439 |
<about> |
1273 |
23 Nov 10 |
nicklas |
440 |
<name>History file (save)</name> |
1270 |
15 Nov 10 |
nicklas |
441 |
<description> |
1273 |
23 Nov 10 |
nicklas |
442 |
Saves an any-to-any link between a sample/extract and it's history file. |
1273 |
23 Nov 10 |
nicklas |
443 |
The history file is set in an extra tab in the "Edit sample/extract" |
1273 |
23 Nov 10 |
nicklas |
444 |
dialogs that is controlled by the 'history-edit' extension. |
1270 |
15 Nov 10 |
nicklas |
445 |
</description> |
1270 |
15 Nov 10 |
nicklas |
446 |
</about> |
1270 |
15 Nov 10 |
nicklas |
447 |
<action-factory> |
1270 |
15 Nov 10 |
nicklas |
448 |
<factory-class> |
1273 |
23 Nov 10 |
nicklas |
449 |
net.sf.basedb.examples.extensions.edit.HistoryOnSaveActionFactory |
1270 |
15 Nov 10 |
nicklas |
450 |
</factory-class> |
1270 |
15 Nov 10 |
nicklas |
451 |
</action-factory> |
1270 |
15 Nov 10 |
nicklas |
452 |
</extension> |
1270 |
15 Nov 10 |
nicklas |
453 |
|
1271 |
16 Nov 10 |
nicklas |
454 |
<extension |
1271 |
16 Nov 10 |
nicklas |
455 |
id="onsave.lastupdatedby" |
1271 |
16 Nov 10 |
nicklas |
456 |
extends="net.sf.basedb.clients.web.onsave.all" |
1271 |
16 Nov 10 |
nicklas |
457 |
> |
1271 |
16 Nov 10 |
nicklas |
458 |
<index>3</index> |
1271 |
16 Nov 10 |
nicklas |
459 |
<about> |
1271 |
16 Nov 10 |
nicklas |
460 |
<name>Last updated by</name> |
1271 |
16 Nov 10 |
nicklas |
461 |
<description> |
1271 |
16 Nov 10 |
nicklas |
462 |
Creates an any-to-any link between any item and the currently logged in user |
1271 |
16 Nov 10 |
nicklas |
463 |
when that item is edited and saved in the web interface. |
1271 |
16 Nov 10 |
nicklas |
464 |
</description> |
1271 |
16 Nov 10 |
nicklas |
465 |
</about> |
1271 |
16 Nov 10 |
nicklas |
466 |
<action-factory> |
1271 |
16 Nov 10 |
nicklas |
467 |
<factory-class> |
1271 |
16 Nov 10 |
nicklas |
468 |
net.sf.basedb.examples.extensions.edit.LastUpdatedByOnSaveActionFactory |
1271 |
16 Nov 10 |
nicklas |
469 |
</factory-class> |
1271 |
16 Nov 10 |
nicklas |
470 |
</action-factory> |
1271 |
16 Nov 10 |
nicklas |
471 |
</extension> |
1271 |
16 Nov 10 |
nicklas |
472 |
|
1596 |
28 Mar 12 |
nicklas |
473 |
<extension |
1596 |
28 Mar 12 |
nicklas |
474 |
id="list.owner-registration-date" |
1596 |
28 Mar 12 |
nicklas |
475 |
extends="net.sf.basedb.clients.web.listcolumn.ownable" |
1596 |
28 Mar 12 |
nicklas |
476 |
> |
1596 |
28 Mar 12 |
nicklas |
477 |
<index>1</index> |
1596 |
28 Mar 12 |
nicklas |
478 |
<about> |
1596 |
28 Mar 12 |
nicklas |
479 |
<name>Owner registration date</name> |
1596 |
28 Mar 12 |
nicklas |
480 |
<description> |
1596 |
28 Mar 12 |
nicklas |
481 |
Add a column to the list page of all ownable items that display |
1596 |
28 Mar 12 |
nicklas |
482 |
the registration date of the owner of the item. |
1596 |
28 Mar 12 |
nicklas |
483 |
</description> |
1596 |
28 Mar 12 |
nicklas |
484 |
</about> |
1596 |
28 Mar 12 |
nicklas |
485 |
<action-factory> |
1596 |
28 Mar 12 |
nicklas |
486 |
<factory-class> |
1596 |
28 Mar 12 |
nicklas |
487 |
net.sf.basedb.clients.web.extensions.list.PropertyPathActionFactory |
1596 |
28 Mar 12 |
nicklas |
488 |
</factory-class> |
1596 |
28 Mar 12 |
nicklas |
489 |
<parameters> |
1596 |
28 Mar 12 |
nicklas |
490 |
<id>owner.entryDate</id> |
1596 |
28 Mar 12 |
nicklas |
491 |
<title>Owner registration date</title> |
1596 |
28 Mar 12 |
nicklas |
492 |
<property>owner.entryDate</property> |
1596 |
28 Mar 12 |
nicklas |
493 |
<valueType>DATE</valueType> |
1596 |
28 Mar 12 |
nicklas |
494 |
</parameters> |
1596 |
28 Mar 12 |
nicklas |
495 |
</action-factory> |
1596 |
28 Mar 12 |
nicklas |
496 |
</extension> |
1596 |
28 Mar 12 |
nicklas |
497 |
|
1596 |
28 Mar 12 |
nicklas |
498 |
<extension |
1596 |
28 Mar 12 |
nicklas |
499 |
id="list.owner-email" |
1596 |
28 Mar 12 |
nicklas |
500 |
extends="net.sf.basedb.clients.web.listcolumn.ownable" |
1596 |
28 Mar 12 |
nicklas |
501 |
> |
1596 |
28 Mar 12 |
nicklas |
502 |
<index>2</index> |
1596 |
28 Mar 12 |
nicklas |
503 |
<about> |
1596 |
28 Mar 12 |
nicklas |
504 |
<name>Owner email</name> |
1596 |
28 Mar 12 |
nicklas |
505 |
<description> |
1596 |
28 Mar 12 |
nicklas |
506 |
Add a column to the list page of all ownable items that display |
1596 |
28 Mar 12 |
nicklas |
507 |
the owner's email address. |
1596 |
28 Mar 12 |
nicklas |
508 |
</description> |
1596 |
28 Mar 12 |
nicklas |
509 |
</about> |
1596 |
28 Mar 12 |
nicklas |
510 |
<action-factory> |
1596 |
28 Mar 12 |
nicklas |
511 |
<factory-class> |
1596 |
28 Mar 12 |
nicklas |
512 |
net.sf.basedb.clients.web.extensions.list.PropertyPathActionFactory |
1596 |
28 Mar 12 |
nicklas |
513 |
</factory-class> |
1596 |
28 Mar 12 |
nicklas |
514 |
<parameters> |
1596 |
28 Mar 12 |
nicklas |
515 |
<id>owner.email</id> |
1596 |
28 Mar 12 |
nicklas |
516 |
<title>Owner email</title> |
1596 |
28 Mar 12 |
nicklas |
517 |
<property>owner.email</property> |
1596 |
28 Mar 12 |
nicklas |
518 |
<valueType>STRING</valueType> |
1596 |
28 Mar 12 |
nicklas |
519 |
<formatterClass>net.sf.basedb.clients.web.formatter.NiceFormatter</formatterClass> |
1596 |
28 Mar 12 |
nicklas |
520 |
<exportFormatterClass>net.sf.basedb.examples.formatter.ToUpperCaseFormatter</exportFormatterClass> |
1596 |
28 Mar 12 |
nicklas |
521 |
</parameters> |
1596 |
28 Mar 12 |
nicklas |
522 |
</action-factory> |
1596 |
28 Mar 12 |
nicklas |
523 |
</extension> |
1596 |
28 Mar 12 |
nicklas |
524 |
|
1596 |
28 Mar 12 |
nicklas |
525 |
<extension |
1596 |
28 Mar 12 |
nicklas |
526 |
id="list.rawbioassay-data-files" |
1596 |
28 Mar 12 |
nicklas |
527 |
extends="net.sf.basedb.clients.web.listcolumn.rawbioassay" |
1596 |
28 Mar 12 |
nicklas |
528 |
> |
1596 |
28 Mar 12 |
nicklas |
529 |
<index>10</index> |
1596 |
28 Mar 12 |
nicklas |
530 |
<about> |
1596 |
28 Mar 12 |
nicklas |
531 |
<name>Data files</name> |
1596 |
28 Mar 12 |
nicklas |
532 |
<description> |
1596 |
28 Mar 12 |
nicklas |
533 |
Adds a column to the rawbioassays list that display data files attached to |
1596 |
28 Mar 12 |
nicklas |
534 |
each raw bioassay. |
1596 |
28 Mar 12 |
nicklas |
535 |
</description> |
1596 |
28 Mar 12 |
nicklas |
536 |
</about> |
1596 |
28 Mar 12 |
nicklas |
537 |
<action-factory> |
1596 |
28 Mar 12 |
nicklas |
538 |
<factory-class> |
1596 |
28 Mar 12 |
nicklas |
539 |
net.sf.basedb.examples.extensions.list.DataFilesActionFactory |
1596 |
28 Mar 12 |
nicklas |
540 |
</factory-class> |
1596 |
28 Mar 12 |
nicklas |
541 |
</action-factory> |
1596 |
28 Mar 12 |
nicklas |
542 |
</extension> |
1602 |
17 Apr 12 |
nicklas |
543 |
|
1602 |
17 Apr 12 |
nicklas |
544 |
<extension |
1602 |
17 Apr 12 |
nicklas |
545 |
id="list.extra-id" |
1602 |
17 Apr 12 |
nicklas |
546 |
extends="net.sf.basedb.clients.web.listcolumn.all" |
1602 |
17 Apr 12 |
nicklas |
547 |
> |
1602 |
17 Apr 12 |
nicklas |
548 |
<index>99</index> |
1602 |
17 Apr 12 |
nicklas |
549 |
<about> |
1602 |
17 Apr 12 |
nicklas |
550 |
<name>Extra id</name> |
1602 |
17 Apr 12 |
nicklas |
551 |
<description> |
1602 |
17 Apr 12 |
nicklas |
552 |
Add an extra id column to all lists. Useful for |
1602 |
17 Apr 12 |
nicklas |
553 |
testing that the extension system is working. |
1602 |
17 Apr 12 |
nicklas |
554 |
</description> |
1602 |
17 Apr 12 |
nicklas |
555 |
</about> |
1602 |
17 Apr 12 |
nicklas |
556 |
<action-factory> |
1602 |
17 Apr 12 |
nicklas |
557 |
<factory-class> |
1602 |
17 Apr 12 |
nicklas |
558 |
net.sf.basedb.clients.web.extensions.list.PropertyPathActionFactory |
1602 |
17 Apr 12 |
nicklas |
559 |
</factory-class> |
1602 |
17 Apr 12 |
nicklas |
560 |
<parameters> |
1602 |
17 Apr 12 |
nicklas |
561 |
<id>xid</id> |
1602 |
17 Apr 12 |
nicklas |
562 |
<title>XID</title> |
1602 |
17 Apr 12 |
nicklas |
563 |
<property>id</property> |
1602 |
17 Apr 12 |
nicklas |
564 |
<valueType>INT</valueType> |
1602 |
17 Apr 12 |
nicklas |
565 |
</parameters> |
1602 |
17 Apr 12 |
nicklas |
566 |
</action-factory> |
1602 |
17 Apr 12 |
nicklas |
567 |
</extension> |
1596 |
28 Mar 12 |
nicklas |
568 |
|
1602 |
17 Apr 12 |
nicklas |
569 |
<extension |
1602 |
17 Apr 12 |
nicklas |
570 |
id="loader.user" |
1602 |
17 Apr 12 |
nicklas |
571 |
extends="net.sf.basedb.util.overview.loader"> |
1602 |
17 Apr 12 |
nicklas |
572 |
<index>1</index> |
1602 |
17 Apr 12 |
nicklas |
573 |
<about> |
1602 |
17 Apr 12 |
nicklas |
574 |
<name>Owner of item</name> |
1602 |
17 Apr 12 |
nicklas |
575 |
<description> |
1602 |
17 Apr 12 |
nicklas |
576 |
Load the owner of each item as a property |
1602 |
17 Apr 12 |
nicklas |
577 |
node in the item overview. |
1602 |
17 Apr 12 |
nicklas |
578 |
</description> |
1602 |
17 Apr 12 |
nicklas |
579 |
</about> |
1602 |
17 Apr 12 |
nicklas |
580 |
<action-factory> |
1602 |
17 Apr 12 |
nicklas |
581 |
<factory-class> |
1602 |
17 Apr 12 |
nicklas |
582 |
net.sf.basedb.examples.extensions.overview.OwnerNodeLoaderFactory |
1602 |
17 Apr 12 |
nicklas |
583 |
</factory-class> |
1602 |
17 Apr 12 |
nicklas |
584 |
</action-factory> |
1603 |
18 Apr 12 |
nicklas |
585 |
</extension> |
1603 |
18 Apr 12 |
nicklas |
586 |
|
1603 |
18 Apr 12 |
nicklas |
587 |
<extension |
1603 |
18 Apr 12 |
nicklas |
588 |
id="validator.user" |
1603 |
18 Apr 12 |
nicklas |
589 |
extends="net.sf.basedb.util.overview.validator"> |
1603 |
18 Apr 12 |
nicklas |
590 |
<index>1</index> |
1603 |
18 Apr 12 |
nicklas |
591 |
<about> |
1603 |
18 Apr 12 |
nicklas |
592 |
<name>Check the owner of an item</name> |
1603 |
18 Apr 12 |
nicklas |
593 |
<description> |
1603 |
18 Apr 12 |
nicklas |
594 |
This validator check the following things: |
1603 |
18 Apr 12 |
nicklas |
595 |
* Missing and denied access to the owner of an item |
1603 |
18 Apr 12 |
nicklas |
596 |
* That an URL has been specified for the user and has a valid syntax |
1603 |
18 Apr 12 |
nicklas |
597 |
</description> |
1603 |
18 Apr 12 |
nicklas |
598 |
</about> |
1603 |
18 Apr 12 |
nicklas |
599 |
<action-factory> |
1603 |
18 Apr 12 |
nicklas |
600 |
<factory-class> |
1603 |
18 Apr 12 |
nicklas |
601 |
net.sf.basedb.examples.extensions.overview.OwnerValidatorFactory |
1603 |
18 Apr 12 |
nicklas |
602 |
</factory-class> |
1603 |
18 Apr 12 |
nicklas |
603 |
</action-factory> |
1603 |
18 Apr 12 |
nicklas |
604 |
</extension> |
1602 |
17 Apr 12 |
nicklas |
605 |
|
1603 |
18 Apr 12 |
nicklas |
606 |
<extension |
1603 |
18 Apr 12 |
nicklas |
607 |
id="validationrule.missing-owner" |
1603 |
18 Apr 12 |
nicklas |
608 |
extends="net.sf.basedb.util.overview.validationrule"> |
1603 |
18 Apr 12 |
nicklas |
609 |
<index>1</index> |
1603 |
18 Apr 12 |
nicklas |
610 |
<about> |
1603 |
18 Apr 12 |
nicklas |
611 |
<name>Missing owner</name> |
1603 |
18 Apr 12 |
nicklas |
612 |
<description> |
1603 |
18 Apr 12 |
nicklas |
613 |
Checks if an owner has been set for an item. Can't really happen |
1603 |
18 Apr 12 |
nicklas |
614 |
since an owner is always set by the core API. |
1603 |
18 Apr 12 |
nicklas |
615 |
</description> |
1603 |
18 Apr 12 |
nicklas |
616 |
</about> |
1603 |
18 Apr 12 |
nicklas |
617 |
<action-factory> |
1603 |
18 Apr 12 |
nicklas |
618 |
<factory-class> |
1603 |
18 Apr 12 |
nicklas |
619 |
net.sf.basedb.util.overview.extensions.ReflectValidationRuleActionFactory |
1603 |
18 Apr 12 |
nicklas |
620 |
</factory-class> |
1603 |
18 Apr 12 |
nicklas |
621 |
<parameters> |
1603 |
18 Apr 12 |
nicklas |
622 |
<field>net.sf.basedb.examples.extensions.overview.OwnerValidator.MISSING_OWNER</field> |
1603 |
18 Apr 12 |
nicklas |
623 |
</parameters> |
1603 |
18 Apr 12 |
nicklas |
624 |
</action-factory> |
1602 |
17 Apr 12 |
nicklas |
625 |
</extension> |
1603 |
18 Apr 12 |
nicklas |
626 |
|
1603 |
18 Apr 12 |
nicklas |
627 |
<extension |
1603 |
18 Apr 12 |
nicklas |
628 |
id="validationrule.denied-owner" |
1603 |
18 Apr 12 |
nicklas |
629 |
extends="net.sf.basedb.util.overview.validationrule"> |
1603 |
18 Apr 12 |
nicklas |
630 |
<index>2</index> |
1603 |
18 Apr 12 |
nicklas |
631 |
<about> |
1603 |
18 Apr 12 |
nicklas |
632 |
<name>Access denied to owner</name> |
1603 |
18 Apr 12 |
nicklas |
633 |
<description>Checks if the user is denied access to the owner of an item.</description> |
1603 |
18 Apr 12 |
nicklas |
634 |
</about> |
1603 |
18 Apr 12 |
nicklas |
635 |
<action-factory> |
1603 |
18 Apr 12 |
nicklas |
636 |
<factory-class> |
1603 |
18 Apr 12 |
nicklas |
637 |
net.sf.basedb.util.overview.extensions.ReflectValidationRuleActionFactory |
1603 |
18 Apr 12 |
nicklas |
638 |
</factory-class> |
1603 |
18 Apr 12 |
nicklas |
639 |
<parameters> |
1603 |
18 Apr 12 |
nicklas |
640 |
<field>net.sf.basedb.examples.extensions.overview.OwnerValidator.DENIED_OWNER</field> |
1603 |
18 Apr 12 |
nicklas |
641 |
</parameters> |
1603 |
18 Apr 12 |
nicklas |
642 |
</action-factory> |
1603 |
18 Apr 12 |
nicklas |
643 |
</extension> |
1603 |
18 Apr 12 |
nicklas |
644 |
|
1603 |
18 Apr 12 |
nicklas |
645 |
<extension |
1603 |
18 Apr 12 |
nicklas |
646 |
id="validationrule.missing-url" |
1603 |
18 Apr 12 |
nicklas |
647 |
extends="net.sf.basedb.util.overview.validationrule"> |
1603 |
18 Apr 12 |
nicklas |
648 |
<index>3</index> |
1603 |
18 Apr 12 |
nicklas |
649 |
<about> |
1603 |
18 Apr 12 |
nicklas |
650 |
<name>Missing URL</name> |
1603 |
18 Apr 12 |
nicklas |
651 |
<description>Check that an URL has been set for a user</description> |
1603 |
18 Apr 12 |
nicklas |
652 |
</about> |
1603 |
18 Apr 12 |
nicklas |
653 |
<action-factory> |
1603 |
18 Apr 12 |
nicklas |
654 |
<factory-class> |
1603 |
18 Apr 12 |
nicklas |
655 |
net.sf.basedb.util.overview.extensions.ReflectValidationRuleActionFactory |
1603 |
18 Apr 12 |
nicklas |
656 |
</factory-class> |
1603 |
18 Apr 12 |
nicklas |
657 |
<parameters> |
1603 |
18 Apr 12 |
nicklas |
658 |
<field>net.sf.basedb.examples.extensions.overview.OwnerValidator.MISSING_URL</field> |
1603 |
18 Apr 12 |
nicklas |
659 |
</parameters> |
1603 |
18 Apr 12 |
nicklas |
660 |
</action-factory> |
1603 |
18 Apr 12 |
nicklas |
661 |
</extension> |
1596 |
28 Mar 12 |
nicklas |
662 |
|
1603 |
18 Apr 12 |
nicklas |
663 |
<extension |
1603 |
18 Apr 12 |
nicklas |
664 |
id="validationrule.invalid-url" |
1603 |
18 Apr 12 |
nicklas |
665 |
extends="net.sf.basedb.util.overview.validationrule"> |
1603 |
18 Apr 12 |
nicklas |
666 |
<index>4</index> |
1603 |
18 Apr 12 |
nicklas |
667 |
<about> |
1603 |
18 Apr 12 |
nicklas |
668 |
<name>Invalid URL</name> |
1603 |
18 Apr 12 |
nicklas |
669 |
<description>Checks if an URL has a valid syntax.</description> |
1603 |
18 Apr 12 |
nicklas |
670 |
</about> |
1603 |
18 Apr 12 |
nicklas |
671 |
<action-factory> |
1603 |
18 Apr 12 |
nicklas |
672 |
<factory-class> |
1603 |
18 Apr 12 |
nicklas |
673 |
net.sf.basedb.util.overview.extensions.ReflectValidationRuleActionFactory |
1603 |
18 Apr 12 |
nicklas |
674 |
</factory-class> |
1603 |
18 Apr 12 |
nicklas |
675 |
<parameters> |
1603 |
18 Apr 12 |
nicklas |
676 |
<field>net.sf.basedb.examples.extensions.overview.OwnerValidator.INVALID_URL</field> |
1603 |
18 Apr 12 |
nicklas |
677 |
</parameters> |
1603 |
18 Apr 12 |
nicklas |
678 |
</action-factory> |
1603 |
18 Apr 12 |
nicklas |
679 |
</extension> |
1603 |
18 Apr 12 |
nicklas |
680 |
|
1602 |
17 Apr 12 |
nicklas |
681 |
<extension |
1602 |
17 Apr 12 |
nicklas |
682 |
id="loader.role" |
1602 |
17 Apr 12 |
nicklas |
683 |
extends="net.sf.basedb.util.overview.loader"> |
1602 |
17 Apr 12 |
nicklas |
684 |
<index>2</index> |
1602 |
17 Apr 12 |
nicklas |
685 |
<about> |
1602 |
17 Apr 12 |
nicklas |
686 |
<name>Role membership</name> |
1602 |
17 Apr 12 |
nicklas |
687 |
<description> |
1602 |
17 Apr 12 |
nicklas |
688 |
Load the role membership of users as a folder-node with one item-node |
1602 |
17 Apr 12 |
nicklas |
689 |
for each role. |
1602 |
17 Apr 12 |
nicklas |
690 |
</description> |
1602 |
17 Apr 12 |
nicklas |
691 |
</about> |
1602 |
17 Apr 12 |
nicklas |
692 |
<action-factory> |
1602 |
17 Apr 12 |
nicklas |
693 |
<factory-class> |
1602 |
17 Apr 12 |
nicklas |
694 |
net.sf.basedb.examples.extensions.overview.RoleNodeLoaderFactory |
1602 |
17 Apr 12 |
nicklas |
695 |
</factory-class> |
1602 |
17 Apr 12 |
nicklas |
696 |
</action-factory> |
1602 |
17 Apr 12 |
nicklas |
697 |
</extension> |
1602 |
17 Apr 12 |
nicklas |
698 |
|
1603 |
18 Apr 12 |
nicklas |
699 |
<extension |
1603 |
18 Apr 12 |
nicklas |
700 |
id="validator.role" |
1603 |
18 Apr 12 |
nicklas |
701 |
extends="net.sf.basedb.util.overview.validator"> |
1603 |
18 Apr 12 |
nicklas |
702 |
<index>2</index> |
1603 |
18 Apr 12 |
nicklas |
703 |
<about> |
1603 |
18 Apr 12 |
nicklas |
704 |
<name>Check the role membership of a user</name> |
1603 |
18 Apr 12 |
nicklas |
705 |
<description> |
1603 |
18 Apr 12 |
nicklas |
706 |
This validator check the following things: |
1603 |
18 Apr 12 |
nicklas |
707 |
* The the user is a member of at least one role |
1603 |
18 Apr 12 |
nicklas |
708 |
</description> |
1603 |
18 Apr 12 |
nicklas |
709 |
</about> |
1603 |
18 Apr 12 |
nicklas |
710 |
<action-factory> |
1603 |
18 Apr 12 |
nicklas |
711 |
<factory-class> |
1603 |
18 Apr 12 |
nicklas |
712 |
net.sf.basedb.examples.extensions.overview.RoleValidatorFactory |
1603 |
18 Apr 12 |
nicklas |
713 |
</factory-class> |
1603 |
18 Apr 12 |
nicklas |
714 |
</action-factory> |
1603 |
18 Apr 12 |
nicklas |
715 |
</extension> |
1602 |
17 Apr 12 |
nicklas |
716 |
|
1603 |
18 Apr 12 |
nicklas |
717 |
<extension |
1603 |
18 Apr 12 |
nicklas |
718 |
id="validationrule.missing-role" |
1603 |
18 Apr 12 |
nicklas |
719 |
extends="net.sf.basedb.util.overview.validationrule"> |
1603 |
18 Apr 12 |
nicklas |
720 |
<index>5</index> |
1603 |
18 Apr 12 |
nicklas |
721 |
<about> |
1603 |
18 Apr 12 |
nicklas |
722 |
<name>Missing role</name> |
1603 |
18 Apr 12 |
nicklas |
723 |
<description>Checks if a user is a member of at least one role.</description> |
1603 |
18 Apr 12 |
nicklas |
724 |
</about> |
1603 |
18 Apr 12 |
nicklas |
725 |
<action-factory> |
1603 |
18 Apr 12 |
nicklas |
726 |
<factory-class> |
1603 |
18 Apr 12 |
nicklas |
727 |
net.sf.basedb.util.overview.extensions.ReflectValidationRuleActionFactory |
1603 |
18 Apr 12 |
nicklas |
728 |
</factory-class> |
1603 |
18 Apr 12 |
nicklas |
729 |
<parameters> |
1603 |
18 Apr 12 |
nicklas |
730 |
<field>net.sf.basedb.examples.extensions.overview.RoleValidator.MISSING_ROLE</field> |
1603 |
18 Apr 12 |
nicklas |
731 |
</parameters> |
1603 |
18 Apr 12 |
nicklas |
732 |
</action-factory> |
1603 |
18 Apr 12 |
nicklas |
733 |
</extension> |
1603 |
18 Apr 12 |
nicklas |
734 |
|
1611 |
23 Apr 12 |
nicklas |
735 |
<extension |
1611 |
23 Apr 12 |
nicklas |
736 |
id="overview.info" |
1611 |
23 Apr 12 |
nicklas |
737 |
extends="net.sf.basedb.clients.web.overview.info-details" |
1611 |
23 Apr 12 |
nicklas |
738 |
> |
1611 |
23 Apr 12 |
nicklas |
739 |
<index>1</index> |
1611 |
23 Apr 12 |
nicklas |
740 |
<about> |
1611 |
23 Apr 12 |
nicklas |
741 |
<name>Overview information</name> |
1611 |
23 Apr 12 |
nicklas |
742 |
<description> |
1611 |
23 Apr 12 |
nicklas |
743 |
This example adds a section to the information pane in |
1611 |
23 Apr 12 |
nicklas |
744 |
the "Item overview" functionality. It will display some |
1611 |
23 Apr 12 |
nicklas |
745 |
generic information about the current item. |
1611 |
23 Apr 12 |
nicklas |
746 |
</description> |
1611 |
23 Apr 12 |
nicklas |
747 |
</about> |
1611 |
23 Apr 12 |
nicklas |
748 |
<action-factory> |
1611 |
23 Apr 12 |
nicklas |
749 |
<factory-class> |
1611 |
23 Apr 12 |
nicklas |
750 |
net.sf.basedb.examples.extensions.overview.InfoSectionFactory |
1611 |
23 Apr 12 |
nicklas |
751 |
</factory-class> |
1611 |
23 Apr 12 |
nicklas |
752 |
<parameters> |
1611 |
23 Apr 12 |
nicklas |
753 |
<id>example.moreInformation</id> |
1611 |
23 Apr 12 |
nicklas |
754 |
<title>More information</title> |
1611 |
23 Apr 12 |
nicklas |
755 |
<include>~/overview_info.jsp</include> |
1611 |
23 Apr 12 |
nicklas |
756 |
</parameters> |
1611 |
23 Apr 12 |
nicklas |
757 |
</action-factory> |
1611 |
23 Apr 12 |
nicklas |
758 |
</extension> |
1711 |
07 Aug 12 |
nicklas |
759 |
|
1711 |
07 Aug 12 |
nicklas |
760 |
<extension |
1711 |
07 Aug 12 |
nicklas |
761 |
id="logging.stdout" |
1711 |
07 Aug 12 |
nicklas |
762 |
extends="net.sf.basedb.core.log-manager" |
1711 |
07 Aug 12 |
nicklas |
763 |
> |
1711 |
07 Aug 12 |
nicklas |
764 |
<about> |
1711 |
07 Aug 12 |
nicklas |
765 |
<name>Stdout log manager</name> |
1711 |
07 Aug 12 |
nicklas |
766 |
<description> |
1711 |
07 Aug 12 |
nicklas |
767 |
A simple log manager that writes logging information to stdout. It |
1711 |
07 Aug 12 |
nicklas |
768 |
uses the core database logger for collecting the log information. |
1711 |
07 Aug 12 |
nicklas |
769 |
</description> |
1711 |
07 Aug 12 |
nicklas |
770 |
</about> |
1711 |
07 Aug 12 |
nicklas |
771 |
<index>1</index> |
1711 |
07 Aug 12 |
nicklas |
772 |
<action-factory> |
1711 |
07 Aug 12 |
nicklas |
773 |
<factory-class>net.sf.basedb.examples.extensions.log.StdoutLogMangerFactory</factory-class> |
1711 |
07 Aug 12 |
nicklas |
774 |
</action-factory> |
1711 |
07 Aug 12 |
nicklas |
775 |
</extension> |
2985 |
28 Nov 14 |
nicklas |
776 |
|
2985 |
28 Nov 14 |
nicklas |
777 |
<extension |
2985 |
28 Nov 14 |
nicklas |
778 |
id="pink-panther" |
2985 |
28 Nov 14 |
nicklas |
779 |
extends="net.sf.basedb.clients.web.global-skin" |
2985 |
28 Nov 14 |
nicklas |
780 |
> |
2985 |
28 Nov 14 |
nicklas |
781 |
<about> |
2985 |
28 Nov 14 |
nicklas |
782 |
<name>Pink Panther Skin</name> |
2985 |
28 Nov 14 |
nicklas |
783 |
<description> |
2985 |
28 Nov 14 |
nicklas |
784 |
An example skin that replaces the BASE logo and some other |
2985 |
28 Nov 14 |
nicklas |
785 |
images with a "pink panther" variant and makes some other changes. |
2985 |
28 Nov 14 |
nicklas |
786 |
</description> |
2985 |
28 Nov 14 |
nicklas |
787 |
</about> |
2985 |
28 Nov 14 |
nicklas |
788 |
<action-factory> |
2985 |
28 Nov 14 |
nicklas |
789 |
<factory-class> |
2985 |
28 Nov 14 |
nicklas |
790 |
net.sf.basedb.clients.web.extensions.skin.FixedSkinActionFactory |
2985 |
28 Nov 14 |
nicklas |
791 |
</factory-class> |
2985 |
28 Nov 14 |
nicklas |
792 |
<parameters> |
2985 |
28 Nov 14 |
nicklas |
793 |
<id>examples</id> |
2985 |
28 Nov 14 |
nicklas |
794 |
<stylesheet>~/pink-panther/skin.css</stylesheet> |
2985 |
28 Nov 14 |
nicklas |
795 |
<script>~/pink-panther/skin.js</script> |
2985 |
28 Nov 14 |
nicklas |
796 |
<image-remap-dir>/pink-panther</image-remap-dir> |
2985 |
28 Nov 14 |
nicklas |
797 |
</parameters> |
2985 |
28 Nov 14 |
nicklas |
798 |
</action-factory> |
2985 |
28 Nov 14 |
nicklas |
799 |
</extension> |
2985 |
28 Nov 14 |
nicklas |
800 |
|
4238 |
15 Nov 16 |
nicklas |
801 |
<extension |
4238 |
15 Nov 16 |
nicklas |
802 |
id="example-action-1" |
4238 |
15 Nov 16 |
nicklas |
803 |
extends="net.sf.basedb.examples.extensions.custom-extension-point" |
4238 |
15 Nov 16 |
nicklas |
804 |
> |
4238 |
15 Nov 16 |
nicklas |
805 |
<about> |
4238 |
15 Nov 16 |
nicklas |
806 |
<name>Example action</name> |
4238 |
15 Nov 16 |
nicklas |
807 |
<description> |
4238 |
15 Nov 16 |
nicklas |
808 |
One example of an action extending the custom extension |
4238 |
15 Nov 16 |
nicklas |
809 |
point. |
4238 |
15 Nov 16 |
nicklas |
810 |
</description> |
4238 |
15 Nov 16 |
nicklas |
811 |
</about> |
4238 |
15 Nov 16 |
nicklas |
812 |
<action-factory> |
4238 |
15 Nov 16 |
nicklas |
813 |
<factory-class> |
4238 |
15 Nov 16 |
nicklas |
814 |
net.sf.basedb.examples.extensions.custom.ExampleActionFactory |
4238 |
15 Nov 16 |
nicklas |
815 |
</factory-class> |
4238 |
15 Nov 16 |
nicklas |
816 |
<parameters> |
4238 |
15 Nov 16 |
nicklas |
817 |
<name>Example action #1</name> |
4238 |
15 Nov 16 |
nicklas |
818 |
</parameters> |
4238 |
15 Nov 16 |
nicklas |
819 |
</action-factory> |
4238 |
15 Nov 16 |
nicklas |
820 |
</extension> |
1611 |
23 Apr 12 |
nicklas |
821 |
|
636 |
19 Mar 08 |
nicklas |
822 |
</extensions> |