ate 2005/04/21 00:56:10 Modified: jetspeed-api/src/java/org/apache/jetspeed JetspeedActions.java Log: Defined custom WindowStates RESTORED and SECURED and derived the RESTORE and SECURE action names from them. Revision Changes Path 1.2 +8 -6 jakarta-jetspeed-2/jetspeed-api/src/java/org/apache/jetspeed/JetspeedActions.java Index: JetspeedActions.java =================================================================== RCS file: /home/cvs/jakarta-jetspeed-2/jetspeed-api/src/java/org/apache/jetspeed/JetspeedActions.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- JetspeedActions.java 3 Sep 2004 18:22:55 -0000 1.1 +++ JetspeedActions.java 21 Apr 2005 07:56:10 -0000 1.2 @@ -44,19 +44,21 @@ public static final int MASK_EDIT = 0x10; public static final int MASK_HELP = 0x20; public static final int MASK_SECURE = 0x40; - + + public final WindowState RESTORED = new WindowState("restore"); + public final WindowState SECURED = new WindowState("secure"); + static public final String VIEW = PortletMode.VIEW.toString(); static public final String EDIT = PortletMode.EDIT.toString(); static public final String HELP = PortletMode.HELP.toString(); - static public final String RESTORE = "restore"; + static public final String RESTORE = RESTORED.toString(); static public final String NORMAL = WindowState.NORMAL.toString(); static public final String MINIMIZE = WindowState.MINIMIZED.toString(); static public final String MAXIMIZE = WindowState.MAXIMIZED.toString(); - static public final String SECURE = "secure"; + static public final String SECURE = SECURED.toString(); public static final String ACTIONS[] = { MINIMIZE, MAXIMIZE, RESTORE, VIEW, EDIT, HELP, SECURE - }; - + }; }
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]