9. Action Framework
Actions perform work within an application and users initiate this work by selecting menu items, clicking toolbar buttons, or issuing keyboard shortcuts. The NetBeans Platform has an Action framework that provides a configurable UI for action initiation. This framework also provides ways to dynamically enable and disable actions and customize behavior based on selection context. In this chapter we’ll show you how to hook into the NetBeans Platform Action framework, create your own actions, and reuse some of the standard actions provided by the platform. We’ll also introduce context-sensitive actions and capabilities in our continuing effort to create loosely-coupled, modular applications.
What You Will Learn
• Create always-enabled, ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access