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, ...

Get JavaFX Rich Client Programming on the NetBeans Platform now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.