class PersistenceUnitPropertyGrid implements IsWidget,
                   PersistenceUnitPropertyGridView.Presenter {

    @Override
    public void onAddProperty() {
        //TODO add validations
        String propertyName = view.getNewPropertyName();
        String propertyValue = view.getNewPropertyValue();
        if ( properties == null ) {
            properties = new ArrayList<PropertyRow>(  );
        }
        properties.add( new PropertyRowImpl( propertyName, propertyValue ) );
        setProperties( properties );

        view.setNewPropertyName( "" );
        view.setNewPropertyValue( "" );
    }

    public  PersistenceUnitPropertyGrid();
    @Inject public  PersistenceUnitPropertyGrid( PersistenceUnitPropertyGridView view );

}