(incubating) | The Free and Open Productivity Suite

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous

Content for OpenOffice.org version 3.3.

:: com :: sun :: star :: frame ::

unpublished service PopupMenuControllerFactory
Usage Restrictions
not published
Description
specifies a factory that creates instances of registered popup menu controller.

A popup menu controller can be registered for a command URL and a model service name. A menu bar or context menu will automatically create a popup menu controller if it contains a registered command URL.

Since
OOo 2.0.0

Exported Interfaces - Summary
::com::sun::star::lang::XMultiComponentFactory

this interface provides functions to create new instances of a registered popup menu controller. (details)

XUIControllerRegistration

provides functions to query for, register and deregister a popup menu controller.

Exported Interfaces - Details
::com::sun::star::lang::XMultiComponentFactory
Description
this interface provides functions to create new instances of a registered popup menu controller.

Use com.sun.star.lang::XMultiComponentFactory::createInstanceWithArguments() to create a new popup menu controller instance. Use the CommandURL as the service specifier. This call supports the following arguments provided as ::com::sun::star::beans::PropertyValue:

  • Frame
    specifies the XFrame instance to which the popup menu controller belongs to. This property must be provided to the popup menu controller, otherwise it cannot dispatch its internal commands.
  • ModuleIdentifier
    optional string that specifies in which module context the popup menu controller should be created.

XUIControllerRegistration
Description
provides functions to query for, register and deregister a popup menu controller.

 
Top of Page

Apache OpenOffice is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.

Copyright & License
Apache and the Apache feather logos are trademarks of The Apache Software Foundation. OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.