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 155504 - Programmably/imperatively add actions to TC and Mode
Summary: Programmably/imperatively add actions to TC and Mode
Status: NEW
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Stanislav Aubrecht
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-15 21:17 UTC by mrmorris
Modified: 2010-10-08 04:04 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mrmorris 2008-12-15 21:17:14 UTC
There is currently no way through the API, to dynamically add actions globally for specific modes or specific (foreign)
TopComponents. The ones already there appears to originate from org.netbeans.core.windows.actions.ActionUtils and cannot
be readily supplemented. Currently one has to resort to hacks of this sort: http://wiki.netbeans.org/DevFaqActionAddTabPopup
Comment 1 Jaroslav Tulach 2010-10-08 04:04:43 UTC
I'd expect the tabs could read the actions from a well defined location in the SFS using Utilities.actionsForPath(....)