TableViewer
データをプロパティ ファイルに保存し、 を再度開いたときに同じデータを入力するにはどうすればよいTableViewer
ですか?
private void buildWellBoreDate(
NearWellBoreModellingData nearWellBoreModellingData, Properties p) {
List<DownholeComplexityTable> downhole=modelProviderDownholeComplexityTable.INSTANCE.getDownholeComplexityTables();
for(int i=0;i<downhole.size();i++){
p.setProperty("row"+i+"."+"NameofZones",((DownholeComplexityTable)downhole).getNameOfZones());
}
String fieldNameWell = nearWellBoreModellingData.getFieldNameWell();
if (fieldNameWell != null) {
p.setProperty(KEY_FIELDNAME_NEARWELL, fieldNameWell);
}
while trying this way I am able to save the textfield data but getting error for the table java.lang.ClassCastException: