project35.soa
Interface ListFieldEditingComponent


public interface ListFieldEditingComponent

an interface that can be used to make specialised editing components in Project35. * if a field is associated with an ListFieldEditingComponent, then the list field's "New" and "Edit" buttons will show the editing component rather than press "Edit" to access a component that produces the value. make sure your implementation has a constructor with no arguments. Otherwise, Project35 may not instantiate it correctly.


Copyright (c) 2008 Kevin Garwood for Project35. The original code was developed by Kevin Garwood for the University of Manchester. Revisions have been made for Project35, a project that is independent of that institution. This code is licensed under the Academic Free License version 3.0. The code attribution for the original code is included here:

Copyright (c) Kevin Garwood and University of Manchester 2007. All rights reserved. Licensed under the Academic Free License version 3.0. For more information on the terms and conditions, please see the file "LICENSE" that is included in this distribution.


Version:
1.0
Author:
Kevin Garwood (kgarwood@users.sourceforge.net)

Method Summary
 void editRecord(Project35FormContext project35FormContext, RecordModel parentRecordModel, RecordModel childRecordModel)
          helps edit an existing record.
 void newRecord(Project35FormContext project35FormContext, RecordModel parentRecordModel, java.lang.String childRecordClassName)
          helps populate a blank new record.
 

Method Detail

newRecord

void newRecord(Project35FormContext project35FormContext,
               RecordModel parentRecordModel,
               java.lang.String childRecordClassName)
helps populate a blank new record. Note that at the end of the activity, the method should hide whatever dialogs it has produced and call KLG MAYBE NOT: recordModel.informListenersOfChildCreation();


editRecord

void editRecord(Project35FormContext project35FormContext,
                RecordModel parentRecordModel,
                RecordModel childRecordModel)
helps edit an existing record. At the end of the activity, the method should hide whatever dialogs it has produced and call KLG MAYBE NOT: editRecordModel.informListenersOfGainedFocus();