r3577 - trunk/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions
Author: tchemit Date: 2012-07-31 18:18:40 +0200 (Tue, 31 Jul 2012) New Revision: 3577 Url: http://chorem.org/repositories/revision/pollen/3577 Log: add new bases action (with different skin) to avoid creating classes only for this) Added: trunk/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/PollenActionSupportForEdition.java trunk/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/PollenActionSupportForVote.java Added: trunk/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/PollenActionSupportForEdition.java =================================================================== --- trunk/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/PollenActionSupportForEdition.java (rev 0) +++ trunk/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/PollenActionSupportForEdition.java 2012-07-31 16:18:40 UTC (rev 3577) @@ -0,0 +1,39 @@ +package org.chorem.pollen.ui.actions; +/* + * #%L + * Pollen :: UI (struts2) + * $Id:$ + * $HeadURL:$ + * %% + * Copyright (C) 2009 - 2012 CodeLutin + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program 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 General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + * #L% + */ + +/** + * Abase support action with predefine edition skin. + * + * @author tchemit <chemit@codelutin.com> + * @since 1.5 + */ +public class PollenActionSupportForEdition extends PollenActionSupport { + + private static final long serialVersionUID = 1L; + + @Override + public final PageSkin getSkin() { + return PageSkin.EDITION; + } +} Property changes on: trunk/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/PollenActionSupportForEdition.java ___________________________________________________________________ Added: svn:keywords + Author Date Id Revision HeadURL Added: svn:eol-style + native Added: trunk/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/PollenActionSupportForVote.java =================================================================== --- trunk/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/PollenActionSupportForVote.java (rev 0) +++ trunk/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/PollenActionSupportForVote.java 2012-07-31 16:18:40 UTC (rev 3577) @@ -0,0 +1,39 @@ +package org.chorem.pollen.ui.actions; +/* + * #%L + * Pollen :: UI (struts2) + * $Id:$ + * $HeadURL:$ + * %% + * Copyright (C) 2009 - 2012 CodeLutin + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program 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 General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + * #L% + */ + +/** + * Abase support action with predefine vote skin. + * + * @author tchemit <chemit@codelutin.com> + * @since 1.5 + */ +public class PollenActionSupportForVote extends PollenActionSupport { + + private static final long serialVersionUID = 1L; + + @Override + public final PageSkin getSkin() { + return PageSkin.VOTE; + } +} Property changes on: trunk/pollen-ui-struts2/src/main/java/org/chorem/pollen/ui/actions/PollenActionSupportForVote.java ___________________________________________________________________ Added: svn:keywords + Author Date Id Revision Added: svn:eol-style + native
participants (1)
-
tchemit@users.chorem.org