Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 283387 - [plug-in registry] Response of plugin when it lost connection with remote application
Summary: [plug-in registry] Response of plugin when it lost connection with remote app...
Status: RESOLVED FIXED
Alias: None
Product: PDE
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.5   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: PDE-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 284086 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-07-14 05:17 EDT by Wojciech Galanciak CLA
Modified: 2009-08-13 05:11 EDT (History)
2 users (show)

See Also:


Attachments
patch (17.15 KB, patch)
2009-08-07 05:46 EDT, Wojciech Galanciak CLA
no flags Details | Diff
communication (24.91 KB, patch)
2009-08-07 10:11 EDT, Wojciech Galanciak CLA
jacek.pospychala: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Wojciech Galanciak CLA 2009-07-14 05:17:14 EDT
This problem occurs when we lose connection with remote OSGi instance. We must decide how plugin should react for that event. I think that it should show error dialog which informs about the problem and after that it should connects with local model.
Comment 1 Jacek Pospychala CLA 2009-07-14 16:48:16 EDT
Sounds good :-)
Comment 2 Wojciech Galanciak CLA 2009-08-07 05:46:06 EDT
Created attachment 143758 [details]
patch

This is the first version of the problem solution. When we close server application plugin registry view will inform us that we lose connection with remote application and will load local model.
Comment 3 Wojciech Galanciak CLA 2009-08-07 10:11:20 EDT
Created attachment 143773 [details]
communication

This patch solves two problems:
- informs user when plugin lost connection with the server,
- informs user when plugin can't establish connection with the server,

Afer it shows proper information it connects again with a local model.
Comment 4 Wojciech Galanciak CLA 2009-08-07 10:12:13 EDT
*** Bug 284086 has been marked as a duplicate of this bug. ***
Comment 5 Jacek Pospychala CLA 2009-08-13 05:11:40 EDT
Wojtek, I have applied your patch with slight modifications. Can you verify that all still works? :-)

I removed error message when server is lost, because I feel such extra message might be annoying when someone constantly starts/stops an Eclipse/Equinox application