Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 84021 Details for
Bug 211340
[GWT] Make EMF-Databinding compile with GWT-Compiler
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
The needed patch
patch.txt (text/plain), 4.45 KB, created by
Thomas Schindl
on 2007-11-28 16:24:13 EST
(
hide
)
Description:
The needed patch
Filename:
MIME Type:
Creator:
Thomas Schindl
Created:
2007-11-28 16:24:13 EST
Size:
4.45 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.emf.databinding >Index: src/org/eclipse/emf/databinding/EObjectObservableValue.java >=================================================================== >RCS file: /cvsroot/modeling/org.eclipse.emf/org.eclipse.emf/plugins/org.eclipse.emf.databinding/src/org/eclipse/emf/databinding/EObjectObservableValue.java,v >retrieving revision 1.1 >diff -u -r1.1 EObjectObservableValue.java >--- src/org/eclipse/emf/databinding/EObjectObservableValue.java 16 Nov 2007 21:25:21 -0000 1.1 >+++ src/org/eclipse/emf/databinding/EObjectObservableValue.java 28 Nov 2007 21:21:39 -0000 >@@ -123,7 +123,7 @@ > @Override > public String toString() > { >- StringBuilder result = new StringBuilder(getClass().getName()); >+ StringBuffer result = new StringBuffer(getClass().getName()); > result.append('@'); > result.append(Integer.toHexString(hashCode())); > >Index: src/org/eclipse/emf/databinding/EObjectObservableList.java >=================================================================== >RCS file: /cvsroot/modeling/org.eclipse.emf/org.eclipse.emf/plugins/org.eclipse.emf.databinding/src/org/eclipse/emf/databinding/EObjectObservableList.java,v >retrieving revision 1.1 >diff -u -r1.1 EObjectObservableList.java >--- src/org/eclipse/emf/databinding/EObjectObservableList.java 16 Nov 2007 21:25:21 -0000 1.1 >+++ src/org/eclipse/emf/databinding/EObjectObservableList.java 28 Nov 2007 21:21:39 -0000 >@@ -49,7 +49,7 @@ > > public EObjectObservableList(Realm realm, EObject eObject, EStructuralFeature eStructuralFeature) > { >- super(realm, (EList<?>)eObject.eGet(eStructuralFeature), eStructuralFeature); >+ super(realm, (EList)eObject.eGet(eStructuralFeature), eStructuralFeature); > this.eObject = eObject; > this.eStructuralFeature = eStructuralFeature; > } >@@ -152,7 +152,7 @@ > }; > eObject.eAdapters().add(listener); > } >- >+ > @Override > protected void lastListenerRemoved() > { >@@ -261,7 +261,7 @@ > public Object move(int newPosition, int oldPosition) > { > checkRealm(); >- return ((EList<?>)wrappedList).move(newPosition, oldPosition); >+ return ((EList)wrappedList).move(newPosition, oldPosition); > } > > public void move(int newPosition, Object object) >@@ -272,7 +272,7 @@ > @Override > public String toString() > { >- StringBuilder result = new StringBuilder(getClass().getName()); >+ StringBuffer result = new StringBuffer(getClass().getName()); > result.append('@'); > result.append(Integer.toHexString(hashCode())); > >Index: src/org/eclipse/emf/databinding/EMFUpdateValueStrategy.java >=================================================================== >RCS file: /cvsroot/modeling/org.eclipse.emf/org.eclipse.emf/plugins/org.eclipse.emf.databinding/src/org/eclipse/emf/databinding/EMFUpdateValueStrategy.java,v >retrieving revision 1.1 >diff -u -r1.1 EMFUpdateValueStrategy.java >--- src/org/eclipse/emf/databinding/EMFUpdateValueStrategy.java 16 Nov 2007 21:25:21 -0000 1.1 >+++ src/org/eclipse/emf/databinding/EMFUpdateValueStrategy.java 28 Nov 2007 21:21:39 -0000 >@@ -1,13 +1,13 @@ > /** >- * <copyright> >+ * <copyright> > * > * Copyright (c) 2007 IBM Corporation and others. > * All rights reserved. This program and the accompanying materials > * are made available under the terms of the Eclipse Public License v1.0 > * which accompanies this distribution, and is available at > * http://www.eclipse.org/legal/epl-v10.html >- * >- * Contributors: >+ * >+ * Contributors: > * IBM - Initial API and implementation > * > * </copyright> >@@ -46,7 +46,7 @@ > { > super(provideDefaults, updatePolicy); > } >- >+ > @Override > protected IConverter createConverter(Object fromType, Object toType) > { >@@ -94,7 +94,7 @@ > { > if (eAttribute.isMany()) > { >- StringBuilder result = new StringBuilder(); >+ StringBuffer result = new StringBuffer(); > for (Object value : (List<?>)fromObject) > { > if (result.length() == 0) >Index: src/org/eclipse/emf/EMFDatabindingLib.gwt.xml >=================================================================== >RCS file: src/org/eclipse/emf/EMFDatabindingLib.gwt.xml >diff -N src/org/eclipse/emf/EMFDatabindingLib.gwt.xml >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ src/org/eclipse/emf/EMFDatabindingLib.gwt.xml 1 Jan 1970 00:00:00 -0000 >@@ -0,0 +1,7 @@ >+<module> >+ <!-- Inherit the core Web Toolkit stuff. --> >+ <inherits name='com.google.gwt.user.User'/> >+ >+ <source path="databinding" /> >+ >+</module>
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 211340
: 84021