Community
Participate
Working Groups
When an activity disables a view's prefix, I would expect it to not be added to perspectives automatically anymore. For example, JDT Debug contributes a view (org.eclipse.jdt.debug.ui.DisplayView) to the Debug perspective provided by Debug UI. If I disable an activity that filters "org.eclipse.jdt.debug.*" and then create the Debug perspective, I would expect the perspective to be created without this view. In addition, I think views contributed to perspectives (and not declared visible="false") should appear automatically when the associated activity is enabled. Whether or not they should automatically disappear is debatable.
please fix for jared
Initial fix submitted. I convert all .addView() calls on IPageLayout/IFolderLayout to .addPlaceholder() and add listeners that detect when these views should be enabled based on activity deltas. I've decided not to add code to shut down views automatically at the point, but I'm still not convinced that's right. I may reopen if I flip-flop. Also, please see Bug 48089 for another gotcha that needs addressing.
Steps to verify: 1) launch (clean workspace) 200311211210 build with plugin.xml found at http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/platform-ui-home/roles/plugin.xml 2) Open Perspective-> (Raw) Java 3) Note that package explorer/hierarchy are not visible. 4) Window->Activity Configuration. Enabled Java an OK. 5) Note that packaga explorer/hierarchy appear where they would normally.
Verified in 200311211210 using above method.
*** Bug 45455 has been marked as a duplicate of this bug. ***
Closed.