Bug 249320

Summary: JJ: Launch Shell action not available in Remote System Details/Monitor views
Product: [Tools] Target Management Reporter: Kevin Doyle <kjdoyle>
Component: RSEAssignee: Kevin Doyle <kjdoyle>
Status: RESOLVED FIXED QA Contact: Martin Oberhuber <mober.at+eclipse>
Severity: normal    
Priority: P3 CC: anna.dushistova, kjdoyle, rdibugs
Version: 3.0Keywords: bugday, helpwanted
Target Milestone: 3.1 M3   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Bug Depends on: 242431    
Bug Blocks:    
Attachments:
Description Flags
Patch none

Description Kevin Doyle CLA 2008-10-01 09:54:59 EDT
The Launch Shell action is contributed to the Remote Systems view and as such doesn't show up in the Remote System Details or Monitor views.

Another reason we need Bug #242431.
Comment 1 Martin Oberhuber CLA 2008-10-01 10:18:41 EDT
Just adding the menu item should be simple enough by copying some markup in the org.eclipse.rse.shells.ui/plugin.xml -- I don't think that this really depends on bug 242431.

The additional menu contributions should be made just by referencing the existing command, rather than duplicating it.

This should be simple enough for a BugDay bug.
Comment 2 Kevin Doyle CLA 2008-11-12 10:43:54 EST
Created attachment 117670 [details]
Patch
Comment 3 Kevin Doyle CLA 2008-11-12 10:44:44 EST
Committed fix.
Comment 4 Martin Oberhuber CLA 2008-11-12 12:58:24 EST
For the records, I also changed the markup in rse.terminals.ui/plugin.xml:

        <menuContribution
              locationURI="popup:org.eclipse.rse.views.common?after=additions">

Any plugin which uses the new rse.views.common markup in order to contribute
its menu to all the RSE views needs to change its bundle dependency in the
MANIFEST.MF to say that it requires rse.ui version 3.1 at least: [3.1,4.0)