このページはEtoJ逐語翻訳フィルタによって翻訳生成されました。

翻訳前ページへ


Interface XUIElementFactoryRegistration
Language

The 解放する/自由な and Open 生産性 控訴
解放(する)d: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: com :: sun :: 星/主役にする :: ui ::

unpublished interface XUIElementFactoryRegistration
Usage 制限s
not published
Description
is used to query, 登録(する) and deregister 使用者 interface element factories.

A 使用者 interface element factory is 登録(する)d for a 始める,決める of three 所有物/資産/財産s.

  • Typea string that identifies a type of a 使用者 interface element.
  • 指名するa string that identifies a 選び出す/独身 使用者 interface element within a type class.
  • Modulea string that identifies a 選び出す/独身 module of OpenOffice.
    • A combination of these three 所有物/資産/財産 values can uniquely identifiy every 使用者 interface element within OpenOffice. 現在/一般に the に引き続いて 使用者 interface element types are defined:
      • menubar
      • popupmenu
      • toolbar
      • statusbar
      • floater

Since
OOo 2.0

Methods' 要約
getRegisteredFactories 機能(する)/行事 to retrieve a 名簿(に載せる)/表(にあげる) of all 登録(する)d 使用者 interface element factories  
getFactory 機能(する)/行事 to retrieve a 以前 登録(する)d 使用者 interface element factory.  
registerFactory 機能(する)/行事 to 登録(する) a 使用者 interface element factory.  
deregisterFactory 機能(する)/行事 to 除去する a 以前 defined 使用者 interface element factory.  
Methods' 詳細(に述べる)s
getRegisteredFactories
sequence< sequence< ::com::sun::星/主役にする::beans::PropertyValue > >
getRegisteredFactories();

Description
機能(する)/行事 to retrieve a 名簿(に載せる)/表(にあげる) of all 登録(する)d 使用者 interface element factories
Returns
a sequence of sequence of propert values which 述べる every 登録(する)d 使用者 interface element factory.
The に引き続いて 所有物/資産/財産s are defined:
  • Typea string 所有物/資産/財産 that identifies the type of the 使用者 interface element which this factory can create.
  • 指名するan optional string 所有物/資産/財産 which identifies a 選び出す/独身 使用者 interface element within a type class which this factory can create. If this 所有物/資産/財産 is not returned, the factory is a generic factory for all 使用者 interface elements of the same type.
  • Modulean optional string 所有物/資産/財産 that 明示するs to which module this factory is bound to. If this 所有物/資産/財産 is not returned, the factory is a generic factory.
getFactory
XUIElementFactory
getFactory( [in] string  ResourceURL,
[in] string  ModuleIdentifier );

Description
機能(する)/行事 to retrieve a 以前 登録(する)d 使用者 interface element factory.
Returns
a 言及/関連 to a 登録(する)d 使用者 interface element factory if a factory has been 設立する. An empty 言及/関連 when no factory has been 設立する. The defined search order of factories must be from special to generic ones.
Parameter ResourceURL
a 資源 URL which identifies a 使用者 interface element. A 資源 URL uses the に引き続いて syntax: "私的な:資源/$type/$name". It is only 許すd to use ascii characters for type and 指名する.
Parameter ModuleName
an optional module identifier. This value can remain empty, if a generic factory is requested. The module identifier can be retrieved from the ::com::sun::星/主役にする::でっちあげる,人を罪に陥れる::ModuleManager service.
registerFactory
無効の
registerFactory( [in] string  aType,
[in] string  aName,
[in] string  aModuleIdentifier,
[in] string  aFactoryImplementationName )
raises( ::com::sun::星/主役にする::コンテナ::ElementExistException );

Description
機能(する)/行事 to 登録(する) a 使用者 interface element factory.
Parameter aType
a string that identifies a type of a 使用者 interface element. 現在/一般に the に引き続いて types are supported:
  • menubar
  • toolbar
  • statusbar
Parameter aName
an optional 指名する of a 選び出す/独身 使用者 interface element. This 指名する must be unique within a 使用者 interface element type class. This value can remain empty if no special factory for a 選び出す/独身 使用者 interface element is needed.
Parameter aModuleIdentifier
an optional module identifier that can be used to 登録(する) a factory only for a 選び出す/独身 module. This value can remain empty if no special factory for a 選び出す/独身 module is needed. The module identifier can be retrieved from the ::com::sun::星/主役にする::でっちあげる,人を罪に陥れる::ModuleManager service.
Parameter aFactoryImplementationName
a UNO 実施 指名する that can be used by an 実施 to create a factory instance.
deregisterFactory
無効の
deregisterFactory( [in] string  aType,
[in] string  aName,
[in] string  aModuleIdentifier )
raises( ::com::sun::星/主役にする::コンテナ::NoSuchElementException );

Description
機能(する)/行事 to 除去する a 以前 defined 使用者 interface element factory.
Parameter aType
a string that identifies a type of a 使用者 interface element. 現在/一般に the に引き続いて types are supported:
  • menubar
  • toolbar
  • statusbar
Parameter aName
an optional 指名する of a 選び出す/独身 使用者 interface element. This 指名する must be unique within a 使用者 interface element type class. This value can remain empty if no special factory for a 選び出す/独身 使用者 interface element should be deregistered.
Parameter aModuleName
an optional module 指名する that can be used to deregister a factory only for a 選び出す/独身 module. This value can remain empty if not a module based factory should be deregisted. The module identifier can be retrieved from the ::com::sun::星/主役にする::でっちあげる,人を罪に陥れる::ModuleManager service.

Using this 機能(する)/行事 can be very dangerous as other 実施 with OpenOffice may not be able to create their 使用者 interface element anymore.

最高の,を越す of Page

Apache Software Foundation

Copyright & License | Privacy | 接触する Us | 寄付する | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are 登録(する)d trademarks of The Apache ソフトウェア 創立/基礎. The Apache feather logo is a trademark of The Apache ソフトウェア 創立/基礎. Other 指名するs appearing on the 場所/位置 may be trademarks of their 各々の owners.