help-BajadocViewer

The BajadocViewer Plugin provides the ability to navigate and browse Baja reference documentation. Baja reference documentation includes both Java API details as well as Baja slot documentation.

The viewer shows documentation for the following:

  • Subclasses

  • Properties

  • Actions

  • Topics

  • Constructors

  • Methods

  • Fields

To access Bajadoc, select Bajadoc On Target from the main Help menu.

Table 1. BajadocViewer menu
MenuDescription
Show Baja OnlyShows the documentation for slots (Properties, Actions, and Topics). When it is set to false, documentation on the Java constructors, methods and fields is also displayed.
Flatten InheritanceFlattens the inheritance hierarchy into a single set of documentation. When it is false only the Java members and Baja slots declared in the specified class are displayed. When it is set to true all the Java members and Baja slots inherited from super classes are also shown.

Subclasses

Subclasses provides a subclass tree of all that are subclassed from this item.

Properties

Properties represent a storage location of another Niagara object. Flags are boolean values which are stored as a bitmask on each slot in a Baja Object. Some flags apply to all slot types, while some only have meaning for certain slot types.

Flags

Table 2. Configuration flags
FlagCharAppliesDescription
readonlyrPThe readonly flag is used to indicate slots which are not accessible to users.
transienttPTransient properties do not get persisted when saving a object graph to the file system. Transient properties are usually also readonly, unless they are designed to be a linkable input slot.
hiddenhP,A,THidden slots are designed to be invisible to the user, and exist only for Java developers. User interfaces should rarely display hidden slots.
summarysPSummary properties are the focal points of any given BComponent. This flag is used by user interface tools to indicate primary properties for display. This might be as a columns in a Table, or as a glyph in a graphical programming tool.
asyncaABy default Action are invoked synchronously on the callers thread. By using the async flag on an Action, invocations are coalesced and executed asynchronously at some point in the near future on the engine's thread.
noExecutexPNo execute properties prevents start/stop from recursing on properties with this flag set.
defaultOnClonedPSpecifies that when an object is cloned via the newCopy() method these properties retain their default value, not the clone source's value.
confirmRequiredcAWhen the Action is invoked by a user, a confirmation window must be acknowledged before proceeding.
operatorcP,A,TThis makes a slot as operator security level. By default when this flag is clear, the slot is an admin security level.
userDefined11P,A,TUser defined.
userDefined22P,A,TUser defined.
userDefined33P,A,TUser defined.
userDefined44P,A,TUser defined.

Actions

An Action is a slot that specifies behavior which may be invoked either through a user command or by an event. Actions provide the capability to provide direction to Components. They may be issued manually by the operator or automatically through links. Actions can be issued by Right-clicking on the Component. The Component bajadoc provides a complete list of Actions available for each Component. Typical Actions include:

  • Manual actions are available based on Component type. The following are commonly available:

    • Auto (BooleanWritable, NumericWritable and EnumWritable)

    • Active (BooleanWritable)

    • Inactive (BooleanWritable)

    • Override (NumericWritable and EnumWritable)

      Each of the above actions is issued to the priorityArray of the Component at level 8 (Manual Operator).

  • Many other Actions are available on other Components. Each Action available for a Component is listed in the Actions sect2 of the Component bajadoc.

Topics

Topics represent the subject of an event. Topics contain neither a storage location, nor a behavior. Rather a topic serves as a place holder for a event source.