[Castore-commits] TreeNode.java 1.4 1.5 ClikTreeNode.java 1.4 1.5
Céline BENOIT
cbenoit at adullact1.hosting.cri74.org
Ven 12 Mai 17:48:22 CEST 2006
Update of /cvsroot/castore/castore-struts/src/java/fr/emn/castor/struts/common/tree
In directory adullact1:/tmp/cvs-serv5498/src/java/fr/emn/castor/struts/common/tree
Modified Files:
TreeNode.java ClikTreeNode.java
Log Message:
rectification du code lié aux changements effectués pour le remplacement des constants true/false avec VraiFauxEnum
Index: ClikTreeNode.java
===================================================================
RCS file: /cvsroot/castore/castore-struts/src/java/fr/emn/castor/struts/common/tree/ClikTreeNode.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** ClikTreeNode.java 11 May 2006 13:42:35 -0000 1.4
--- ClikTreeNode.java 12 May 2006 15:48:19 -0000 1.5
***************
*** 40,45 ****
package fr.emn.castor.struts.common.tree;
- import fr.emn.castor.common.Constants.VraiFauxEnum;
-
/**
*
--- 40,43 ----
***************
*** 49,53 ****
public class ClikTreeNode extends TreeNode {
! private VraiFauxEnum canClik = VraiFauxEnum.VRAI;
public ClikTreeNode(String name, String nodeId, int level) {
--- 47,51 ----
public class ClikTreeNode extends TreeNode {
! private String canClik = "true";
public ClikTreeNode(String name, String nodeId, int level) {
***************
*** 55,70 ****
}
!
!
! public VraiFauxEnum getCanClik() {
return this.canClik;
}
-
-
/**
* @param string
*/
! public void setCanClik(VraiFauxEnum string) {
this.canClik = string;
}
--- 53,64 ----
}
! public String getCanClik() {
return this.canClik;
}
/**
* @param string
*/
! public void setCanClik(String string) {
this.canClik = string;
}
Index: TreeNode.java
===================================================================
RCS file: /cvsroot/castore/castore-struts/src/java/fr/emn/castor/struts/common/tree/TreeNode.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** TreeNode.java 11 May 2006 13:43:46 -0000 1.4
--- TreeNode.java 12 May 2006 15:48:19 -0000 1.5
***************
*** 43,48 ****
import java.util.Collection;
- import fr.emn.castor.common.Constants.VraiFauxEnum;
-
public class TreeNode {
--- 43,46 ----
***************
*** 57,61 ****
private boolean showChildren;
! private VraiFauxEnum isRoot = VraiFauxEnum.FAUX;
private boolean showThisNode = false;
--- 55,59 ----
private boolean showChildren;
! private String isRoot = "false";
private boolean showThisNode = false;
***************
*** 143,151 ****
}
! public final void setIsRoot(final VraiFauxEnum bool) {
this.isRoot = bool;
}
! public VraiFauxEnum getIsRoot() {
return this.isRoot;
}
--- 141,149 ----
}
! public final void setIsRoot(final String bool) {
this.isRoot = bool;
}
! public String getIsRoot() {
return this.isRoot;
}
Plus d'informations sur la liste de diffusion Castore-commits