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

翻訳前ページへ


Service InteractionHandler
Language

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

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: com :: sun :: 星/主役にする :: 仕事 ::

service InteractionHandler
Description
An interaction request handler that lets the 使用者 扱う requests 経由で GUI dialogs.

The interaction handler service has a numerof of built-in handlers, responsible for a lot of 井戸/弁護士席 known interactions. Additionally, there's a configuration module which 許すs to configure 付加 handlers, 責任がある 独断的な requests.

Built-in Handlers

The に引き続いて 井戸/弁護士席-known requests can be dealt with by the built-in handlers: The requests 示すd with an asterisk are only 扱うd if (a) their 延長/続編s match 確かな 制限s (see below), and (b) the necessary 資源 strings are 利用できる (this can be 偉業/利用するd by 使用/適用s that carry only a subset of all 資源 とじ込み/提出するs with them).

The 延長/続編 制限s are as follows: Let C be the subset of the 供給するd 延長/続編s that are of type XInteractionApprove, XInteractionDisapprove, XInteractionRetry, or XInteractionAbort (or of a derived type). All other 延長/続編s are ignored for these requests. The request is only 扱うd if the 始める,決める C is any of the に引き続いて:

  • 中止する
  • Retry, 中止する
  • 認可する
  • 認可する, 中止する
  • 認可する, Disapprove
  • 認可する, Disapprove, 中止する

An ::com::sun::星/主役にする::ucb::InteractiveAugmentedIOException carries with it a sequence of arguments, which should be ::com::sun::星/主役にする::beans::PropertyValues. The に引き続いて 詳細(に述べる)s which 所有物/資産/財産s are 解釈する/通訳するd by the interaction handler, depending on the request's ::com::sun::星/主役にする::ucb::IOErrorCode:

"Uri"
All error codes except IOErrorCode::DIFFERENT_DEVICES. The URI of the 伴う/関わるd 資源 (a string).
"ResourceName"
All error codes except IOErrorCode::DIFFERENT_DEVICES. A 指名する for the 伴う/関わるd 資源 (a string) that might be more meaningful to the 使用者 than the URI. For example, a (壇・綱領・公約-扶養家族) path notation for とじ込み/提出する system 資源s.
"ResourceType"
IOErrorCode::DEVICE_NOT_READY and IOErrorCode::NOT_EXISTING only. An identifier for the type of 資源 伴う/関わるd (a string). 現在/一般に understood values are "容積/容量" (e.g., a とじ込み/提出する system 容積/容量) and "folder" (i.e., a 資源 that 含む/封じ込めるs other 資源s).
"Removable"
IOErrorCode::NOT_EXISTING only. A 旗 示すing whether the 資源 resides on a 貯蔵 medium that can be 除去するd by the 使用者 (a boolean).
"Folder"
IOErrorCode::CANT_CREATE only. The 指名する of the foler in which a 資源 cannot be created (a string).
"容積/容量" and "OtherVolume"
IOErrorCode::DIFFERENT_DEVICES only. The 指名するs of the two 容積/容量s 伴う/関わるd (two strings).

Configurating 付加 Handlers

It is possible to configure 付加 interaction handlers, to which 確かな requests can be 委任する/代表d. The configuration node /org.openoffice.Interaction/InteractionHandlers is 評価するd and 尊敬(する)・点d by the InteractionHandler 実施.

A custom interaction handler can 宣言する itself 責任がある an 独断的な number of UNO types, 明示するd by 十分な-qualified type 指名する. Also, for each type, it can 明示する whether it is 責任がある only this particular type, or all かもしれない existent derived types.

Whenever the InteractionHandler 遭遇(する)s a request it cannot 実行する itself, it will 診察する the configuration, to find a handler 実施 for the request, and 委任する/代表 it to the first matching handler.

If 多重の custom interaction handlers 宣言する themself 責任がある the same request type, it is not defined which handler will actully be invoked. Thus, when (軍隊を)展開する,配備するing a custom interaction handler, 確実にする that the types you 明示する are general enough to cover all requests you want to 扱う, but also 明確な/細部 enough to not cover requests which other handlers might be 利益/興味d in.


輸出(する)d Interfaces - 要約
XInteractionHandler

扱う an interaction request.

::com::sun::星/主役にする::lang::XInitialization

Initialize the interaction handler. (詳細(に述べる)s)

輸出(する)d Interfaces - 詳細(に述べる)s
XInteractionHandler
Description
扱う an interaction request.
::com::sun::星/主役にする::lang::XInitialization
Description
Initialize the interaction handler.

The arguments must be a sequence of ::com::sun::星/主役にする::beans::PropertyValues. The 現在/一般に supported 所有物/資産/財産s are:

  • "Parent" of type ::com::sun::星/主役にする::awt::XWindow denotes the parent window for any GUI dialogs the interaction handler pops up; it is 堅固に recommended that this 所有物/資産/財産 is 供給(する)d;
  • "状況" of type string is a textual description of the 現在の 状況 (used, e.g., as a first line of text in error boxes); this 所有物/資産/財産 is optional.


 
最高の,を越す 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.