Author: julien(a)jboss.com
Date: 2008-06-09 06:33:35 -0400 (Mon, 09 Jun 2008)
New Revision: 10959
Added:
modules/presentation/trunk/presentation/src/main/java/org/jboss/portal/presentation/model/layout/DesktopLayout.java
Modified:
modules/presentation/trunk/presentation/src/main/java/org/jboss/portal/presentation/model/layout/Constants.java
Log:
add placeholder for desktop layout
Modified:
modules/presentation/trunk/presentation/src/main/java/org/jboss/portal/presentation/model/layout/Constants.java
===================================================================
---
modules/presentation/trunk/presentation/src/main/java/org/jboss/portal/presentation/model/layout/Constants.java 2008-06-09
10:29:43 UTC (rev 10958)
+++
modules/presentation/trunk/presentation/src/main/java/org/jboss/portal/presentation/model/layout/Constants.java 2008-06-09
10:33:35 UTC (rev 10959)
@@ -33,6 +33,15 @@
public static final String LAYOUT_ID =
"org.jboss.portal.presentation.layout_id";
/** . */
+ public static final String SIMPLE_LAYOUT = "simple";
+
+ /** . */
+ public static final String REGION_LAYOUT = "region";
+
+ /** . */
+ public static final String DESKTOP_LAYOUT = "desktop";
+
+ /** . */
public static final String SIMPLE_LAYOUT_ORIENTATION =
"org.jboss.portal.presentation.layout.simple.orientation";
/** . */
@@ -45,17 +54,18 @@
public static final String HORIZONTAL_ORIENTATION = "horizontal";
/** . */
- public static final String SIMPLE_LAYOUT = "simple_layout";
+ public static final String REGION_LAYOUT_TEMPLATE =
"org.jboss.portal.presentation.layout.region.template";
/** . */
- public static final String REGION_LAYOUT = "region_layout";
+ public static final String REGION_LAYOUT_NAME =
"org.jboss.portal.presentation.layout.region.name";
/** . */
- public static final String REGION_LAYOUT_TEMPLATE =
"org.jboss.portal.presentation.layout.region.template";
+ public static final String REGION_LAYOUT_INDEX =
"org.jboss.portal.presentation.layout.region.index";
/** . */
- public static final String REGION_LAYOUT_NAME =
"org.jboss.portal.presentation.layout.region.name";
+ public static final String DESKTOP_LAYOUT_X =
"org.jboss.portal.presentation.layout.desktop.x";
/** . */
- public static final String REGION_LAYOUT_INDEX =
"org.jboss.portal.presentation.layout.region.index";
+ public static final String DESKTOP_LAYOUT_Y =
"org.jboss.portal.presentation.layout.desktop.y";
+
}
Added:
modules/presentation/trunk/presentation/src/main/java/org/jboss/portal/presentation/model/layout/DesktopLayout.java
===================================================================
---
modules/presentation/trunk/presentation/src/main/java/org/jboss/portal/presentation/model/layout/DesktopLayout.java
(rev 0)
+++
modules/presentation/trunk/presentation/src/main/java/org/jboss/portal/presentation/model/layout/DesktopLayout.java 2008-06-09
10:33:35 UTC (rev 10959)
@@ -0,0 +1,33 @@
+/******************************************************************************
+ * JBoss, a division of Red Hat *
+ * Copyright 2008, Red Hat Middleware, LLC, and individual *
+ * contributors as indicated by the @authors tag. See the *
+ * copyright.txt in the distribution for a full listing of *
+ * individual contributors. *
+ * *
+ * This is free software; you can redistribute it and/or modify it *
+ * under the terms of the GNU Lesser General Public License as *
+ * published by the Free Software Foundation; either version 2.1 of *
+ * the License, or (at your option) any later version. *
+ * *
+ * This software is distributed in the hope that it will be useful, *
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of *
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
+ * Lesser General Public License for more details. *
+ * *
+ * You should have received a copy of the GNU Lesser General Public *
+ * License along with this software; if not, write to the Free *
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA *
+ * 02110-1301 USA, or see the FSF site:
http://www.fsf.org. *
+ ******************************************************************************/
+package org.jboss.portal.presentation.model.layout;
+
+/**
+ * Desktop layout.
+ *
+ * @author <a href="mailto:julien@jboss-portal.org">Julien
Viet</a>
+ * @version $Revision: 630 $
+ */
+public class DesktopLayout implements Layout
+{
+}