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

Bug 368673

Summary: Update example Client to use new API
Product: [Modeling] EMFStore Reporter: Otto von Wesendonk <ottovonwesendonk>
Component: ClientUIAssignee: Florian Pirchner <florian.pirchner>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: emueller, florian.pirchner, mkoegel
Version: unspecified   
Target Milestone: 1.0.0.RC1   
Hardware: PC   
OS: other   
Whiteboard:
Attachments:
Description Flags
Updated Hello World
none
ExampleSessionProvider
none
SessionProvider Update none

Description Otto von Wesendonk CLA 2012-01-16 05:27:03 EST
We should create a sample client using the new APIs in order to demonstrate the functionality
Comment 1 Florian Pirchner CLA 2013-01-31 06:10:03 EST
3 examples should already be there.
Comment 2 Edgar Mueller CLA 2013-03-01 10:44:52 EST
We should update those plugins to conform with the new API, except the merging example, since the RC1 will not support conflict detection & merging via an API.
Comment 3 Florian Pirchner CLA 2013-03-01 10:46:07 EST
OK, will do next week...

Best, Florian
Comment 4 Johannes Faltermeier CLA 2013-03-07 05:51:16 EST
Created attachment 228052 [details]
Updated Hello World

1.  Did you author 100% of the content you are contributing? - Yes
2.  Do you have the rights to contribute the content to Eclipse? - Yes
3.  Are you contributing the content under the EPL? - Yes
Comment 5 Florian Pirchner CLA 2013-03-07 05:55:14 EST
Thanks a lot. Exactly this moment i prepared to start implementing the required changes.
Will add the contribution immediatelly.
Comment 6 Florian Pirchner CLA 2013-03-07 06:55:47 EST
Patch works like a charme... Pushed it to git repo.

Thanks!
Comment 7 Florian Pirchner CLA 2013-03-07 07:33:58 EST
Migrated merging example.
ConflictResolver is still based on old API.
Comment 8 Florian Pirchner CLA 2013-03-07 08:25:50 EST
Mirgrated and pushed examples
Comment 9 Johannes Faltermeier CLA 2013-03-07 09:26:47 EST
Created attachment 228068 [details]
ExampleSessionProvider

Hi, 
the session provider example doesn't include a session provider but gets the usersession in a regular way. See patch for proposed fix.
Comment 10 Florian Pirchner CLA 2013-03-07 09:49:32 EST
Thanks a lot for it. Works well!

Can you please add your copyright information to ExampleSessionProvider.class?
Then i will push it to repo.

Thanks,
Florian
Comment 11 Johannes Faltermeier CLA 2013-03-08 04:44:27 EST
Created attachment 228129 [details]
SessionProvider Update

added the copyright-info.
Comment 12 Edgar Mueller CLA 2013-07-29 04:05:15 EDT
*** Bug 412673 has been marked as a duplicate of this bug. ***
Comment 13 Edgar Mueller CLA 2013-07-29 04:06:34 EDT
I'm closing this. Max did update the API examples for the 1.0.0 release.