Bug 124512 - [RCP] Move TextActionHandler out of IDE
Summary: [RCP] Move TextActionHandler out of IDE
Status: ASSIGNED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 enhancement with 13 votes (vote)
Target Milestone: ---   Edit
Assignee: Platform UI Triaged CLA
QA Contact:
URL:
Whiteboard:
Keywords: api, helpwanted
Depends on:
Blocks: 128409
  Show dependency tree
 
Reported: 2006-01-19 12:45 EST by Peter Nehrer CLA
Modified: 2019-09-06 16:13 EDT (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Nehrer CLA 2006-01-19 12:45:48 EST
Class org.eclipse.ui.actions.TextActionHandler is very useful in generic workbench (non-IDE) applications. For example, form-based editors can use it to support global clipboard actions in their text fields while providing custom actions for non-text controls.

However, this class is at this moment (including M4) in the IDE plugin. Yet the only IDE dependencies it seems to have are those referencing labels and help context IDs.

Would it be possible to refactor this class in such a way that it'd be possible to use it in non-IDE applications?

Thanks!
Comment 1 Nick Edgar CLA 2006-02-07 11:09:23 EST
In order to fix this up properly, the help context ids would have to be retrieved from the handling actions (configured via setCutAction etc).  The generic workbench can't provide appropriate help -- it doesn't even describe the menu structure of the application, as is done in the current IDE-specific help topics.

If this routing can't be done automatically, then API should be added to allow the client to specify the help context ids to use.

Since the API freeze is next week, we will not be able to address this for 3.2.
Comment 2 Nick Edgar CLA 2006-03-15 11:24:36 EST
Reassigning bugs in component areas that are changing ownership.
Comment 3 Kevin McGuire CLA 2007-06-21 17:49:58 EDT
Hmm, we now have three TextActionHandler classes.  Perhaps reuse would be worthwhile!

org.eclipse.ui.actions
org.eclipse.ui.internal.navigator
org.eclipse.ui.internal.navigator.resources.actions
Comment 4 Boris Bokowski CLA 2009-11-26 16:16:38 EST
Prakash is now responsible for watching bugs in the [RCP] component area.
Comment 5 Eclipse Webmaster CLA 2019-09-06 16:13:15 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.