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

翻訳前ページへ


Service DataSourceBrowser
Language

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

API

SDK

Tips ‘n’ Tricks

Miscellaneous


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

service DataSourceBrowser
Description
器具/実施するs a 構成要素 which 許すs browsing the data sources 登録(する)d on the system.

This service 器具/実施するs a 使用者 interface for browsing data sources 登録(する)d on the DatabaseContext instance of the system.

It is possible to navigate through all the data sources, it's queries and it's (米)棚上げする/(英)提議するs. The queries/(米)棚上げする/(英)提議するs can be 陳列する,発揮するd in a grid-like 見解(をとる), where functionality for searching, sorting, filtering, and such is 供給するd.

Usually, you won't instantiate this service 直接/まっすぐに, instead you use the 派遣(する) 機械装置s of the 使用/適用 枠組み to 負担 the URL .構成要素:DB/DataSourceBrowser into an 独断的な でっちあげる,人を罪に陥れる. This should 伴う/関わる a ContentLoader service, which creates and initializes the browser.

Some 面s of the browser can be controlled from outside, eg., it is possible to 派遣(する) a sort or filter request, if a (米)棚上げする/(英)提議する or query is 存在 陳列する,発揮するd.

The communication between the browser and 外部の instances 作品 in two ways.
The way in is 供給するd by the ::com::sun::星/主役にする::でっちあげる,人を罪に陥れる::XDispatchProvider interface the service 輸出(する)s (Please see below for more 詳細(に述べる)s on this).
The way out 作品 in another way. There are several URL's which an 外部の instance can 供給する 派遣(する)s for (usually by 器具/実施するing a ::com::sun::星/主役にする::でっちあげる,人を罪に陥れる::XDispatchProviderInterceptor for the parent でっちあげる,人を罪に陥れる of the browser), thus 示すing that the browser should 供給する special functionality.
In this 事例/患者, the browser 陳列する,発揮するs and 持続するs some 付加 slots (to be more 固める/コンクリート: toolbox items), which, upon 誘発する/引き起こすing, call the ::com::sun::星/主役にする::でっちあげる,人を罪に陥れる::XDispatch::派遣(する)()methodoftheobject 供給するd by the 外部の instance.

In particular, the supported URL's for communicating to an 外部の instance are:

  • .uno:DataSourceBrowser/InsertColumns
    利用できる whenever an 外部の instance 供給するs a dispatcher ( ::com::sun::星/主役にする::でっちあげる,人を罪に陥れる::XDispatch) for this URL.
    Enabled, if at least one 列/漕ぐ/騒動 in the grid 見解(をとる) of a (米)棚上げする/(英)提議する or query is selected.
    It is the 仕事 of the 外部の instance to 供給する functionality for this URL, but usually it is used to 器具/実施する some 肉親,親類d of "Data To Text" functionality.
  • .uno:DataSourceBrowser/InsertContent
    利用できる whenever an 外部の instance 供給するs a dispatcher( ::com::sun::星/主役にする::でっちあげる,人を罪に陥れる::XDispatch ) for this URL.
    Enabled, if at least one 列/漕ぐ/騒動 in the grid 見解(をとる) of a (米)棚上げする/(英)提議する or query is selected.
    It is the 仕事 of the 外部の instance to 供給する functionality for this URL, but usually it is used to 器具/実施する some 肉親,親類d of "Data To Fields" functionality.
  • .uno:DataSourceBrowser/FormLetter
    利用できる whenever an 外部の instance 供給するs a dispatcher ( ::com::sun::星/主役にする::でっちあげる,人を罪に陥れる::XDispatch)forthisURL.
    It is the 仕事 of the 外部の instance to 供給する functionality for this URL, but usually it is used to 器具/実施する some 肉親,親類d of "Form Letter" functionality.

For all 肉親,親類d of URL's, the parameters 供給(する)d during 派遣(する)ing build up a DataAccessDescriptor, where the に引き続いて 所有物/資産/財産s are 現在の:

The default for DataAccessDescriptor::選択 is to 含む/封じ込める bookmarks, if not 明示するd さもなければ by DataAccessDescriptor::BookmarkSelection.

See also
ContentLoader, DatabaseContext, DataSource, ::com::sun::星/主役にする::でっちあげる,人を罪に陥れる::XDispatch, ::com::sun::星/主役にする::でっちあげる,人を罪に陥れる::XDispatchProvider, ::com::sun::星/主役にする::でっちあげる,人を罪に陥れる::XDispatchProviderInterceptor
Developers Guide
OfficeDev - 構成要素 - 監査役s - 文書 明確な/細部 監査役 Services

含むd Services - 要約
::com::sun::星/主役にする::form::FormController

器具/実施するs basic form 監査役 functionality. (詳細(に述べる)s)

輸出(する)d Interfaces - 要約
::com::sun::星/主役にする::でっちあげる,人を罪に陥れる::XController

許すs the 構成要素 to be plugged into でっちあげる,人を罪に陥れるs.

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

is used to initialize the browser. (詳細(に述べる)s)

::com::sun::星/主役にする::でっちあげる,人を罪に陥れる::XDispatchProvider

is used to 支配(する)/統制する the browser from outside. (詳細(に述べる)s)

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

許すs to 迎撃する 使用者-誘発する/引き起こすd 状況 menus in the data source browser (詳細(に述べる)s)

