- Description
- returns a component which can be used to edit the definition of an
existing table.
- Parameter DocumentUI
- provides access to the UI in which the database document is
currently displayed.
In particular, this paramter provides access to the application's main
window, which is needed in case the table editor should be a dialog.
- Parameter TableName
- denotes the fully qualified name of an existing table.
- Returns
- a component which can be used to edit the definition of an
existing table, or NULL if the default component should
be used.
Two component types are supported so far
- modal dialogs
If the returned component supports the
::com::sun::star::ui::dialogs::XExecutableDialog
interface, the dialog will be executed modally.
- modeless frames
If the returned component supports the
::com::sun::star::frame::XController
interface, it is assumed that it represents a controller,
loaded into a new frame, which is a modeless and, in its lifetime,
depends on the application main window.
If the returned component does not support any of the above-mentioned
interfaces, it's discarded.
- Throws
- ::com::sun::star::lang::IllegalArgumentException
if the given TableName does not denote an existing table
- Throws
- ::com::sun::star::lang::WrappedTargetException
if an error occures while creating the table editor component.
|