Please enable JavaScript to view this site.

Knowledge Bridge Documentation

Help version: 3.3.8

 

Description

UIMenuItemMixin is a mixin containing rules that can be used by other designs.

 

We do not use it alone, we use it to add the rules to other designs. Presently there are 4 UI designs that use this mixin (see below).

Parameter Rules

actionSpec:This parameter lets you supply a complete action as you would in an event handler.
Example:{ type: this.actionType, ownerRefChain: this.ownerRefChain, ruleDefinition: this.ruleDefinition, refChainFromSelection: this.useRefChainFromSelection }

 

actionType:Add the action type here.
Example:"addModelRule"
Choices:“Evaluate" | "AddModelRule" | "DeleteModelRule”

 

caption: Text that will show up in the pop-up menu.        
Example:"Make Cyan"

 

separator:If this value is set to true then the child's caption will not show up in the pop-up menu. Default is set to false.
Example:false

 

sequenceNo:This is the sequence order in which the caption will show up in the pop-up menu.
Example:1
UIMenuItenMixin0

 

Mixins

BaseNode

BaseModel

 

RULE NAME

TYPE

DEFAULTS

CATEGORY

FLAGS

actionSpec

any

{}

UI

Cached
Parameter

actionType

string

""

UI

Cached
Parameter

caption

string

""

UI

Cached
Parameter

separator

boolean

false

UI

Cached
Parameter

sequenceNo

number


UI

Cached
Parameter

Required

 

 

kBridgeExampleIcon

 

 

UI Design that use the UITitleMixin:

 

1.UIAddModelRuleMenuItem

2.UIDeleteModelRuleMenuItem

3.UIMenuItem

4.UIMenuItemSeparator

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Knowledge Bridge from Engingeering Intent is a full-featured engineering and sales automation environment