Bug 185552 - [api][breaking] remoteSystemsViewPreferencesActions extension point should be removed or deprecated
Summary: [api][breaking] remoteSystemsViewPreferencesActions extension point should be...
Status: RESOLVED FIXED
Alias: None
Product: Target Management
Classification: Tools
Component: RSE (show other bugs)
Version: 1.0.1   Edit
Hardware: All All
: P2 enhancement (vote)
Target Milestone: 2.0   Edit
Assignee: Martin Oberhuber CLA
QA Contact: Martin Oberhuber CLA
URL: http://dsdp.eclipse.org/help/latest/t...
Whiteboard:
Keywords: api
Depends on:
Blocks: 186769
  Show dependency tree
 
Reported: 2007-05-04 10:33 EDT by Martin Oberhuber CLA
Modified: 2008-08-13 13:18 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Oberhuber CLA 2007-05-04 10:33:37 EDT
The remoteSystemsViewPreferencesActions seems to be obsolete. It should be possible to achieve the same via
   org.eclipse.ui.viewActions   
or
   org.eclipse.ui.commands

All the client needs to do, is contribute a handler class that opens a specific preference page. This handler class can be derived from a utility class in RSE. Because the specific preference page is likely contributed as well, so the preference page's plugin needs to be activated anyways, it is very likely that having to specify a class doesn't even activate an extra plugin.

Migration docs should be written explaining how a custom preference page can be contributed. As an Example, the existing RSE preference page show action should be contributed through one of the two methods mentioned above.

When this is done, 
* class SystemCascadingPreferencesAction will most probably be obsolete 
  (since core Eclipse cares for populating the menu already), class
* class SystemShowPreferencesPageAction will need to become API since
  clients will need to derive from it - unless we'd be able to use the commands
  extension point with command parameters to modify operation of the action,
  then it can remain internal.
Comment 1 Martin Oberhuber CLA 2007-05-14 07:18:45 EDT
Extension point removed, checkin comment:
[185552][api] Remove remoteSystemsViewPreferencesActions extension point

For 2.0RC1, and org.eclipse.ui.handlers extension should be created to allow extenders contribute Preference Page Open shortcuts again. This request is being tracked by bug #186769.
Comment 2 Martin Oberhuber CLA 2008-08-13 13:18:29 EDT
[target cleanup] 2.0 M7 was the original target milestone for this bug