01: /*
02: * GeoTools - OpenSource mapping toolkit
03: * http://geotools.org
04: * (C) 2005-2006, GeoTools Project Managment Committee (PMC)
05: * (C) 2005, Institut de Recherche pour le Développement
06: *
07: * This library is free software; you can redistribute it and/or
08: * modify it under the terms of the GNU Lesser General Public
09: * License as published by the Free Software Foundation;
10: * version 2.1 of the License.
11: *
12: * This library 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 GNU
15: * Lesser General Public License for more details.
16: */
17: package org.geotools.openoffice;
18:
19: /**
20: * Information about a method to be exported as <A HREF="http://www.openoffice.org">OpenOffice</A>
21: * add-in.
22: *
23: * @since 2.2
24: * @source $URL: http://svn.geotools.org/geotools/tags/2.4.1/modules/extension/openoffice/src/main/java/org/geotools/openoffice/MethodInfo.java $
25: * @version $Id: MethodInfo.java 20771 2006-07-31 12:52:44Z jgarnett $
26: * @author Martin Desruisseaux
27: */
28: public final class MethodInfo {
29: /** The category name. */
30: final String category;
31:
32: /** The display name. */
33: final String display;
34:
35: /** A description of the exported method. */
36: final String description;
37:
38: /** Arguments names (even index) and descriptions (odd index). */
39: final String[] arguments;
40:
41: /**
42: * Constructs method informations.
43: *
44: * @param category The category name.
45: * @param display The display name.
46: * @param description A description of the exported method.
47: * @param arguments Arguments names (even index) and descriptions (odd index).
48: */
49: public MethodInfo(final String category, final String display,
50: final String description, final String[] arguments) {
51: this.category = category;
52: this.display = display;
53: this.description = description;
54: this.arguments = arguments;
55: }
56: }
|