001: /*
002: * Copyright (c) 2001 - 2005 ivata limited.
003: * All rights reserved.
004: * -----------------------------------------------------------------------------
005: * ivata groupware may be redistributed under the GNU General Public
006: * License as published by the Free Software Foundation;
007: * version 2 of the License.
008: *
009: * These programs are free software; you can redistribute them and/or
010: * modify them under the terms of the GNU General Public License
011: * as published by the Free Software Foundation; version 2 of the License.
012: *
013: * These programs are distributed in the hope that they will be useful,
014: * but WITHOUT ANY WARRANTY; without even the implied warranty of
015: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
016: *
017: * See the GNU General Public License in the file LICENSE.txt for more
018: * details.
019: *
020: * If you would like a copy of the GNU General Public License write to
021: *
022: * Free Software Foundation, Inc.
023: * 59 Temple Place - Suite 330
024: * Boston, MA 02111-1307, USA.
025: *
026: *
027: * To arrange commercial support and licensing, contact ivata at
028: * http://www.ivata.com/contact.jsp
029: * -----------------------------------------------------------------------------
030: * $Log: MenuConstants.java,v $
031: * Revision 1.5 2005/10/11 18:56:19 colinmacleod
032: * Fixed some checkstyle and javadoc issues.
033: *
034: * Revision 1.4 2005/10/02 14:08:58 colinmacleod
035: * Added/improved log4j logging.
036: *
037: * Revision 1.3 2005/04/10 20:10:05 colinmacleod
038: * Added new themes.
039: * Changed id type to String.
040: * Changed i tag to em and b tag to strong.
041: * Improved PicoContainerFactory with NanoContainer scripts.
042: *
043: * Revision 1.2 2005/04/09 17:19:58 colinmacleod
044: * Changed copyright text to GPL v2 explicitly.
045: *
046: * Revision 1.1.1.1 2005/03/10 17:51:32 colinmacleod
047: * Restructured ivata op around Hibernate/PicoContainer.
048: * Renamed ivata groupware.
049: *
050: * Revision 1.1 2004/09/30 15:16:04 colinmacleod
051: * Split off addressbook elements into security subproject.
052: *
053: * Revision 1.3 2004/03/21 21:16:19 colinmacleod
054: * Shortened name to ivata op.
055: *
056: * Revision 1.2 2004/02/01 22:00:34 colinmacleod
057: * Added full names to author tags
058: *
059: * Revision 1.1.1.1 2004/01/27 20:57:59 colinmacleod
060: * Moved ivata openportal to SourceForge..
061: *
062: * Revision 1.2 2003/10/15 13:49:57 colin
063: * fixing fo Xdoclet
064: *
065: * Revision 1.3 2003/02/24 19:27:17 colin
066: * restructured file paths
067: *
068: * Revision 1.2 2003/02/04 17:43:50 colin
069: * copyright notice
070: *
071: * Revision 1.1 2002/07/02 14:57:54 colin
072: * tried to fix jbuilder EJB designer
073: * -----------------------------------------------------------------------------
074: */
075: package com.ivata.groupware.navigation.menu;
076:
077: /**
078: * <p>Constants applicable to the menu navigations tools in the system.</p>
079: *
080: * @since 2002-07-01
081: * @author Colin MacLeod
082: * <a href='mailto:colin.macleod@ivata.com'>colin.macleod@ivata.com</a>
083: * @version $Revision: 1.5 $
084: * @see MenuBean
085: */
086: public final class MenuConstants {
087: /**
088: * <p>Defines dynamic short-cuts which move when you are over them.</p>
089: */
090: public static final Integer SHORTCUT_STYLE_DYNAMIC = new Integer(0);
091: /**
092: * <p>Defines short-cuts when you have to click on them to change menu.</p>
093: */
094: public static final Integer SHORTCUT_STYLE_CLICK = new Integer(1);
095: /**
096: * <p>Defines short-cuts where all the menues are always open.</p>
097: */
098: public static final Integer SHORTCUT_STYLE_OPEN = new Integer(2);
099: /**
100: * Id of the main menu.
101: */
102: public static final String ID_MAIN = "-1";
103: /**
104: * Id of the favorites menu.
105: */
106: public static final String ID_FAVORITES = "0";
107:
108: /**
109: * Private default constructor enforces utility class behavior.
110: */
111: private MenuConstants() {
112: }
113: }
|