Bug 147530 [DataBinding] Provide event objects for change listeners
Before data binding goes 1.0 it would be wise to provide EventObjects for the following listeners to ensure that the API doesn't preclude future expansion of the values supplied to listeners. Interfaces that would be affected: * IValueChangeListener * IValueChangingListener * IListChangeListener * ISetChangeListener * IMappingChangeListener
tests/org.eclipse.jface.tests.databinding/src/org/eclipse/jface/tests/databinding/scenarios/PropertyScenarios.java
// 
        // 
        // 
        Text text = new Text(getComposite(), SWT.BORDER);
        adventure.setName("UPPERCASE");
        IConverter converter1 = new IConverter() {
            public Object getFromType() {
                return Strg.class;
            }
            public Object getToType() {
                return Strg.class;
            }
            public Object convert(Object toObject) {
                Strg modelValue = (Strg) toObject;
                if (modelValue == null || modelValue.equals("")) {
                    return modelValue;
                }
                Strg firstChar = modelValue.substrg(0, 1);
                Strg remaiChars = modelValue.substrg(1);
                return firstChar.toUpperCase() + remaiChars.toLowerCase();
            }
        };
        IConverter converter2 = new IConverter() {
            public Object getFromType() {
                return Strg.class;
            }
            public Object getToType() {
                return Strg.class;
            }
            public Object convert(Object fromObject) {