Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 312093 - Sonar: a UI client for the Ping API
Summary: Sonar: a UI client for the Ping API
Status: RESOLVED FIXED
Alias: None
Product: Riena
Classification: RT
Component: demo & examples (show other bugs)
Version: 1.2.0   Edit
Hardware: PC All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-07 12:04 EDT by Ralf Stuckert CLA
Modified: 2010-05-25 03:26 EDT (History)
2 users (show)

See Also:


Attachments
sonar plugin and fragment (63.01 KB, application/zip)
2010-05-07 12:04 EDT, Ralf Stuckert CLA
christian.campo: iplog+
Details
Patch for the SonarController in case no IPingable is found (3.49 KB, patch)
2010-05-25 01:15 EDT, Ralf Stuckert CLA
christian.campo: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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!