Java Reference
In-Depth Information
10.4.12 GlobalActionHandlerService
The
GlobalActionHandlerService
provides a way to handle commonly used
actions by providing an
IGlobalActionHandler
for an associated
IGlobal
ActionHandlerContext
. A number of providers are available in the runtime,
each extending the
AbstractGlobalActionHandlerProvider
class. The
DiagramGlobalActionHandlerProvider
uses the
DiagramGlobalAction
Handler
to provide most of the common diagram behavior, such as cut, copy,
paste, delete, print, and save. Most diagrams contribute this provider, in addition
to
DiagramIDEGlobalActionHandlerProvider
and
DiagramUIRender
GlobalActionHandlerProvider
. The main elements of the service are seen in
Figure 10-36.
Figure 10-36
GlobalActionHandlerService
GlobalActionHandlerProvider Extension-Point
Identifier:
org.eclipse.gmf.runtime.common.ui.services.action
.
globalActionHandlerProviders
Search WWH ::
Custom Search