continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From car...@apache.org
Subject svn commit: r441321 - /maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/java/org/apache/maven/continuum/web/view/ProjectGroupPermissionsCell.java
Date Fri, 08 Sep 2006 01:29:36 GMT
Author: carlos
Date: Thu Sep  7 18:29:35 2006
New Revision: 441321

URL: http://svn.apache.org/viewvc?view=rev&rev=441321
Log:
Reformat

Modified:
    maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/java/org/apache/maven/continuum/web/view/ProjectGroupPermissionsCell.java

Modified: maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/java/org/apache/maven/continuum/web/view/ProjectGroupPermissionsCell.java
URL: http://svn.apache.org/viewvc/maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/java/org/apache/maven/continuum/web/view/ProjectGroupPermissionsCell.java?view=diff&rev=441321&r1=441320&r2=441321
==============================================================================
--- maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/java/org/apache/maven/continuum/web/view/ProjectGroupPermissionsCell.java
(original)
+++ maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/java/org/apache/maven/continuum/web/view/ProjectGroupPermissionsCell.java
Thu Sep  7 18:29:35 2006
@@ -1,31 +1,58 @@
 package org.apache.maven.continuum.web.view;
 
+/*
+ * Copyright 2006 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
 import org.extremecomponents.table.bean.Column;
-import org.extremecomponents.table.cell.DisplayCell;
-import org.extremecomponents.table.core.TableModel;
 import org.extremecomponents.table.cell.Cell;
+import org.extremecomponents.table.core.TableModel;
 import org.extremecomponents.table.view.html.ColumnBuilder;
 
-public class ProjectGroupPermissionsCell implements Cell
+/**
+ * 
+ * @author <a href="mailto:hisidro@exist.com">Henry Isidro</a>
+ * @version $Id$
+ */
+public class ProjectGroupPermissionsCell
+    implements Cell
 {
-        public String getExportDisplay(TableModel model, Column column) {
-            return null;
-        }
+    public String getExportDisplay( TableModel model, Column column )
+    {
+        return null;
+    }
+
+    public String getHtmlDisplay( TableModel model, Column column )
+    {
+        ColumnBuilder columnBuilder = new ColumnBuilder( column );
 
-        public String getHtmlDisplay(TableModel model, Column column) {
-            ColumnBuilder columnBuilder = new ColumnBuilder(column);
-            
-            columnBuilder.tdStart();
-            
-            try {
-                columnBuilder.getHtmlBuilder().input("checkbox");
-                columnBuilder.getHtmlBuilder().checked();
-                columnBuilder.getHtmlBuilder().xclose();
-            } catch (Exception e) {}
-            
-            columnBuilder.tdEnd();
-            
-            return columnBuilder.toString();
+        columnBuilder.tdStart();
+
+        try
+        {
+            columnBuilder.getHtmlBuilder().input( "checkbox" );
+            columnBuilder.getHtmlBuilder().checked();
+            columnBuilder.getHtmlBuilder().xclose();
+        }
+        catch ( Exception e )
+        {
         }
+
+        columnBuilder.tdEnd();
+
+        return columnBuilder.toString();
+    }
 
 }



Mime
View raw message