Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 211340
Collapse All | Expand All

(-)src/org/eclipse/emf/databinding/EObjectObservableValue.java (-1 / +1 lines)
Lines 123-129 Link Here
123
  @Override
123
  @Override
124
  public String toString()
124
  public String toString()
125
  {
125
  {
126
    StringBuilder result = new StringBuilder(getClass().getName());
126
	StringBuffer result = new StringBuffer(getClass().getName());
127
    result.append('@');
127
    result.append('@');
128
    result.append(Integer.toHexString(hashCode()));
128
    result.append(Integer.toHexString(hashCode()));
129
129
(-)src/org/eclipse/emf/databinding/EObjectObservableList.java (-4 / +4 lines)
Lines 49-55 Link Here
49
49
50
  public EObjectObservableList(Realm realm, EObject eObject, EStructuralFeature eStructuralFeature)
50
  public EObjectObservableList(Realm realm, EObject eObject, EStructuralFeature eStructuralFeature)
51
  {
51
  {
52
    super(realm, (EList<?>)eObject.eGet(eStructuralFeature), eStructuralFeature);
52
    super(realm, (EList)eObject.eGet(eStructuralFeature), eStructuralFeature);
53
    this.eObject = eObject;
53
    this.eObject = eObject;
54
    this.eStructuralFeature = eStructuralFeature;
54
    this.eStructuralFeature = eStructuralFeature;
55
  }
55
  }
Lines 152-158 Link Here
152
      };
152
      };
153
    eObject.eAdapters().add(listener);
153
    eObject.eAdapters().add(listener);
154
  }
154
  }
155
  
155
156
  @Override
156
  @Override
157
  protected void lastListenerRemoved()
157
  protected void lastListenerRemoved()
158
  {
158
  {
Lines 261-267 Link Here
261
  public Object move(int newPosition, int oldPosition)
261
  public Object move(int newPosition, int oldPosition)
262
  {
262
  {
263
    checkRealm();
263
    checkRealm();
264
    return ((EList<?>)wrappedList).move(newPosition, oldPosition);
264
    return ((EList)wrappedList).move(newPosition, oldPosition);
265
  }
265
  }
266
266
267
  public void move(int newPosition, Object object)
267
  public void move(int newPosition, Object object)
Lines 272-278 Link Here
272
  @Override
272
  @Override
273
  public String toString()
273
  public String toString()
274
  {
274
  {
275
    StringBuilder result = new StringBuilder(getClass().getName());
275
	StringBuffer result = new StringBuffer(getClass().getName());
276
    result.append('@');
276
    result.append('@');
277
    result.append(Integer.toHexString(hashCode()));
277
    result.append(Integer.toHexString(hashCode()));
278
278
(-)src/org/eclipse/emf/databinding/EMFUpdateValueStrategy.java (-5 / +5 lines)
Lines 1-13 Link Here
1
/**
1
/**
2
 * <copyright> 
2
 * <copyright>
3
 *
3
 *
4
 * Copyright (c) 2007 IBM Corporation and others.
4
 * Copyright (c) 2007 IBM Corporation and others.
5
 * All rights reserved.   This program and the accompanying materials
5
 * All rights reserved.   This program and the accompanying materials
6
 * are made available under the terms of the Eclipse Public License v1.0
6
 * are made available under the terms of the Eclipse Public License v1.0
7
 * which accompanies this distribution, and is available at
7
 * which accompanies this distribution, and is available at
8
 * http://www.eclipse.org/legal/epl-v10.html
8
 * http://www.eclipse.org/legal/epl-v10.html
9
 * 
9
 *
10
 * Contributors: 
10
 * Contributors:
11
 *   IBM - Initial API and implementation
11
 *   IBM - Initial API and implementation
12
 *
12
 *
13
 * </copyright>
13
 * </copyright>
Lines 46-52 Link Here
46
  {
46
  {
47
    super(provideDefaults, updatePolicy);
47
    super(provideDefaults, updatePolicy);
48
  }
48
  }
49
  
49
50
  @Override
50
  @Override
51
  protected IConverter createConverter(Object fromType, Object toType)
51
  protected IConverter createConverter(Object fromType, Object toType)
52
  {
52
  {
Lines 94-100 Link Here
94
            {
94
            {
95
              if (eAttribute.isMany())
95
              if (eAttribute.isMany())
96
              {
96
              {
97
                StringBuilder result = new StringBuilder();
97
                StringBuffer result = new StringBuffer();
98
                for (Object value : (List<?>)fromObject)
98
                for (Object value : (List<?>)fromObject)
99
                {
99
                {
100
                  if (result.length() == 0)
100
                  if (result.length() == 0)
(-)src/org/eclipse/emf/EMFDatabindingLib.gwt.xml (+7 lines)
Added Link Here
1
<module>
2
	<!-- Inherit the core Web Toolkit stuff.                  -->
3
	<inherits name='com.google.gwt.user.User'/>
4
5
	<source path="databinding" />
6
7
</module>

Return to bug 211340