This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 53500 - Allow to add/override actions in editor
Summary: Allow to add/override actions in editor
Status: RESOLVED DUPLICATE of bug 85442
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 4.x
Hardware: All All
: P1 blocker (vote)
Assignee: issues@editor
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-17 12:39 UTC by Miloslav Metelka
Modified: 2007-11-05 13:44 UTC (History)
0 users

See Also:
Issue Type: TASK
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Miloslav Metelka 2005-01-17 12:39:13 UTC
We would like to add support for adding/overriding
actions in the editor for a particular mime-type
by registering them in a particular folder in the
System Filesystem (namely
Editors/<mime-type>/Actions).
This is required in order to implement the
bookmarks saving (issue 8007) cleanly as a
bookmarks submodule of the editor. The bookmarks
submodule will then depend on the Projects API
while the editor module will not have to.

The registered actions will be required to
implement javax.swing.Action interface.
Generally the registered actions should be named
(i.e. have the Action.NAME property populated) so
that can be bound to a keystroke by their name.
The actions will be added to the present editor
actions (for the particular mime-type) after the
default actions have been added. If some of the
registered actions will have the same name as the
already present actions then the registered
actions will override the default ones.
Comment 1 Vitezslav Stejskal 2007-10-18 11:55:18 UTC

*** This issue has been marked as a duplicate of 85442 ***