| Summary: | Host OSGi console should have close action | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] PDE | Reporter: | Darin Wright <darin.eclipse> | ||||||||
| Component: | UI | Assignee: | PDE-UI-Inbox <pde-ui-inbox> | ||||||||
| Status: | RESOLVED FIXED | QA Contact: | |||||||||
| Severity: | normal | ||||||||||
| Priority: | P3 | CC: | curtis.windatt.public, tjwatson | ||||||||
| Version: | 3.6 | Keywords: | polish | ||||||||
| Target Milestone: | 3.6 RC1 | Flags: | curtis.windatt.public:
review+
|
||||||||
| Hardware: | PC | ||||||||||
| OS: | Windows XP | ||||||||||
| Whiteboard: | |||||||||||
| Attachments: |
|
||||||||||
|
Description
Darin Wright
Created attachment 168223 [details]
patch
Adds close button in the toolbar.
Please review, Curtis. Patch works for me. Although I did find (and fix) a bug in the framework when testing this patch. bug312691. Created attachment 168245 [details] udpated patch This patch incorporates a fix to bug 312697. Since the two patches will collide, I have combined them. *** Bug 312697 has been marked as a duplicate of this bug. *** Created attachment 168248 [details]
updated patch
in init() you should write the message before registering the console session to ensure the message is printed before the osgi> prompt.
(In reply to comment #6) > Created an attachment (id=168248) [details] > updated patch > in init() you should write the message before registering the console session > to ensure the message is printed before the osgi> prompt. Makes sense. I never saw it happen, but wondered... +1 works great now, able to close/disconnect/etc from the console and open again later. I made one small change to close the input stream that writes out the warning message. Fixed in HEAD. |