Community
Participate
Working Groups
Currently if a plugin is installed that provides a new action set and/or new views (for example the fileopen or log4j integration plugins at eclipsepowered.org), if the user has made any modification to the perspectives then the new toolbar buttons/views/etc. do not appear until the user runs a Window > Reset Perspective. This has caused *many* support questions from users of my plugins alone. The workaround is simple but it would be very nice if these contributions would simply appear without the user having to do an extra step. Failing that, if there was an API the plugin could use to detect this situation and force a reset perspective I could do that, but of course all plugins would have to be modified to do that to get the benefit. I think this will be especially problematic with RCP/Equinox allowing plugin installs while Eclipse is running. A user will install a feature and nothing apparent will happen, and they'll have to call tech support.
Agree this is a major usability problem.
*** Bug 56624 has been marked as a duplicate of this bug. ***
this is related to bug 6929. plan to address 6929 but not this bug at this time.
The fix for bug 6929 should have addressed this one too. Ed, can you confirm? *** This bug has been marked as a duplicate of 6929 ***
I still see something like this in 3.1M6. I thought it was the same problem but maybe it's different. When I installed the YourKit profiler the profile buttons didn't show up immediately. I had to customize the perspective to see them. I don't think the user should have to do this. This is noted in the YourKit installation instructions: --snip-- Eclipse: Run | Profile XXX actions in the main menu and "Profile" group in the main toolbar. Additional launch parameters can be configured in "Run | Profile...", tab "YourKit Java Profiler". Note: You might need to enable action group "Profile" under Window | Customize Perspective | Commands --snip--
Will investigate.
Ed, can you take a look at the action set definition for YourKit and see if they specify visible="true", or if they associate it with any perspective via the perspectiveExtensions extension point?
I looked, and the words "action", "visible" and "perspectiveExtensions" do not appear in their plugin.xml. They seem to be using an already existing action set built-in to the platform. I emailed you a copy to look at.
This was fixed by bug 6929, verified in I20050509 using both a visible="true" action set, and a perspectiveExtension associating an action set (without visible="true") to the resource perspective. The YourKit plugin does not define its own action set. It defines some launch configuration tab groups and launch delegates with "profile" mode. So a Profile As submenu should appear beside Run As and Debug As in the context menus. There is also a Profile action set, but that will need to be turned on manually via Window > Customize Perspective. The workbench has no way of knowing this action set should be turned on due to the YourKit extensions. If it does not work as above, or you think there is still a problem here, please open a separate bug report. *** This bug has been marked as a duplicate of 6929 *** *** This bug has been marked as a duplicate of 6929 ***
Makes sense, thanks for looking into it. If the platform can't figure out that defining launch configuration tab groups and launch delegates with "profile" mode means that the Profile action set should be enabled, then is there some other way for this plug-in to turn on that Profile action set in its manifest without requiring user intervention? I don't think so, so maybe a new enhancement request is in order for the next release.
Not currently. Please open a new enhancement request.
> Not currently. Please open a new enhancement request. I have added https://bugs.eclipse.org/bugs/show_bug.cgi?id=94927