I think to use a common interface and default implementation for the
GUI element tat manipulate artifact/repository. The main advantage are
:
- that all the setter/getter method will be provide by the default interfac=
e
- If the artifact model change the change will be apply too to the GUI elem=
ents
- the call of a core method don't have to instanciate its params ie :
ts2PM.doSomething( (Artifact) this );
- We can use the spring framework to change / test the GUI interface
implentation (unit test GUI, user GUI preferance...)
- the default implementation can "share" core elements (manager, setting, .=
..)
If you have any comment ?
Nicolas
|