Beans Pop-up Menus

Beans Folder Pop-up Menu

This menu is opened by right-clicking on the Beans folder icon in Project Panel. Following commands are available:

 

  • Expand/Collapse - expands/collapses one level of the folder's tree.
  • Expand all - completely expands the folder's tree.
  • Collapse all - completely collapses the folder's tree.
  • Change folder name - edits the subfolder name.
  • Delete folder - deletes the subfolder and all its contents.
  • Delete all beans - deletes all beans from the project.
  • Add bean(s) - invokes a dialog which allows the user to choose and add new beans to project.
  • Add subfolder - creates a new subfolder.
  • Import - Imports all items from a .pe file containing exported objects or whole project.
  • Export - Exports selected objects in the project panel to the file.
  • Help - displays documentation.

 

Bean Pop-up Menu

This menu is opened by clicking right mouse button on the icon of the bean from the beans folder of the Project panel. Following commands are available:

 

  • Bean inspector - opens the Bean inspector of the bean. Detailed help concerning the Bean Inspector items can be found in the bean's page of Processor Expert help.
  • Bean enabled - if checked, the selected bean is enabled (included in project).
  • Code generation - allows to individually specify how the and user changes and code generation for the bean are handled by Processor Expert. See chapter User Changes in Generated Code for details.

    • Always Write Generated Bean Modules (default) - generated bean modules are always written to disk and any existing previous module is overwritten
    • Preserve User Changed in Generated Bean Modules - smart detection of user changes.

      Notice: Smart user changes preservation is available only in the 56F800/E version.

    • Don't Write Generated Bean Modules - the code from bean is not generated. Any initialization code of the bean, which resides in the CPU bean, interrupt vector table and shared modules are updated.
    • Compare with Previously Generated Module, Compare with Previously Generated Header Module - compares a file generated by the bean with a previously generated one. The user can use this function to easily track his/her changes made in the generated code. The both commands are available only when the 'Preserve User Changes' option is switched. See chapter Options for details. The bean has to be setup to 'Preserve User Changed in Generated Bean Modules' or 'Don't Write Generated Bean Modules' mode (in this pop-up menu). An internal file-editor in read-only comparison mode is used to show the files differences. See chapter File Editor for details.

  • Rename Bean - allows you to give a project-specific name to the selected bean.
  • View Source - displays the generated module of the bean in File editor.
  • View/Edit Event Module - displays the generated events module of the bean in the File editor.
  • Restore Default Template Settings - restores default template settings. All old settings will be lost.
  • Customize this bean template - saves the selected bean as a template
  • Disconnect Bean From CPU - removes the link(s) between the bean and the associated CPU peripheral(s) ( it clears the corresponding properties of the bean).
  • Remove Bean From Project - removes the selected bean from the current project.
  • Copy to Clipboard - bean with its settings is copied to the clipboard.
  • Help - displays documentation.

 

Methods and Events

This menu is opened by right-clicking on a method or event icon in the Project Panel. It proposes a set of commands concerning the selected method/event.

 

  • Enable/Disable - enables/disables the selected method/event in current project.
  • View source(method only) - shows generated method source. Available only after successful code design.
  • Edit code(event only) - opens a selected event in editor. Available only after successful code generation.
  • Help - displays documentation.

 

Init Code

This menu is opened by right-clicking on init code item on its icon in the Project Panel. It proposes a set of commands concerning the selected initialization code item.

 

  • Enable/Disable - enables/disables the selected item in current project.
  • View source - shows generated source of the initialization. Available only after successful code generation. Please see the code and comment describing what should be provided in user's code.
  • Help - displays documentation.

 

ISRs

This menu is opened by righ-clicking on ISR item in the Project Panel.

  • Rename ISR - opens the Bean Inspector and selects the property that specifies the name of the interrupt routine.
  • Edit Code - opens the source code editor at the interrupt routine (if its name has been specified within the bean properties).
  • Help - Shows the related help for the bean.

 


 

 

[top of page]