myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lof...@apache.org
Subject svn commit: r600510 - /myfaces/tobago/trunk/example/demo/src/main/java/org/apache/myfaces/tobago/example/demo/TobagoDemoController.java
Date Mon, 03 Dec 2007 12:40:09 GMT
Author: lofwyr
Date: Mon Dec  3 04:40:03 2007
New Revision: 600510

URL: http://svn.apache.org/viewvc?rev=600510&view=rev
Log:
Using TreeState class instead of Object

Modified:
    myfaces/tobago/trunk/example/demo/src/main/java/org/apache/myfaces/tobago/example/demo/TobagoDemoController.java

Modified: myfaces/tobago/trunk/example/demo/src/main/java/org/apache/myfaces/tobago/example/demo/TobagoDemoController.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/example/demo/src/main/java/org/apache/myfaces/tobago/example/demo/TobagoDemoController.java?rev=600510&r1=600509&r2=600510&view=diff
==============================================================================
--- myfaces/tobago/trunk/example/demo/src/main/java/org/apache/myfaces/tobago/example/demo/TobagoDemoController.java
(original)
+++ myfaces/tobago/trunk/example/demo/src/main/java/org/apache/myfaces/tobago/example/demo/TobagoDemoController.java
Mon Dec  3 04:40:03 2007
@@ -32,23 +32,24 @@
 import org.apache.myfaces.tobago.event.TabChangeListener;
 import org.apache.myfaces.tobago.example.demo.model.solar.Solar;
 import org.apache.myfaces.tobago.example.demo.model.solar.SolarObject;
+import org.apache.myfaces.tobago.model.SheetState;
 import org.apache.myfaces.tobago.model.TreeState;
 import org.apache.myfaces.tobago.taglib.component.ToolBarTag;
 
 import javax.faces.application.FacesMessage;
 import javax.faces.component.UIColumn;
 import javax.faces.component.UIComponent;
-import javax.faces.context.FacesContext;
 import javax.faces.context.ExternalContext;
+import javax.faces.context.FacesContext;
 import javax.faces.model.SelectItem;
 import javax.faces.validator.ValidatorException;
+import javax.servlet.http.HttpSession;
 import javax.swing.tree.DefaultMutableTreeNode;
 import javax.swing.tree.MutableTreeNode;
-import javax.servlet.http.HttpSession;
+import java.io.IOException;
 import java.util.ArrayList;
 import java.util.Date;
 import java.util.List;
-import java.io.IOException;
 
 public class TobagoDemoController {
 
@@ -108,7 +109,7 @@
 
   private Object tabState2;
 
-  private Object sheetState;
+  private SheetState sheetState;
 
   private String toolbarIconSize;
 
@@ -491,11 +492,11 @@
     this.tabState2 = tabState2;
   }
 
-  public Object getSheetState() {
+  public SheetState getSheetState() {
     return sheetState;
   }
 
-  public void setSheetState(Object sheetState) {
+  public void setSheetState(SheetState sheetState) {
     this.sheetState = sheetState;
   }
 



Mime
View raw message