[richfaces-svn-commits] JBoss Rich Faces SVN: r18509 - in trunk/ui/iteration: dist/richfaces-ui-iteration-api/src/main/java/org/richfaces and 9 other directories.
richfaces-svn-commits at lists.jboss.org
richfaces-svn-commits at lists.jboss.org
Mon Aug 9 10:03:03 EDT 2010
Author: Alex.Kolonitsky
Date: 2010-08-09 10:03:02 -0400 (Mon, 09 Aug 2010)
New Revision: 18509
Added:
trunk/ui/iteration/dist/richfaces-ui-iteration-api/src/main/java/org/richfaces/component/Column.java
trunk/ui/iteration/dist/richfaces-ui-iteration-api/src/main/java/org/richfaces/component/Expandable.java
trunk/ui/iteration/dist/richfaces-ui-iteration-api/src/main/java/org/richfaces/component/Row.java
trunk/ui/iteration/dist/richfaces-ui-iteration-api/src/main/java/org/richfaces/component/SortOrder.java
trunk/ui/iteration/dist/richfaces-ui-iteration-api/src/main/java/org/richfaces/event/FilteringEvent.java
trunk/ui/iteration/dist/richfaces-ui-iteration-api/src/main/java/org/richfaces/event/FilteringListener.java
trunk/ui/iteration/dist/richfaces-ui-iteration-api/src/main/java/org/richfaces/event/PagingEvent.java
trunk/ui/iteration/dist/richfaces-ui-iteration-api/src/main/java/org/richfaces/event/PagingListener.java
trunk/ui/iteration/dist/richfaces-ui-iteration-api/src/main/java/org/richfaces/event/SortingEvent.java
trunk/ui/iteration/dist/richfaces-ui-iteration-api/src/main/java/org/richfaces/event/SortingListener.java
trunk/ui/iteration/dist/richfaces-ui-iteration-api/src/main/java/org/richfaces/event/ToggleEvent.java
trunk/ui/iteration/dist/richfaces-ui-iteration-api/src/main/java/org/richfaces/event/ToggleListener.java
trunk/ui/iteration/dist/richfaces-ui-iteration-api/src/main/java/org/richfaces/model/
trunk/ui/iteration/dist/richfaces-ui-iteration-ui/pom-list.xml
trunk/ui/iteration/dist/richfaces-ui-iteration-ui/src/main/java/org/richfaces/model/
Removed:
trunk/ui/iteration/dist/richfaces-ui-iteration-impl/
trunk/ui/iteration/lists/ui/pom.xml
trunk/ui/iteration/tables/api/src/main/java/org/richfaces/component/Column.java
trunk/ui/iteration/tables/api/src/main/java/org/richfaces/component/Expandable.java
trunk/ui/iteration/tables/api/src/main/java/org/richfaces/component/Row.java
trunk/ui/iteration/tables/api/src/main/java/org/richfaces/component/SortOrder.java
trunk/ui/iteration/tables/api/src/main/java/org/richfaces/event/FilteringEvent.java
trunk/ui/iteration/tables/api/src/main/java/org/richfaces/event/FilteringListener.java
trunk/ui/iteration/tables/api/src/main/java/org/richfaces/event/PagingEvent.java
trunk/ui/iteration/tables/api/src/main/java/org/richfaces/event/PagingListener.java
trunk/ui/iteration/tables/api/src/main/java/org/richfaces/event/SortingEvent.java
trunk/ui/iteration/tables/api/src/main/java/org/richfaces/event/SortingListener.java
trunk/ui/iteration/tables/api/src/main/java/org/richfaces/event/ToggleEvent.java
trunk/ui/iteration/tables/api/src/main/java/org/richfaces/event/ToggleListener.java
trunk/ui/iteration/tables/api/src/main/java/org/richfaces/model/
trunk/ui/iteration/tables/impl/src/main/java/org/richfaces/model/
Log:
Richfaces 4.0 restructurization of svn repository structure
Copied: trunk/ui/iteration/dist/richfaces-ui-iteration-api/src/main/java/org/richfaces/component/Column.java (from rev 18497, trunk/ui/iteration/tables/api/src/main/java/org/richfaces/component/Column.java)
===================================================================
--- trunk/ui/iteration/dist/richfaces-ui-iteration-api/src/main/java/org/richfaces/component/Column.java (rev 0)
+++ trunk/ui/iteration/dist/richfaces-ui-iteration-api/src/main/java/org/richfaces/component/Column.java 2010-08-09 14:03:02 UTC (rev 18509)
@@ -0,0 +1,32 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright ${year}, Red Hat, Inc. and individual contributors
+ * 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.richfaces.component;
+
+
+/**
+ * Marker interface for all components used as column in UIDataTable
+ * @author shura
+ *
+ */
+public interface Column {
+}
Copied: trunk/ui/iteration/dist/richfaces-ui-iteration-api/src/main/java/org/richfaces/component/Expandable.java (from rev 18497, trunk/ui/iteration/tables/api/src/main/java/org/richfaces/component/Expandable.java)
===================================================================
--- trunk/ui/iteration/dist/richfaces-ui-iteration-api/src/main/java/org/richfaces/component/Expandable.java (rev 0)
+++ trunk/ui/iteration/dist/richfaces-ui-iteration-api/src/main/java/org/richfaces/component/Expandable.java 2010-08-09 14:03:02 UTC (rev 18509)
@@ -0,0 +1,39 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright ${year}, Red Hat, Inc. and individual contributors
+ * 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.richfaces.component;
+
+import org.richfaces.event.ToggleListener;
+
+public interface Expandable {
+
+ public boolean isExpanded();
+
+ public void setExpanded(boolean expand);
+
+ public void addToggleListener(ToggleListener listener);
+
+ public void removeToggleListener(ToggleListener listener);
+
+ public ToggleListener[] getToggleListeners();
+}
Copied: trunk/ui/iteration/dist/richfaces-ui-iteration-api/src/main/java/org/richfaces/component/Row.java (from rev 18497, trunk/ui/iteration/tables/api/src/main/java/org/richfaces/component/Row.java)
===================================================================
--- trunk/ui/iteration/dist/richfaces-ui-iteration-api/src/main/java/org/richfaces/component/Row.java (rev 0)
+++ trunk/ui/iteration/dist/richfaces-ui-iteration-api/src/main/java/org/richfaces/component/Row.java 2010-08-09 14:03:02 UTC (rev 18509)
@@ -0,0 +1,49 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright ${year}, Red Hat, Inc. and individual contributors
+ * 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.richfaces.component;
+
+import org.ajax4jsf.model.DataVisitor;
+
+import javax.faces.component.UIComponent;
+import javax.faces.context.FacesContext;
+import java.util.Iterator;
+
+/**
+ * Marker interface for table columns, rendered as entire row.
+ *
+ * @author shura
+ */
+public interface Row {
+
+ /**
+ * Get iterator for all columns contained in this row.
+ */
+ public Iterator<UIComponent> columns();
+
+ public void setRowKey(FacesContext context, Object rowKey);
+
+ public String getClientId(FacesContext context);
+
+ public void walk(FacesContext context, DataVisitor visitor, Object argument);
+
+}
Copied: trunk/ui/iteration/dist/richfaces-ui-iteration-api/src/main/java/org/richfaces/component/SortOrder.java (from rev 18497, trunk/ui/iteration/tables/api/src/main/java/org/richfaces/component/SortOrder.java)
===================================================================
--- trunk/ui/iteration/dist/richfaces-ui-iteration-api/src/main/java/org/richfaces/component/SortOrder.java (rev 0)
+++ trunk/ui/iteration/dist/richfaces-ui-iteration-api/src/main/java/org/richfaces/component/SortOrder.java 2010-08-09 14:03:02 UTC (rev 18509)
@@ -0,0 +1,33 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright ${year}, Red Hat, Inc. and individual contributors
+ * 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.richfaces.component;
+
+
+public enum SortOrder {
+
+ ascending,
+
+ descending,
+
+ unsorted
+}
\ No newline at end of file
Copied: trunk/ui/iteration/dist/richfaces-ui-iteration-api/src/main/java/org/richfaces/event/FilteringEvent.java (from rev 18497, trunk/ui/iteration/tables/api/src/main/java/org/richfaces/event/FilteringEvent.java)
===================================================================
--- trunk/ui/iteration/dist/richfaces-ui-iteration-api/src/main/java/org/richfaces/event/FilteringEvent.java (rev 0)
+++ trunk/ui/iteration/dist/richfaces-ui-iteration-api/src/main/java/org/richfaces/event/FilteringEvent.java 2010-08-09 14:03:02 UTC (rev 18509)
@@ -0,0 +1,24 @@
+package org.richfaces.event;
+
+import javax.faces.component.UIComponent;
+import javax.faces.event.FacesEvent;
+import javax.faces.event.FacesListener;
+
+public class FilteringEvent extends FacesEvent {
+
+ private static final long serialVersionUID = -2053345697091983617L;
+
+ public FilteringEvent(UIComponent component) {
+ super(component);
+ }
+
+ @Override
+ public boolean isAppropriateListener(FacesListener listener) {
+ return (listener instanceof FilteringListener);
+ }
+
+ @Override
+ public void processListener(FacesListener listener) {
+ ((FilteringListener)listener).processFiltering(this);
+ }
+}
Copied: trunk/ui/iteration/dist/richfaces-ui-iteration-api/src/main/java/org/richfaces/event/FilteringListener.java (from rev 18497, trunk/ui/iteration/tables/api/src/main/java/org/richfaces/event/FilteringListener.java)
===================================================================
--- trunk/ui/iteration/dist/richfaces-ui-iteration-api/src/main/java/org/richfaces/event/FilteringListener.java (rev 0)
+++ trunk/ui/iteration/dist/richfaces-ui-iteration-api/src/main/java/org/richfaces/event/FilteringListener.java 2010-08-09 14:03:02 UTC (rev 18509)
@@ -0,0 +1,9 @@
+package org.richfaces.event;
+
+import javax.faces.event.FacesListener;
+
+public interface FilteringListener extends FacesListener{
+
+ public void processFiltering(FilteringEvent filteringEvent);
+
+}
Copied: trunk/ui/iteration/dist/richfaces-ui-iteration-api/src/main/java/org/richfaces/event/PagingEvent.java (from rev 18497, trunk/ui/iteration/tables/api/src/main/java/org/richfaces/event/PagingEvent.java)
===================================================================
--- trunk/ui/iteration/dist/richfaces-ui-iteration-api/src/main/java/org/richfaces/event/PagingEvent.java (rev 0)
+++ trunk/ui/iteration/dist/richfaces-ui-iteration-api/src/main/java/org/richfaces/event/PagingEvent.java 2010-08-09 14:03:02 UTC (rev 18509)
@@ -0,0 +1,44 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright ${year}, Red Hat, Inc. and individual contributors
+ * 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.richfaces.event;
+
+import javax.faces.component.UIComponent;
+import javax.faces.event.FacesEvent;
+import javax.faces.event.FacesListener;
+
+public class PagingEvent extends FacesEvent {
+
+ private static final long serialVersionUID = -8176111805839316345L;
+
+ public PagingEvent(UIComponent component) {
+ super(component);
+ }
+
+ public boolean isAppropriateListener(FacesListener listener) {
+ return listener instanceof PagingListener;
+ }
+
+ public void processListener(FacesListener listener) {
+ ((PagingListener) listener).processPaging(this);
+ }
+}
Copied: trunk/ui/iteration/dist/richfaces-ui-iteration-api/src/main/java/org/richfaces/event/PagingListener.java (from rev 18497, trunk/ui/iteration/tables/api/src/main/java/org/richfaces/event/PagingListener.java)
===================================================================
--- trunk/ui/iteration/dist/richfaces-ui-iteration-api/src/main/java/org/richfaces/event/PagingListener.java (rev 0)
+++ trunk/ui/iteration/dist/richfaces-ui-iteration-api/src/main/java/org/richfaces/event/PagingListener.java 2010-08-09 14:03:02 UTC (rev 18509)
@@ -0,0 +1,31 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright ${year}, Red Hat, Inc. and individual contributors
+ * 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.richfaces.event;
+
+import javax.faces.event.FacesListener;
+
+public interface PagingListener extends FacesListener {
+
+ public void processPaging(PagingEvent event);
+
+}
Copied: trunk/ui/iteration/dist/richfaces-ui-iteration-api/src/main/java/org/richfaces/event/SortingEvent.java (from rev 18497, trunk/ui/iteration/tables/api/src/main/java/org/richfaces/event/SortingEvent.java)
===================================================================
--- trunk/ui/iteration/dist/richfaces-ui-iteration-api/src/main/java/org/richfaces/event/SortingEvent.java (rev 0)
+++ trunk/ui/iteration/dist/richfaces-ui-iteration-api/src/main/java/org/richfaces/event/SortingEvent.java 2010-08-09 14:03:02 UTC (rev 18509)
@@ -0,0 +1,69 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright ${year}, Red Hat, Inc. and individual contributors
+ * 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.richfaces.event;
+
+import javax.faces.component.UIComponent;
+import javax.faces.event.FacesEvent;
+import javax.faces.event.FacesListener;
+
+import org.richfaces.component.SortOrder;
+
+public class SortingEvent extends FacesEvent {
+
+ private static final long serialVersionUID = 2125258204996535522L;
+
+ private SortOrder sortOrder;
+
+ private String columnId;
+
+
+ public SortingEvent(UIComponent source, String columnId, SortOrder sortOrder) {
+ super(source);
+ this.sortOrder = sortOrder;
+ this.setColumnId(columnId);
+ }
+
+ public boolean isAppropriateListener(FacesListener listener) {
+ return (listener instanceof SortingListener);
+ }
+
+ public void processListener(FacesListener listener) {
+ ((SortingListener)listener).processSorting(this);
+ }
+
+ public void setSortOrder(SortOrder sortOrder) {
+ this.sortOrder = sortOrder;
+ }
+
+ public SortOrder getSortOrder() {
+ return sortOrder;
+ }
+
+ public void setColumnId(String columnId) {
+ this.columnId = columnId;
+ }
+
+ public String getColumnId() {
+ return columnId;
+ }
+}
Copied: trunk/ui/iteration/dist/richfaces-ui-iteration-api/src/main/java/org/richfaces/event/SortingListener.java (from rev 18497, trunk/ui/iteration/tables/api/src/main/java/org/richfaces/event/SortingListener.java)
===================================================================
--- trunk/ui/iteration/dist/richfaces-ui-iteration-api/src/main/java/org/richfaces/event/SortingListener.java (rev 0)
+++ trunk/ui/iteration/dist/richfaces-ui-iteration-api/src/main/java/org/richfaces/event/SortingListener.java 2010-08-09 14:03:02 UTC (rev 18509)
@@ -0,0 +1,31 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright ${year}, Red Hat, Inc. and individual contributors
+ * 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.richfaces.event;
+
+import javax.faces.event.FacesListener;
+
+public interface SortingListener extends FacesListener {
+
+ public void processSorting(SortingEvent sortingEvent);
+
+}
Copied: trunk/ui/iteration/dist/richfaces-ui-iteration-api/src/main/java/org/richfaces/event/ToggleEvent.java (from rev 18497, trunk/ui/iteration/tables/api/src/main/java/org/richfaces/event/ToggleEvent.java)
===================================================================
--- trunk/ui/iteration/dist/richfaces-ui-iteration-api/src/main/java/org/richfaces/event/ToggleEvent.java (rev 0)
+++ trunk/ui/iteration/dist/richfaces-ui-iteration-api/src/main/java/org/richfaces/event/ToggleEvent.java 2010-08-09 14:03:02 UTC (rev 18509)
@@ -0,0 +1,72 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright ${year}, Red Hat, Inc. and individual contributors
+ * 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.richfaces.event;
+
+import javax.faces.component.UIComponent;
+import javax.faces.event.FacesEvent;
+import javax.faces.event.FacesListener;
+
+/**
+ * @author Anton Belevich
+ *
+ */
+public class ToggleEvent extends FacesEvent {
+
+ private static final long serialVersionUID = 2916560585918250885L;
+
+ private String togglerId;
+
+ private boolean expanded;
+
+
+
+ public ToggleEvent(UIComponent source, boolean expanded) {
+ this(source, expanded, null);
+ }
+
+ public ToggleEvent(UIComponent source, boolean expanded, String toggerId) {
+ super(source);
+ this.expanded = expanded;
+ this.togglerId = toggerId;
+ }
+
+ public String getTogglerId() {
+ return togglerId;
+ }
+
+ public void setTogglerId(String togglerId) {
+ this.togglerId = togglerId;
+ }
+
+ public boolean isExpanded() {
+ return this.expanded;
+ }
+
+ public boolean isAppropriateListener(FacesListener listener) {
+ return (listener instanceof ToggleListener);
+ }
+
+ public void processListener(FacesListener listener) {
+ ((ToggleListener) listener).processToggle(this);
+ }
+}
Copied: trunk/ui/iteration/dist/richfaces-ui-iteration-api/src/main/java/org/richfaces/event/ToggleListener.java (from rev 18497, trunk/ui/iteration/tables/api/src/main/java/org/richfaces/event/ToggleListener.java)
===================================================================
--- trunk/ui/iteration/dist/richfaces-ui-iteration-api/src/main/java/org/richfaces/event/ToggleListener.java (rev 0)
+++ trunk/ui/iteration/dist/richfaces-ui-iteration-api/src/main/java/org/richfaces/event/ToggleListener.java 2010-08-09 14:03:02 UTC (rev 18509)
@@ -0,0 +1,35 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright ${year}, Red Hat, Inc. and individual contributors
+ * 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.richfaces.event;
+
+import javax.faces.event.FacesListener;
+
+/**
+ * @author Anton Belevich
+ *
+ */
+public interface ToggleListener extends FacesListener {
+
+ public void processToggle(ToggleEvent event);
+
+}
Copied: trunk/ui/iteration/dist/richfaces-ui-iteration-api/src/main/java/org/richfaces/model (from rev 18497, trunk/ui/iteration/tables/api/src/main/java/org/richfaces/model)
Copied: trunk/ui/iteration/dist/richfaces-ui-iteration-ui/pom-list.xml (from rev 18497, trunk/ui/iteration/lists/ui/pom.xml)
===================================================================
--- trunk/ui/iteration/dist/richfaces-ui-iteration-ui/pom-list.xml (rev 0)
+++ trunk/ui/iteration/dist/richfaces-ui-iteration-ui/pom-list.xml 2010-08-09 14:03:02 UTC (rev 18509)
@@ -0,0 +1,135 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- JBoss, Home of Professional Open Source Copyright 2010, Red Hat, Inc.
+ and individual contributors 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. -->
+
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>org.richfaces.ui.iteration</groupId>
+ <artifactId>lists-aggregator</artifactId>
+ <version>4.0.0-SNAPSHOT</version>
+ <relativePath>../pom.xml</relativePath>
+ </parent>
+
+ <groupId>org.richfaces.ui.iteration</groupId>
+ <artifactId>lists-ui</artifactId>
+ <packaging>jar</packaging>
+ <name>Richfaces UI Components: Lists UI</name>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.richfaces.cdk</groupId>
+ <artifactId>maven-cdk-plugin</artifactId>
+ </plugin>
+ </plugins>
+ </build>
+
+ <dependencies>
+ <!-- runtime -->
+ <dependency>
+ <groupId>org.richfaces.core</groupId>
+ <artifactId>richfaces-core-api</artifactId>
+ </dependency>
+ <dependency>
+ <!-- todo remove this dependency or move to test scope -->
+ <groupId>org.richfaces.core</groupId>
+ <artifactId>richfaces-core-impl</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.richfaces.cdk</groupId>
+ <artifactId>annotations</artifactId>
+ <scope>provided</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>org.richfaces.ui.iteration</groupId>
+ <artifactId>lists-api</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+
+ <!-- JSF with dependencies -->
+ <dependency>
+ <groupId>${jsf2.api.groupid}</groupId>
+ <artifactId>${jsf2.api.artifactid}</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>javax.servlet</groupId>
+ <artifactId>servlet-api</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>javax.servlet.jsp</groupId>
+ <artifactId>jsp-api</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>javax.el</groupId>
+ <artifactId>el-api</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>javax.servlet</groupId>
+ <artifactId>jstl</artifactId>
+ <scope>provided</scope>
+ </dependency>
+
+ <!-- tests -->
+ <dependency>
+ <groupId>${jsf2.impl.groupid}</groupId>
+ <artifactId>${jsf2.impl.artifactid}</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <!-- todo api? -->
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-log4j12</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.test-jsf</groupId>
+ <artifactId>jsf-test-stage</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.test-jsf</groupId>
+ <artifactId>htmlunit-client</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.test-jsf</groupId>
+ <artifactId>jsf-mock</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>com.google.guava</groupId>
+ <artifactId>guava</artifactId>
+ </dependency>
+ </dependencies>
+
+ <scm>
+ <connection>scm:svn:http://anonsvn.jboss.org/repos/richfaces/trunk/ui/iteration/lists/ui</connection>
+ <developerConnection>scm:svn:https://svn.jboss.org/repos/richfaces/trunk/ui/iteration/lists/ui</developerConnection>
+ <url>http://fisheye.jboss.org/browse/richfaces</url>
+ </scm>
+</project>
\ No newline at end of file
Copied: trunk/ui/iteration/dist/richfaces-ui-iteration-ui/src/main/java/org/richfaces/model (from rev 18497, trunk/ui/iteration/tables/impl/src/main/java/org/richfaces/model)
Deleted: trunk/ui/iteration/lists/ui/pom.xml
===================================================================
--- trunk/ui/iteration/lists/ui/pom.xml 2010-08-09 13:46:52 UTC (rev 18508)
+++ trunk/ui/iteration/lists/ui/pom.xml 2010-08-09 14:03:02 UTC (rev 18509)
@@ -1,135 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!-- JBoss, Home of Professional Open Source Copyright 2010, Red Hat, Inc.
- and individual contributors 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. -->
-
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
-
- <modelVersion>4.0.0</modelVersion>
-
- <parent>
- <groupId>org.richfaces.ui.iteration</groupId>
- <artifactId>lists-aggregator</artifactId>
- <version>4.0.0-SNAPSHOT</version>
- <relativePath>../pom.xml</relativePath>
- </parent>
-
- <groupId>org.richfaces.ui.iteration</groupId>
- <artifactId>lists-ui</artifactId>
- <packaging>jar</packaging>
- <name>Richfaces UI Components: Lists UI</name>
-
- <build>
- <plugins>
- <plugin>
- <groupId>org.richfaces.cdk</groupId>
- <artifactId>maven-cdk-plugin</artifactId>
- </plugin>
- </plugins>
- </build>
-
- <dependencies>
- <!-- runtime -->
- <dependency>
- <groupId>org.richfaces.core</groupId>
- <artifactId>richfaces-core-api</artifactId>
- </dependency>
- <dependency>
- <!-- todo remove this dependency or move to test scope -->
- <groupId>org.richfaces.core</groupId>
- <artifactId>richfaces-core-impl</artifactId>
- </dependency>
- <dependency>
- <groupId>org.richfaces.cdk</groupId>
- <artifactId>annotations</artifactId>
- <scope>provided</scope>
- </dependency>
-
- <dependency>
- <groupId>org.richfaces.ui.iteration</groupId>
- <artifactId>lists-api</artifactId>
- <version>${project.version}</version>
- </dependency>
-
- <!-- JSF with dependencies -->
- <dependency>
- <groupId>${jsf2.api.groupid}</groupId>
- <artifactId>${jsf2.api.artifactid}</artifactId>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>javax.servlet</groupId>
- <artifactId>servlet-api</artifactId>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>javax.servlet.jsp</groupId>
- <artifactId>jsp-api</artifactId>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>javax.el</groupId>
- <artifactId>el-api</artifactId>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>javax.servlet</groupId>
- <artifactId>jstl</artifactId>
- <scope>provided</scope>
- </dependency>
-
- <!-- tests -->
- <dependency>
- <groupId>${jsf2.impl.groupid}</groupId>
- <artifactId>${jsf2.impl.artifactid}</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <!-- todo api? -->
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-log4j12</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.jboss.test-jsf</groupId>
- <artifactId>jsf-test-stage</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.jboss.test-jsf</groupId>
- <artifactId>htmlunit-client</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.jboss.test-jsf</groupId>
- <artifactId>jsf-mock</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>com.google.guava</groupId>
- <artifactId>guava</artifactId>
- </dependency>
- </dependencies>
-
- <scm>
- <connection>scm:svn:http://anonsvn.jboss.org/repos/richfaces/trunk/ui/iteration/lists/ui</connection>
- <developerConnection>scm:svn:https://svn.jboss.org/repos/richfaces/trunk/ui/iteration/lists/ui</developerConnection>
- <url>http://fisheye.jboss.org/browse/richfaces</url>
- </scm>
-</project>
\ No newline at end of file
Deleted: trunk/ui/iteration/tables/api/src/main/java/org/richfaces/component/Column.java
===================================================================
--- trunk/ui/iteration/tables/api/src/main/java/org/richfaces/component/Column.java 2010-08-09 13:46:52 UTC (rev 18508)
+++ trunk/ui/iteration/tables/api/src/main/java/org/richfaces/component/Column.java 2010-08-09 14:03:02 UTC (rev 18509)
@@ -1,32 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright ${year}, Red Hat, Inc. and individual contributors
- * 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.richfaces.component;
-
-
-/**
- * Marker interface for all components used as column in UIDataTable
- * @author shura
- *
- */
-public interface Column {
-}
Deleted: trunk/ui/iteration/tables/api/src/main/java/org/richfaces/component/Expandable.java
===================================================================
--- trunk/ui/iteration/tables/api/src/main/java/org/richfaces/component/Expandable.java 2010-08-09 13:46:52 UTC (rev 18508)
+++ trunk/ui/iteration/tables/api/src/main/java/org/richfaces/component/Expandable.java 2010-08-09 14:03:02 UTC (rev 18509)
@@ -1,39 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright ${year}, Red Hat, Inc. and individual contributors
- * 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.richfaces.component;
-
-import org.richfaces.event.ToggleListener;
-
-public interface Expandable {
-
- public boolean isExpanded();
-
- public void setExpanded(boolean expand);
-
- public void addToggleListener(ToggleListener listener);
-
- public void removeToggleListener(ToggleListener listener);
-
- public ToggleListener[] getToggleListeners();
-}
Deleted: trunk/ui/iteration/tables/api/src/main/java/org/richfaces/component/Row.java
===================================================================
--- trunk/ui/iteration/tables/api/src/main/java/org/richfaces/component/Row.java 2010-08-09 13:46:52 UTC (rev 18508)
+++ trunk/ui/iteration/tables/api/src/main/java/org/richfaces/component/Row.java 2010-08-09 14:03:02 UTC (rev 18509)
@@ -1,49 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright ${year}, Red Hat, Inc. and individual contributors
- * 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.richfaces.component;
-
-import org.ajax4jsf.model.DataVisitor;
-
-import javax.faces.component.UIComponent;
-import javax.faces.context.FacesContext;
-import java.util.Iterator;
-
-/**
- * Marker interface for table columns, rendered as entire row.
- *
- * @author shura
- */
-public interface Row {
-
- /**
- * Get iterator for all columns contained in this row.
- */
- public Iterator<UIComponent> columns();
-
- public void setRowKey(FacesContext context, Object rowKey);
-
- public String getClientId(FacesContext context);
-
- public void walk(FacesContext context, DataVisitor visitor, Object argument);
-
-}
Deleted: trunk/ui/iteration/tables/api/src/main/java/org/richfaces/component/SortOrder.java
===================================================================
--- trunk/ui/iteration/tables/api/src/main/java/org/richfaces/component/SortOrder.java 2010-08-09 13:46:52 UTC (rev 18508)
+++ trunk/ui/iteration/tables/api/src/main/java/org/richfaces/component/SortOrder.java 2010-08-09 14:03:02 UTC (rev 18509)
@@ -1,33 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright ${year}, Red Hat, Inc. and individual contributors
- * 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.richfaces.component;
-
-
-public enum SortOrder {
-
- ascending,
-
- descending,
-
- unsorted
-}
\ No newline at end of file
Deleted: trunk/ui/iteration/tables/api/src/main/java/org/richfaces/event/FilteringEvent.java
===================================================================
--- trunk/ui/iteration/tables/api/src/main/java/org/richfaces/event/FilteringEvent.java 2010-08-09 13:46:52 UTC (rev 18508)
+++ trunk/ui/iteration/tables/api/src/main/java/org/richfaces/event/FilteringEvent.java 2010-08-09 14:03:02 UTC (rev 18509)
@@ -1,24 +0,0 @@
-package org.richfaces.event;
-
-import javax.faces.component.UIComponent;
-import javax.faces.event.FacesEvent;
-import javax.faces.event.FacesListener;
-
-public class FilteringEvent extends FacesEvent {
-
- private static final long serialVersionUID = -2053345697091983617L;
-
- public FilteringEvent(UIComponent component) {
- super(component);
- }
-
- @Override
- public boolean isAppropriateListener(FacesListener listener) {
- return (listener instanceof FilteringListener);
- }
-
- @Override
- public void processListener(FacesListener listener) {
- ((FilteringListener)listener).processFiltering(this);
- }
-}
Deleted: trunk/ui/iteration/tables/api/src/main/java/org/richfaces/event/FilteringListener.java
===================================================================
--- trunk/ui/iteration/tables/api/src/main/java/org/richfaces/event/FilteringListener.java 2010-08-09 13:46:52 UTC (rev 18508)
+++ trunk/ui/iteration/tables/api/src/main/java/org/richfaces/event/FilteringListener.java 2010-08-09 14:03:02 UTC (rev 18509)
@@ -1,9 +0,0 @@
-package org.richfaces.event;
-
-import javax.faces.event.FacesListener;
-
-public interface FilteringListener extends FacesListener{
-
- public void processFiltering(FilteringEvent filteringEvent);
-
-}
Deleted: trunk/ui/iteration/tables/api/src/main/java/org/richfaces/event/PagingEvent.java
===================================================================
--- trunk/ui/iteration/tables/api/src/main/java/org/richfaces/event/PagingEvent.java 2010-08-09 13:46:52 UTC (rev 18508)
+++ trunk/ui/iteration/tables/api/src/main/java/org/richfaces/event/PagingEvent.java 2010-08-09 14:03:02 UTC (rev 18509)
@@ -1,44 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright ${year}, Red Hat, Inc. and individual contributors
- * 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.richfaces.event;
-
-import javax.faces.component.UIComponent;
-import javax.faces.event.FacesEvent;
-import javax.faces.event.FacesListener;
-
-public class PagingEvent extends FacesEvent {
-
- private static final long serialVersionUID = -8176111805839316345L;
-
- public PagingEvent(UIComponent component) {
- super(component);
- }
-
- public boolean isAppropriateListener(FacesListener listener) {
- return listener instanceof PagingListener;
- }
-
- public void processListener(FacesListener listener) {
- ((PagingListener) listener).processPaging(this);
- }
-}
Deleted: trunk/ui/iteration/tables/api/src/main/java/org/richfaces/event/PagingListener.java
===================================================================
--- trunk/ui/iteration/tables/api/src/main/java/org/richfaces/event/PagingListener.java 2010-08-09 13:46:52 UTC (rev 18508)
+++ trunk/ui/iteration/tables/api/src/main/java/org/richfaces/event/PagingListener.java 2010-08-09 14:03:02 UTC (rev 18509)
@@ -1,31 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright ${year}, Red Hat, Inc. and individual contributors
- * 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.richfaces.event;
-
-import javax.faces.event.FacesListener;
-
-public interface PagingListener extends FacesListener {
-
- public void processPaging(PagingEvent event);
-
-}
Deleted: trunk/ui/iteration/tables/api/src/main/java/org/richfaces/event/SortingEvent.java
===================================================================
--- trunk/ui/iteration/tables/api/src/main/java/org/richfaces/event/SortingEvent.java 2010-08-09 13:46:52 UTC (rev 18508)
+++ trunk/ui/iteration/tables/api/src/main/java/org/richfaces/event/SortingEvent.java 2010-08-09 14:03:02 UTC (rev 18509)
@@ -1,69 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright ${year}, Red Hat, Inc. and individual contributors
- * 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.richfaces.event;
-
-import javax.faces.component.UIComponent;
-import javax.faces.event.FacesEvent;
-import javax.faces.event.FacesListener;
-
-import org.richfaces.component.SortOrder;
-
-public class SortingEvent extends FacesEvent {
-
- private static final long serialVersionUID = 2125258204996535522L;
-
- private SortOrder sortOrder;
-
- private String columnId;
-
-
- public SortingEvent(UIComponent source, String columnId, SortOrder sortOrder) {
- super(source);
- this.sortOrder = sortOrder;
- this.setColumnId(columnId);
- }
-
- public boolean isAppropriateListener(FacesListener listener) {
- return (listener instanceof SortingListener);
- }
-
- public void processListener(FacesListener listener) {
- ((SortingListener)listener).processSorting(this);
- }
-
- public void setSortOrder(SortOrder sortOrder) {
- this.sortOrder = sortOrder;
- }
-
- public SortOrder getSortOrder() {
- return sortOrder;
- }
-
- public void setColumnId(String columnId) {
- this.columnId = columnId;
- }
-
- public String getColumnId() {
- return columnId;
- }
-}
Deleted: trunk/ui/iteration/tables/api/src/main/java/org/richfaces/event/SortingListener.java
===================================================================
--- trunk/ui/iteration/tables/api/src/main/java/org/richfaces/event/SortingListener.java 2010-08-09 13:46:52 UTC (rev 18508)
+++ trunk/ui/iteration/tables/api/src/main/java/org/richfaces/event/SortingListener.java 2010-08-09 14:03:02 UTC (rev 18509)
@@ -1,31 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright ${year}, Red Hat, Inc. and individual contributors
- * 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.richfaces.event;
-
-import javax.faces.event.FacesListener;
-
-public interface SortingListener extends FacesListener {
-
- public void processSorting(SortingEvent sortingEvent);
-
-}
Deleted: trunk/ui/iteration/tables/api/src/main/java/org/richfaces/event/ToggleEvent.java
===================================================================
--- trunk/ui/iteration/tables/api/src/main/java/org/richfaces/event/ToggleEvent.java 2010-08-09 13:46:52 UTC (rev 18508)
+++ trunk/ui/iteration/tables/api/src/main/java/org/richfaces/event/ToggleEvent.java 2010-08-09 14:03:02 UTC (rev 18509)
@@ -1,72 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright ${year}, Red Hat, Inc. and individual contributors
- * 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.richfaces.event;
-
-import javax.faces.component.UIComponent;
-import javax.faces.event.FacesEvent;
-import javax.faces.event.FacesListener;
-
-/**
- * @author Anton Belevich
- *
- */
-public class ToggleEvent extends FacesEvent {
-
- private static final long serialVersionUID = 2916560585918250885L;
-
- private String togglerId;
-
- private boolean expanded;
-
-
-
- public ToggleEvent(UIComponent source, boolean expanded) {
- this(source, expanded, null);
- }
-
- public ToggleEvent(UIComponent source, boolean expanded, String toggerId) {
- super(source);
- this.expanded = expanded;
- this.togglerId = toggerId;
- }
-
- public String getTogglerId() {
- return togglerId;
- }
-
- public void setTogglerId(String togglerId) {
- this.togglerId = togglerId;
- }
-
- public boolean isExpanded() {
- return this.expanded;
- }
-
- public boolean isAppropriateListener(FacesListener listener) {
- return (listener instanceof ToggleListener);
- }
-
- public void processListener(FacesListener listener) {
- ((ToggleListener) listener).processToggle(this);
- }
-}
Deleted: trunk/ui/iteration/tables/api/src/main/java/org/richfaces/event/ToggleListener.java
===================================================================
--- trunk/ui/iteration/tables/api/src/main/java/org/richfaces/event/ToggleListener.java 2010-08-09 13:46:52 UTC (rev 18508)
+++ trunk/ui/iteration/tables/api/src/main/java/org/richfaces/event/ToggleListener.java 2010-08-09 14:03:02 UTC (rev 18509)
@@ -1,35 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright ${year}, Red Hat, Inc. and individual contributors
- * 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.richfaces.event;
-
-import javax.faces.event.FacesListener;
-
-/**
- * @author Anton Belevich
- *
- */
-public interface ToggleListener extends FacesListener {
-
- public void processToggle(ToggleEvent event);
-
-}
More information about the richfaces-svn-commits
mailing list