Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 372958

Summary: Provide object id generator
Product: [RT] RAP Reporter: Ralf Sternberg <rsternberg>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED WONTFIX QA Contact:
Severity: enhancement    
Priority: P3    
Version: 1.5   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Ralf Sternberg CLA 2012-03-01 05:59:41 EST
Currently, we use the class IdGenerator to create unique widget ids. With the new protocol, we also need ids for objects that aren't widgets, e.g. BrowserHistory, ClientListeners, etc.

We should provide a generic id generator for all types of synchronizeable objects.
Comment 1 Ralf Sternberg CLA 2012-03-02 16:13:58 EST
We decided to keep the IdGenerator internal. Code outside of RWT should not have to deal with object ids. To create custom synchronizable objects, we provide a ClientObjectAdapter that will acquire a new object id from the IdGenerator. For details, see bug 373064.
Comment 2 Ralf Sternberg CLA 2012-03-02 16:14:46 EST
Closing as WONTFIX