*User Interface [#t839a83d]
The MRI window has some controls and the menubar.


**Controls [#o1fce664]
&aname(ui1);''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>../Configuration]] section in detail.

&aname(ui2);''2: Menubar''~
You can access to some functions from menu entries. Each entry is described in Menubar section.


&aname(ui3);''3: Scope Listbox''~
&xhpa(mytools.Mri:list_scope,1,Select an item from scope list you want to take a kind of information about the current target.);


&aname(ui4);''4: Implementation Name Edit''~
&xhpa(mytools.Mri:edit_in,1,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.


&aname(ui5);''5: Object Type Name Edit''~
&xhpa(mytools.Mri:edit_type,0,Object type indicates the type of the target.); This value is taken from com.sun.star.reflection.CoreReflection service. 


&aname(ui6);''6: History Listbox''~
&xhpa(mytools.Mri:list_hist,1,History Listbox has a list of targets.); Histories are updated when you call properties or methods returns an object. You can change the target using this listbox.


&aname(ui7);''7: Go Back Button''~
&xhpa(mytools.Mri:btn_back,1,Show previous target form the history now selected.);


&aname(ui8);''8: Go Forward Button''~
&xhpa(mytools.Mri:btn_forward,1,Show previous target form the history now selected.);


&aname(ui9);''9: Search Text Edit''~
&xhpa(mytools.Mri:edit_search,1,Words that you want to find inside the information edit.);


&aname(ui10);''10: Search Button''~
Start searching from ending of the cursor position of the information edit.


&aname(ui11);''11: Open IDL Reference Button''~
&xhpa(mytools.Mri:btn_search,1,Open the IDL Reference page according to the selected scope.); If you want to use this button to open IDL Reference, see [[Configuration>../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.


&aname(ui12);''12: Information Edit''~
&xhpa(mytools.Mri:edit_info,1,All information about the target is 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>../Configuration]] section.

&aname(ui13);''13: Information Label''~
&xhpa(mytools.Mri:label_status,1,MRI shows something informations here.);
**Menubar [#r21fc36b]

Descriptions of the menubar of the MRI window.
***File Menu [#ufada584]


Creates a new document and its model object is opened as a target for MRI.


:Output|Makes a document about information of current target.


:OpenIdlRef.|Open an OpenIdlRef. window.


:Clse|Close the MRI window.
***Tools Menu [#t734c009]
States of these checkable options in Tools menu are stored in the settings。See [[Configuration>../Configuration]] section in detail.。


:Sort A-z|
When this menu checked, information lines are sorted by A-Z, a-z order.


If this menu checked, "com.sun.star." is replaced with "." (dot). For example, "com.sun.star.lang.XComponent" is shown like ".lang.XComponent". If Detailed menu entry is checked, Abbreviated menu is ignored.


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.


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>../Configuration]] section.
***Targets Menu [#m7a30a20]
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.


If you select Desktop entry, new instance of com.sun.star.frame.Desktop service is created as a target.


If ServiceManager entry is selected, com.sun.star.lang.XMultiComponentFactory interface is taken as a taraget from default context.


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. 


You can create new struct as a target like the service.


MRI makes com.sun.star.configuration.ConfigurationUpdateAccess service with your inputed node name.
General application frames are attached to Frames container that can be get through getFrames method of com.sun.star.frame.XFramesSupplier interface supported by com.sun.star.frame.Desktop service using append method of com.sun.star.frame.XFrames interface accessed . 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 [#kc74efae]
This menu depends on only the property scope is selected. These Get and Set entries are radio type items.


If Get mode selected, property values are got from the target and MRI shows them.


Properties having numerical, string or boolean type value can be set their value.
***Help Menu [#g6760bd6]
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.

[[MRI Help Index>Extensions/HelpMaking/MakeXHP/MRI/en/index]]

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