CJ Blocks Editor
Workspace's main focus is area for block editing, snapped into small sized grid marked with dots. First block that is shown after creation is function signature, which can contain multiple parameters and return type. It's possible to use primitive and composite types created in builder or void for return type.
To connect blocks into unit of business logic use drag and drop using items from left panel split into sections:
|General||Expressions, collection editing, entity persist and other.|
|String||String resource related.|
|Logic||If/else blocks and logical expressions.|
|Queries||Creating queries for stored entities.|
|Loops||While and for each blocks.|
|Log||Notifications and comment block.|
|Custom||Blocks to create custom code and use custom types.|
Buttons section above workspace area allows using data items in blocks.
|Create||Create a local variable with selected type from list in dialog.|
|Fetch||Fetch system instance object.|
|Objects||Variable list, types for parameters, procedures to call, views and string resources for string resource related blocks.|
Blocks can be disabled using right button menu on block. This prevents generating code from it, like just keeping the block not connected on editing area.
Some blocks contain "wheel" button, which opens options for it. Like adding else section to if, adding placeholder variables in custom code, etc.
Ctrl + key
To open source of function call block right click on it and then select "Go to definition" or simply select it and press ''F3'.
For handy work with variables you have several options:
- Show variable - locates variable in a tree
- Get variable - create get an expression for the variable
- Set variable - create set an expression for the variable