含むd Services - 詳細(に述べる)s
::com::sun::星/主役にする::form::FormController
Usage 制限s
optional
Description
器具/実施するs basic form 監査役 functionality.

With a data source browser 器具/実施するing this interface, 外部の 構成要素s have 接近 to

  • the grid 支配(する)/統制する which is used to 陳列する,発揮する the 現在/一般に selected (米)棚上げする/(英)提議する/query (see XTabController::getControls)
  • the data form used for 陳列する,発揮するing 反対するs. As always for 構成要素s 器具/実施するing this service, the 反対する returned by XTabController::getModelis a dataform.

輸出(する)d Interfaces - 詳細(に述べる)s
::com::sun::星/主役にする::でっちあげる,人を罪に陥れる::XController
Description
許すs the 構成要素 to be plugged into でっちあげる,人を罪に陥れるs.
::com::sun::星/主役にする::lang::XInitialization
Description
is used to initialize the browser.

Parameters (passed to the method ::com::sun::星/主役にする::lang::XInitialization::initialize()) have to be instances of ::com::sun::星/主役にする::beans::PropertyValue, or instances of ::com::sun::星/主役にする::beans::NamedValue, where the 指名する member 明示するs what the parameter 支配(する)/統制するs, with the Value member 含む/封じ込めるing the value to be used.
認めるd parameters are:

  • でっちあげる,人を罪に陥れる
    has to be an ::com::sun::星/主役にする::でっちあげる,人を罪に陥れる::XFrame interface 明示するing the でっちあげる,人を罪に陥れる to plug the browser 構成要素 into.
  • DataSourceName
    The 指名する of the globally 登録(する)d DataSource to be used for 初期の 陳列する,発揮する. It is only meaningful together with the other parameters 明示するing the 反対する to 陳列する,発揮する.
  • CommandType
    This has to be a CommandType value, 明示するing the type of the 反対する to 陳列する,発揮する 最初. It is only meaningful together with the DataSourceName and the 命令(する) parameters.
  • 命令(する)
    This is a string giving the 指名する of the 反対する to 陳列する,発揮する 最初. Whether it is (米)棚上げする/(英)提議する 指名する, a query 指名する or a SQL string is 監査役 by the CommandType parameter.
  • EnableBrowser
    is a boolean value (defaulting to true), which 明示するs whether to enable the data source browser 支配(する)/統制する. This is a tree 支配(する)/統制する on the left 手渡す 味方する of the 見解(をとる), which 許すs to browse all 登録(する)d data sources, 含むing their (米)棚上げする/(英)提議するs and queries.
  • ShowBrowser
    is a boolean value (defaulting to true), which 明示するs whether to 最初 show the data source browser 支配(する)/統制する. If EnableBrowser is 誤った, then this parameter is ignored. If EnableBrowser is true, and ShowBrowser is 誤った, then the 支配(する)/統制する is 最初 hidden, but can be toggled by a toolbar button.

  • ShowMenu
    is a boolean value (defaulting to true), 明示するing whether or not to show a menu in the でっちあげる,人を罪に陥れる where the 構成要素 is plugged.

::com::sun::星/主役にする::でっちあげる,人を罪に陥れる::XDispatchProvider
Description
is used to 支配(する)/統制する the browser from outside.

You may use the ::com::sun::星/主役にする::でっちあげる,人を罪に陥れる::XDispatchProvider::queryDispatch method to query for 反対するs which 器具/実施する the ::com::sun::星/主役にする::でっちあげる,人を罪に陥れる::XDispatch interface, and which 許す you to be 通知するd on status changes and to 派遣(する) special requests.

The 認めるd URLs are:

  • .uno:Copy
    器具/実施するs the usual Copy 命令(する). Enabled if the grid 見解(をとる) has the 焦点(を合わせる) and text in any 独房 is selected.
  • .uno:削減(する)
    器具/実施するs the usual 削減(する) 命令(する). Enabled if the grid 見解(をとる) has the 焦点(を合わせる) and text in any 独房 is selected.
  • .uno:Paste
    器具/実施するs the usual Paste 命令(する). Enabled if the grid 見解(をとる) has the 焦点(を合わせる) and a 独房 which 許すs text input is 存在 edited.
  • .uno:EditDoc
    許すs switching the edit 方式 of the grid 見解(をとる). Enabled if editing the data is 許すd in general.
  • .uno:Undo
    取り消すs any changes done in the 現在の 列/漕ぐ/騒動.
  • .uno:Save
    saves the changes done in the 現在の 列/漕ぐ/騒動.

::com::sun::星/主役にする::ui::XContextMenuInterception
Usage 制限s
optional
Description
許すs to 迎撃する 使用者-誘発する/引き起こすd 状況 menus in the data source browser

状況 menu interception is 現在/一般に supported only for the brower 支配(する)/統制する where the 登録(する)d data sources and all their (米)棚上げする/(英)提議するs and queries are 陳列する,発揮するd in a tree 見解(をとる).

The 選択 供給(する)d by ::com::sun::星/主役にする::ui::ContextMenuExecuteEvent::選択, in the event structure passed to the 状況 menu 迎撃戦闘機s, 現実に is a value from the ::com::sun::星/主役にする::sdb::使用/適用::NamedDatabaseObject group.

Since
OOo 3.0

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