Author: abelevich
Date: 2010-06-21 07:51:29 -0400 (Mon, 21 Jun 2010)
New Revision: 17652
Modified:
root/ui/iteration/trunk/tables/impl/src/main/java/org/richfaces/model/ArrangeableModel.java
root/ui/iteration/trunk/tables/impl/src/test/java/org/richfaces/model/ArrangeableModelTest.java
Log:
replace swing SortOrder with our implementation
Modified:
root/ui/iteration/trunk/tables/impl/src/main/java/org/richfaces/model/ArrangeableModel.java
===================================================================
---
root/ui/iteration/trunk/tables/impl/src/main/java/org/richfaces/model/ArrangeableModel.java 2010-06-21
11:50:47 UTC (rev 17651)
+++
root/ui/iteration/trunk/tables/impl/src/main/java/org/richfaces/model/ArrangeableModel.java 2010-06-21
11:51:29 UTC (rev 17652)
@@ -34,7 +34,6 @@
import javax.el.ValueExpression;
import javax.faces.context.FacesContext;
import javax.faces.model.DataModelListener;
-import javax.swing.SortOrder;
import org.ajax4jsf.context.ContextInitParameters;
import org.ajax4jsf.model.DataVisitResult;
@@ -42,6 +41,7 @@
import org.ajax4jsf.model.ExtendedDataModel;
import org.ajax4jsf.model.Range;
import org.ajax4jsf.model.SequenceRange;
+import org.richfaces.component.SortOrder;
/**
* @author Konstantin Mishin
Modified:
root/ui/iteration/trunk/tables/impl/src/test/java/org/richfaces/model/ArrangeableModelTest.java
===================================================================
---
root/ui/iteration/trunk/tables/impl/src/test/java/org/richfaces/model/ArrangeableModelTest.java 2010-06-21
11:50:47 UTC (rev 17651)
+++
root/ui/iteration/trunk/tables/impl/src/test/java/org/richfaces/model/ArrangeableModelTest.java 2010-06-21
11:51:29 UTC (rev 17652)
@@ -33,7 +33,6 @@
import javax.faces.model.ArrayDataModel;
import javax.faces.model.DataModelEvent;
import javax.faces.model.DataModelListener;
-import javax.swing.SortOrder;
import junit.framework.Assert;
@@ -46,6 +45,7 @@
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
+import org.richfaces.component.SortOrder;
/**
* @author Konstantin Mishin
Show replies by date