Community
Participate
Working Groups
Due to fixing Bug 112884, the refactor actions were removed from the XSD source page. These actions need to be added back in. I did some initial investigation into adding them back in via popup menu extension point; however, I ran into some issues (mainly due to limitations in base). The actions can be added back in doing something like the following: <viewerContribution targetID="org.eclipse.wst.xsd.core.xsdsource.source.EditorContext" id="org.eclipse.wst.xsd.editorActions"> <action id="org.eclipse.wst.xsd.ui.internal.refactor.actions.MakeLocalElementGlobalActionDelegate" label="Make Local Element Global" class="org.eclipse.wst.xsd.ui.internal.refactor.actions.MakeLocalElementGlobalActionDelegate" menubarPath="refactor.group" /> </viewerContribution> But the actions will always be visible and enabled in the editor context menu. And then when the user tries to run the actions, they will get some sort of notification that the action cannot be performed if it can't. This is different than the way these actions used to work. The actions used to only be visible and enabled when the actions were going to work. I could not find a way to work around this limitation, and it looks like that's how other actions work (that were contributed via extension point).
Reassign
Created attachment 30888 [details] patch for the new actions
Upping the priority. I doubt this patch is still applicable. Should be a trivial thing to fix though.
We really should fix this. The fix should be trivial and will allow folks who like working in the source view to do refactoring without needing to jump over to the outline or design view. I'd like to put it forward as a WTP 1.5 candidate... but I expect that this will be pushed back to WTP 1.5.1.
Retarget to 1.5.1
I have fixed this problem and I am having the patch for it. It's a really trivia one. Should this be pushed back to WTP 1.5 ?
Patch has been commited, this bug is ready to be marked 'Resolved'
Patch was committed.
verified in wtp 1.5.1 9/14/06 I did find a new bug though, bug 157912.
This is part of a mass update to close out all stale WTP defects already verified by the reporter but awaiting closure by the assignee. If you feel this defect was closed inappropriately, please reopen. Thanks, John Lanuti