Java Reference
In-Depth Information
API information:
The value of the GlobalActionHandlerProvider class attribute must be
a fully qualified name of a Java class that implements both the org.eclipse.
gmf.runtime.common.ui.services.action.global.IGlobalAction
HandlerProvider and org.eclipse.gmf.runtime.common.core.
service.IProvider interfaces. For convenience, this can be a subclass of
org.eclipse.gmf.runtime.common.ui.services.action.global.
AbstractGlobalActionHandlerProvider . As shown in the example, addi-
tional subclasses of AbstractGloabalActionHandlerProvider exist, such
as DiagramUIRenderGlobalActionHandlerProvider (handles cut, copy,
and paste) and DiagramIDEGlobalActionHandlerProvider (handles
bookmarks).
10.4.13 ActionFilterService
The ActionFilterService provides a service-provider capability to the plat-
form's IActionFilter functionality. Action filtering allows for a more fine-
grained approach to controlling the contribution of actions to an item in the
workbench. The runtime's ActionFilterService and corresponding
IActionFilterProvider allow for priority and execution strategy enhance-
ment of action filtering. The DiagramActionFilterProvider is an internal
provider and extends AbstractModelActionFilterProvider as seen in
Figure 10-37.
Figure 10-37
ActionFilterService
Search WWH ::




Custom Search