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

Bug 312093

Summary: Sonar: a UI client for the Ping API
Product: [RT] Riena Reporter: Ralf Stuckert <ralf.stuckert>
Component: demo & examplesAssignee: Project Inbox <riena.core-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: christian.campo, Stefan.Liebig
Version: 1.2.0   
Target Milestone: ---   
Hardware: PC   
OS: All   
Whiteboard:
Attachments:
Description Flags
sonar plugin and fragment
christian.campo: iplog+
Patch for the SonarController in case no IPingable is found christian.campo: iplog+

Description Ralf Stuckert CLA 2010-05-07 12:04:04 EDT
Created attachment 167500 [details]
sonar plugin and fragment

I've written a UI client for the ping API, realized as a Riena SubModule. Visually, it is very similar to the JUnit test runner. The intention is to integrate into a client product. After start, it collects all services that implement the IPingable interface, ping's them, and displays the result visually. It consists of a plugin (which contain the SubModule and all the logic), and a fragment which provides a menu that will bring up the Sonar Module.
Comment 1 Ralf Stuckert CLA 2010-05-07 12:05:12 EDT
I've written a UI client for the ping API, realized as a Riena SubModule. Visually, it is very similar to the JUnit test runner. The intention is to integrate into a client product. After start, it collects all services that implement the IPingable interface, ping's them, and displays the result visually. It consists of a plugin (which contain the SubModule and all the logic), and a fragment which provides a menu that will bring up the Sonar Module.
Comment 2 Stefan Liebig CLA 2010-05-21 07:07:03 EDT
Thanks a lot for this contribution.

I did a few modifications:
- the two contributed bundles are now in one bundle:
  org.eclipse.riena.example.ping.client
- I tried to fix an issue when no pingables are available, it works now - maybe
you can have a look at it
Comment 3 Ralf Stuckert CLA 2010-05-25 01:15:53 EDT
Created attachment 169765 [details]
Patch for the SonarController in case no IPingable is found

There was another bug if no IPingable is found. This is fixed by the attached patch. I also tried to provide a message dialog to the client in that case, and leave the tree empty. Alas, the TreeRidget does not allow an empty tree :-(  Why is that?
Best regards
Ralf
Comment 4 Stefan Liebig CLA 2010-05-25 03:24:36 EDT
Thanks for the patch!