taylor 2004/09/03 11:22:55
Added: jetspeed-api/src/java/org/apache/jetspeed
JetspeedActions.java
Log:
new interface for Action constants
CVS: ----------------------------------------------------------------------
CVS: PR:
CVS: If this change addresses a PR in the problem report tracking
CVS: database, then enter the PR number(s) here.
CVS: Obtained from:
CVS: If this change has been taken from another system, such as NCSA,
CVS: then name the system in this line, otherwise delete it.
CVS: Submitted by:
CVS: If this code has been contributed to Apache by someone else; i.e.,
CVS: they sent us a patch or a new module, then include their name/email
CVS: address here. If this is your work then delete this line.
CVS: Reviewed by:
CVS: If we are doing pre-commit code reviews and someone else has
CVS: reviewed your changes, include their name(s) here.
CVS: If you have not had it reviewed then delete this line.
Revision Changes Path
1.1
jakarta-jetspeed-2/jetspeed-api/src/java/org/apache/jetspeed/JetspeedActions.java
Index: JetspeedActions.java
===================================================================
/*
* Copyright 2000-2001,2004 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.apache.jetspeed;
import javax.portlet.PortletMode;
import javax.portlet.WindowState;
/**
* Jestpeed Action Declarations
*
* @author <a href="mailto:[EMAIL PROTECTED]">David Sean Taylor</a>
* @version $Id: JetspeedActions.java,v 1.1 2004/09/03 18:22:55 taylor Exp $
*/
public interface JetspeedActions
{
public static final int INDEX_MINIMIZE = 0;
public static final int INDEX_MAXIMIZE = 1;
public static final int INDEX_NORMAL = 2;
public static final int INDEX_RESTORE = 2;
public static final int INDEX_VIEW = 3;
public static final int INDEX_EDIT = 4;
public static final int INDEX_HELP = 5;
public static final int INDEX_SECURE = 6;
public static final int MASK_MINIMIZE = 0x01;
public static final int MASK_MAXIMIZE = 0x02;
public static final int MASK_NORMAL = 0x04;
public static final int MASK_RESTORE = 0x04;
public static final int MASK_VIEW = 0x08;
public static final int MASK_EDIT = 0x10;
public static final int MASK_HELP = 0x20;
public static final int MASK_SECURE = 0x40;
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 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";
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]