Top > OOo > Ext > MRI > Documentation > UI

UI Edit

The MRI window has some controls and the menubar.

ui-mainwindow.png

Controls Edit

1: MRI Window
You can resize the MRI window. And you can use multiple MRI windows at a time. MRI can change initial position and inilial size of MRI window, use Configuration Button for this purpose. See Configuration section in detail.

2: Menubar
You can access to some functions from menu entries. Each entry is described in Menubar section.

3: Scope Listbox
Select an item from scope list you want to take a kind of information about the current target.

4: Implementation Name Edit
This edit box shows ImplementationName of the target. MRI can not get the object name of the target given in OOo Basic properties Dbg_xxx. These properties are availabled on OOo Basic.

Implementation Name of a target is sometimes the same as its object name but sometimes its not. Be careful about informations shown this control. If target is a struct, this edit shows object type name.

5: Object Type Name Edit
Object type indicates the type of the target. This value is taken from com.sun.star.reflection.CoreReflection service.

6: History Listbox
History Listbox have a list of targets. Histories are updated when you call properties or methods returns an object. You can change the target using this listbox.

7: Go Back Button
Show previous target form the history now selected.

8: Go Forward Button
Show previous target form the history now selected.

9: Search Text Edit
You want to search text inside the information edit.

10: Search Button
Start searching from ending of the cursor position of the information edit.

11: Open IDL Reference Button
Open the IDL Reference page according to the selected scope. If you want to use this button to open IDL Reference, see Configuration section and configure the settings. If Properties or Methods scope is selected and selection begins "." in information edit, MRI ascribes a selected text connected with "com.sun.star". If Methods scope selected and not selected in information edit, IDL reference page of the interface of a method shown in carret line. A carret line text is used as IDL Reference page if Interfaces or Services scope is selected. You may not to select texts that you want to open the page of IDL Reference.

12: Information Edit
All information about the target shown here. Double click a line of the displayed text, you can get property value if Properties scope selected or invoke method and get its return value if Methods scope selected. A font name and a character size used in this edit can be changed using Configuration button. See Configuration section.

If this control is focused on, some shortcut keys are used. See Shortcut Keys section about them.

13: Information Label
MRI shows informations here.

Menubar Edit

Descriptions of the menubar of the MRI window.

File Menu Edit

New
Creates a new document and its model object is opened as a target for MRI.
Output
Makes a document about information of current target.

Tools Menu Edit

States of these checkable options in Tools menu are stored in the settings (see Configuration section).

Sort A-z
When this menu checked, information lines are sorted by A-Z, a-z order.
Abbreviated
If this menu checked, "com.sun.star." is replaced with "." (comma). For example, "com.sun.star.lang.XComponent" is shown like ".lang.XComponent". If Detailed menu entry is checke, Abbreviated menu is ignored.
Detailed
If not checked, type names are indicated in their type class name. TypeClass names are listed in the com.sun.star.uno.TypeClass enums.
Show Labels
If checked this menu entry, labels are displayed in the infromation edit.
Configuration...
If you want to set your IDL Reference directory and your browser path, choose this entry. Configuration dialog opens when this menu is selected. And you can set initial position and size of MRI window. Configuration of MRI is described in Configuration section.

Targets Menu Edit

The Desktop, ServiceManager, new service and new structs are accessed directly as a target from this menu entries. And all frames attached to Desktop are accessed too.

Desktop
If you select Desktop entry, new instance of com.sun.star.frame.Desktop service is created as a target.
ServiceManager
If ServiceManager entry is selected, com.sun.star.lang.XMultiComponentFactory interface is taken as a taraget from default context.
Services
If you select this entry, dialog box having the edit control is open and input a service name that you want to instantiate as a target.
Structs
You can create new struct as a target like the service.
Code
Code? generation menu.
Frames
General application frames are attached using append method of com.sun.star.frame.XFrames interface accessed through getFrames method of com.sun.star.frame.XFramesSupplier interface supported by com.sun.star.frame.Desktop service. We can access to frames contained into its frames container through the Desktop. And we have no way to access to frames are not appended to its container. Child frames are accessed through its parent frames container. So, MRI can access frames attached to the Desktop.
When you select a frame from menu entries, MRI tries to get it as a target. If the frame that you selected is not exist, MRI fails to get it. These entries are updeated automatically when you select the Targets menu.
If you select a name from this list, MRI gets frame object having it from Desktop. After you select a frame object, the target is com.sun.star.frame.XFrame interface. If you want to see its model object, choose Controller property and next Model property of its controller (or use getController method and getModel method). See about how to get values of the target, Properties subsection.

Mode Menu Edit

This menu depends on only the property scope is selected. These Get and Set entries are radio type items.

Get
If Get mode selected, property values are got from the target and MRI shows them.
Set
Properties having numerical, string or boolean type value can be set their value.

Window Edit

Window changer like a normal Window menu of the general OpenOffice.org document window.

Help Menu Edit

Help about MRI.

Documents
Open this help file.
What's This?
Show extended tool tip of the control.
About MRI
About MRI and its version information.

Attach file: fileui-mainwindow.png 322 download [Information]

Reload   New Lower page making Edit Freeze Diff Upload Copy Rename   Front page List of pages Search Recent changes Backup   Help   RSS of recent changes