1 4 package com.tc.servers; 5 6 import com.tc.admin.common.XObjectTableModel; 7 8 public class ServerEnvTableModel extends XObjectTableModel { 9 static String [] FIELDS = {"Name", "Value"}; 10 11 public ServerEnvTableModel() { 12 super(ServerProperty.class, FIELDS, FIELDS); 13 } 14 15 public ServerProperty getServerPropertyAt(int row) { 16 return (ServerProperty)getObjectAt(row); 17 } 18 19 public boolean isCellEditable(int rowIndex, int columnIndex) { 20 return columnIndex == 1; 21 } 22 } 23 | Popular Tags |