Inspector

Processor Expert | View | Inspector

Inspector is universal window, which allows to view and edit attributes of the object selected in the Project Panel. It could be a Bean, Configuration, User module or Peripheral Initialization bean. Inspector can work in these modes depending on the type of inspected object.

  • Bean Inspector - provides access to Properties, Methods, Events, and Comments for the beans, arranged in switchable pages. See chapter Bean Inspector for details. Bean Inspector for CPU bean offers additional Build options (if a target compiler is selected) and Used peripherals pages.

  • Configuration Inspector - Provides access to settings of a configuration. See details in chapter Configuration Inspector.
  • User module inspector - Provides access to settings of a user module.

 

Figure 1 - Example of the Inspector Window content

Window Columns

Inspector window contains the four columns:

  • Item status
    • green checkmark - item setting is correct
    • red exclamation - item setting is not correct. Items that cause errors or warnings are written in magenta color. See description in the last column or the Error Window.
    • plus or minus - item is a group of settings that can be expanded/collapsed.
    • light background - item is version specific. See chapter Version Specific for details.
  • Item names - items that are to be set are listed in the second column of the inspector. Groups of items describing certain features may be collapsed/expanded by double clicking on the first line of the group. By double clicking on a method or event item, you may open the File Editor at the position of the corresponding method or event.
  • Selected settings - the settings of the items are made in the third column. See chapter Inspector Items for list of item types.
  • Setting status - the current setting or an error status may be reflected on the same line, in the rightmost column of the inspector.

 

Read only items

Any item can be presented as read-only so the user could not change its content. Read only values are gray.

 

Menu

The following items are available:

 

  • Bean (enabled in Bean Inspector Only)
    • Template
      • Restore default template settings - restores settings of the template.
      • Save bean settings as template - invokes template editor. See details on Bean Templates here.
      • Active template - Shows list of currently available templates for the bean with currently active template selected.
    • Change bean icon - allows the user change the bean icon.
    • Autoconnect - auto connects the bean to the CPU.
    • Disconnect - disconnects the bean from the CPU.
  • Items Visibility - see the chapter Items Visibility for more information about view modes.
  • Help
    • Help on Selected tab - displays documentation for the current tab.
    • Help on Inspector - displays Bean Inspector documentation.
    • Help on Bean(enabled in Bean Inspector Only) - displays documentation for the selected bean.
    • Embedded Beans Page - displays Embedded Beans documentation.
  • Navigation buttons allow the user to browse over the previously inspected beans.
  • Peripheral initialization button (present in Bean Inspector Only) - This button will show the Peripheral initialization. If the button is pushed, the peripheral initialization window is attached to the Bean inspector window.

 

View mode buttons

They are placed at the bottom of the window (Basic, Advanced, Expert). They allow users to switch complexity of the view of the bean's items. See chapter Items Visibility for details.

Pop-up Menu

This menu is invoked by a click of the right mouse button on the specific inspector item. The menu contains the following commands:

  • New Item Into List - adds a new item before the currently selected one. This item is available only for the list-type properties.
  • Delete Item From List - deletes a selected item from the list. This item is available only for the list-type properties.
  • Move List Item Up - Moves the selected row towards the start of the list. This item is available only for the list-type properties.
  • Move List Item Down - Moves the selected row towards the end of the list. This item is available only for the list-type properties.
  • Help on the Item - shows the appropriate help page for the selected item.

 


 

 

[top of page]