From portal-commits at lists.jboss.org Fri Mar 28 21:00:36 2008 Content-Type: multipart/mixed; boundary="===============5192456168390436845==" MIME-Version: 1.0 From: portal-commits at lists.jboss.org To: portal-commits at lists.jboss.org Subject: [portal-commits] JBoss Portal SVN: r10411 - branches/presentation/presentation/src/main/org/jboss/portal/presentation/model2. Date: Fri, 28 Mar 2008 21:00:35 -0400 Message-ID: --===============5192456168390436845== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: julien(a)jboss.com Date: 2008-03-28 21:00:35 -0400 (Fri, 28 Mar 2008) New Revision: 10411 Added: branches/presentation/presentation/src/main/org/jboss/portal/presentatio= n/model2/UIAction.java branches/presentation/presentation/src/main/org/jboss/portal/presentatio= n/model2/UIContainer.java branches/presentation/presentation/src/main/org/jboss/portal/presentatio= n/model2/UIContext.java branches/presentation/presentation/src/main/org/jboss/portal/presentatio= n/model2/UIPage.java branches/presentation/presentation/src/main/org/jboss/portal/presentatio= n/model2/UIWindow.java Log: added usual uiobject subclasses Added: branches/presentation/presentation/src/main/org/jboss/portal/present= ation/model2/UIAction.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- branches/presentation/presentation/src/main/org/jboss/portal/presentati= on/model2/UIAction.java (rev 0) +++ branches/presentation/presentation/src/main/org/jboss/portal/presentati= on/model2/UIAction.java 2008-03-29 01:00:35 UTC (rev 10411) @@ -0,0 +1,57 @@ +/*************************************************************************= ***** + * JBoss, a division of Red Hat = * + * Copyright 2006, 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.model2; + +import org.jboss.portal.presentation.model.UIObject; + +/** + * An action that can be triggered. + * + * @author Julien Viet + * @version $Revision: 630 $ + */ +public interface UIAction extends UIObject +{ + + /** + * Returns the action display name. + * + * @return the display name + */ + String getDisplayName(); + + /** + * Returns the action icon URL. + * + * @return the icon URL + */ + String getIconURL(); + + /** + * Returns the action URL. + * + * @return the url + */ + String getURL(); + +} \ No newline at end of file Added: branches/presentation/presentation/src/main/org/jboss/portal/present= ation/model2/UIContainer.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- branches/presentation/presentation/src/main/org/jboss/portal/presentati= on/model2/UIContainer.java (rev 0) +++ branches/presentation/presentation/src/main/org/jboss/portal/presentati= on/model2/UIContainer.java 2008-03-29 01:00:35 UTC (rev 10411) @@ -0,0 +1,31 @@ +/*************************************************************************= ***** + * JBoss, a division of Red Hat = * + * Copyright 2006, 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.model2; + +/** + * @author Julien Viet + * @version $Revision: 1.1 $ + */ +public interface UIContainer extends UIObject +{ +} \ No newline at end of file Added: branches/presentation/presentation/src/main/org/jboss/portal/present= ation/model2/UIContext.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- branches/presentation/presentation/src/main/org/jboss/portal/presentati= on/model2/UIContext.java (rev 0) +++ branches/presentation/presentation/src/main/org/jboss/portal/presentati= on/model2/UIContext.java 2008-03-29 01:00:35 UTC (rev 10411) @@ -0,0 +1,31 @@ +/*************************************************************************= ***** + * JBoss, a division of Red Hat = * + * Copyright 2006, 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.model2; + +/** + * @author Julien Viet + * @version $Revision: 1.1 $ + */ +public interface UIContext extends UIObject +{ +} \ No newline at end of file Added: branches/presentation/presentation/src/main/org/jboss/portal/present= ation/model2/UIPage.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- branches/presentation/presentation/src/main/org/jboss/portal/presentati= on/model2/UIPage.java (rev 0) +++ branches/presentation/presentation/src/main/org/jboss/portal/presentati= on/model2/UIPage.java 2008-03-29 01:00:35 UTC (rev 10411) @@ -0,0 +1,33 @@ +/*************************************************************************= ***** + * JBoss, a division of Red Hat = * + * Copyright 2006, 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.model2; + +import org.jboss.portal.presentation.model.UIObject; + +/** + * @author Julien Viet + * @version $Revision: 1.1 $ + */ +public interface UIPage extends UIObject +{ +} \ No newline at end of file Added: branches/presentation/presentation/src/main/org/jboss/portal/present= ation/model2/UIWindow.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- branches/presentation/presentation/src/main/org/jboss/portal/presentati= on/model2/UIWindow.java (rev 0) +++ branches/presentation/presentation/src/main/org/jboss/portal/presentati= on/model2/UIWindow.java 2008-03-29 01:00:35 UTC (rev 10411) @@ -0,0 +1,61 @@ +/*************************************************************************= ***** + * JBoss, a division of Red Hat = * + * Copyright 2006, 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.model2; + +import org.jboss.portal.WindowState; +import org.jboss.portal.Mode; + +/** + * @author Julien Viet + * @version $Revision: 1.1 $ + */ +public interface UIWindow extends UIObject +{ + /** + * Returns the window state of the window or null if it does not exist. + * + * @return the window state + */ + WindowState getWindowState(); + + /** + * Update the window state of the window. + * + * @param windowState the new window state + */ + void setWindowState(WindowState windowState); + + /** + * Returns the mode of the window or null if it does not exist. + * + * @return the mode + */ + Mode getMode(); + + /** + * Update the mode of the window. + * + * @param mode the new mode + */ + void setMode(Mode mode); +} \ No newline at end of file --===============5192456168390436845==--