KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > ivata > groupware > navigation > menu > MenuConstants


1 /*
2  * Copyright (c) 2001 - 2005 ivata limited.
3  * All rights reserved.
4  * -----------------------------------------------------------------------------
5  * ivata groupware may be redistributed under the GNU General Public
6  * License as published by the Free Software Foundation;
7  * version 2 of the License.
8  *
9  * These programs are free software; you can redistribute them and/or
10  * modify them under the terms of the GNU General Public License
11  * as published by the Free Software Foundation; version 2 of the License.
12  *
13  * These programs are distributed in the hope that they will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
16  *
17  * See the GNU General Public License in the file LICENSE.txt for more
18  * details.
19  *
20  * If you would like a copy of the GNU General Public License write to
21  *
22  * Free Software Foundation, Inc.
23  * 59 Temple Place - Suite 330
24  * Boston, MA 02111-1307, USA.
25  *
26  *
27  * To arrange commercial support and licensing, contact ivata at
28  * http://www.ivata.com/contact.jsp
29  * -----------------------------------------------------------------------------
30  * $Log: MenuConstants.java,v $
31  * Revision 1.3 2005/04/10 20:10:05 colinmacleod
32  * Added new themes.
33  * Changed id type to String.
34  * Changed i tag to em and b tag to strong.
35  * Improved PicoContainerFactory with NanoContainer scripts.
36  *
37  * Revision 1.2 2005/04/09 17:19:58 colinmacleod
38  * Changed copyright text to GPL v2 explicitly.
39  *
40  * Revision 1.1.1.1 2005/03/10 17:51:32 colinmacleod
41  * Restructured ivata op around Hibernate/PicoContainer.
42  * Renamed ivata groupware.
43  *
44  * Revision 1.1 2004/09/30 15:16:04 colinmacleod
45  * Split off addressbook elements into security subproject.
46  *
47  * Revision 1.3 2004/03/21 21:16:19 colinmacleod
48  * Shortened name to ivata op.
49  *
50  * Revision 1.2 2004/02/01 22:00:34 colinmacleod
51  * Added full names to author tags
52  *
53  * Revision 1.1.1.1 2004/01/27 20:57:59 colinmacleod
54  * Moved ivata openportal to SourceForge..
55  *
56  * Revision 1.2 2003/10/15 13:49:57 colin
57  * fixing fo Xdoclet
58  *
59  * Revision 1.3 2003/02/24 19:27:17 colin
60  * restructured file paths
61  *
62  * Revision 1.2 2003/02/04 17:43:50 colin
63  * copyright notice
64  *
65  * Revision 1.1 2002/07/02 14:57:54 colin
66  * tried to fix jbuilder EJB designer
67  * -----------------------------------------------------------------------------
68  */

69 package com.ivata.groupware.navigation.menu;
70
71
72
73
74 /**
75  * <p>Constants applicable to the menu navigations tools in the system.</p>
76  *
77  * @since 2002-07-01
78  * @author Colin MacLeod
79  * <a HREF='mailto:colin.macleod@ivata.com'>colin.macleod@ivata.com</a>
80  * @version $Revision: 1.3 $
81  * @see MenuBean
82  */

83 public class MenuConstants {
84     /**
85      * <p>Defines dynamic short-cuts which move when you are over them.</p>
86      */

87     public final static Integer JavaDoc SHORTCUT_STYLE_DYNAMIC = new Integer JavaDoc(0);
88     /**
89      * <p>Defines short-cuts when you have to click on them to change menu.</p>
90      */

91     public final static Integer JavaDoc SHORTCUT_STYLE_CLICK = new Integer JavaDoc(1);
92     /**
93      * <p>Defines short-cuts where all the menues are always open.</p>
94      */

95     public final static Integer JavaDoc SHORTCUT_STYLE_OPEN = new Integer JavaDoc(2);
96     /**
97      * Id of the main menu.
98      */

99     public final static String JavaDoc ID_MAIN = "-1";
100     /**
101      * Id of the favorites menu.
102      */

103     public final static String JavaDoc ID_FAVORITES = "0";
104 }
105
Popular Tags