![]() |
lingua-franca 0.10.1
Lingua Franca code generator
|
Diagram synthesis for Lingua Franca programs. More...
Inherits AbstractDiagramSynthesis< Model >.
Public Member Functions | |
| void | addStateVariableList (KContainerRendering container, List< StateVar > variables) |
| KNode | configureReactorNodeLayout (KNode node, boolean main) |
| List< DisplayedActionData > | getDisplayedActions () |
| List< SynthesisOption > | getDisplayedSynthesisOptions () |
| void | setAnnotatedLayoutOptions (EObject modelElement, EMapPropertyHolder kgraphElement) |
| Searches the "@layout" annotations and applies them to the corresponding element. | |
| KNode | transform (final Model model) |
Static Public Member Functions | |
| static double | getReactorPortOffset (boolean sideLeft, boolean multiport, boolean bank) |
Static Public Attributes | |
| static final List< Float > | ALTERNATIVE_DASH_PATTERN = List.of(3.0f) |
| static final SynthesisOption | APPEARANCE |
| Synthesis category. | |
| static final DisplayedActionData | COLLAPSE_ALL |
| Synthesis actions. | |
| static final SynthesisOption | CYCLE_DETECTION |
| static final SynthesisOption | DEFAULT_EXPAND_ALL |
| static final DisplayedActionData | EXPAND_ALL |
| static final SynthesisOption | EXPERIMENTAL |
| static final SynthesisOption | FIXED_PORT_SIDE |
| static final String | ID = "org.lflang.diagram.synthesis.LinguaFrancaSynthesis" |
| static final SynthesisOption | LAYOUT |
| static final Property< Boolean > | REACTION_SPECIAL_TRIGGER |
| static final SynthesisOption | REACTIONS_USE_HYPEREDGES |
| static final SynthesisOption | REACTOR_BODY_TABLE_COLS |
| static final Property< Boolean > | REACTOR_HAS_BANK_PORT_OFFSET |
| static final Property< Boolean > | REACTOR_INPUT |
| static final Property< Boolean > | REACTOR_MULTIPORT |
| static final Property< Boolean > | REACTOR_OUTPUT |
| static final SynthesisOption | REACTOR_PARAMETER_MODE |
| static final Property< Boolean > | REACTOR_RECURSIVE_INSTANTIATION |
| static final SynthesisOption | SHOW_ALL_REACTORS |
| Synthesis options. | |
| static final SynthesisOption | SHOW_HYPERLINKS |
| static final SynthesisOption | SHOW_INSTANCE_NAMES |
| static final SynthesisOption | SHOW_MULTIPORT_WIDTH |
| static final SynthesisOption | SHOW_PORT_NAMES |
| static final SynthesisOption | SHOW_REACTION_CODE |
| static final SynthesisOption | SHOW_REACTION_NAMES |
| static final SynthesisOption | SHOW_REACTION_ORDER_EDGES |
| static final SynthesisOption | SHOW_REACTOR_HOST |
| static final SynthesisOption | SHOW_STATE_VARIABLES |
| static final SynthesisOption | SHOW_USER_LABELS |
| static final SynthesisOption | SPACING |
| static final String | TEXT_ERROR_CONTAINS_CYCLE = "Reactor contains cyclic dependencies!" |
| static final String | TEXT_ERROR_CONTAINS_RECURSION |
| static final String | TEXT_ERROR_CYCLE_BTN_FILTER = "Filter Cycle" |
| static final String | TEXT_ERROR_CYCLE_BTN_SHOW = "Show Cycle" |
| static final String | TEXT_ERROR_CYCLE_BTN_UNFILTER = "Remove Cycle Filter" |
| static final String | TEXT_ERROR_CYCLE_DETECTION |
| static final String | TEXT_ERROR_RECURSIVE = "Recursive reactor instantiation!" |
| static final String | TEXT_HIDE_ACTION = "[Hide]" |
| static final String | TEXT_NO_MAIN_REACTOR = "No Main Reactor" |
| static final String | TEXT_REACTOR_NULL = "Reactor is null" |
| static final String | TEXT_SHOW_ACTION = "[Details]" |
| static final SynthesisOption | USE_ALTERNATIVE_DASH_PATTERN |
Diagram synthesis for Lingua Franca programs.
| void org.lflang.diagram.synthesis.LinguaFrancaSynthesis.addStateVariableList | ( | KContainerRendering | container, |
| List< StateVar > | variables ) |
| KNode org.lflang.diagram.synthesis.LinguaFrancaSynthesis.configureReactorNodeLayout | ( | KNode | node, |
| boolean | main ) |
| List< DisplayedActionData > org.lflang.diagram.synthesis.LinguaFrancaSynthesis.getDisplayedActions | ( | ) |
| List< SynthesisOption > org.lflang.diagram.synthesis.LinguaFrancaSynthesis.getDisplayedSynthesisOptions | ( | ) |
|
static |
| void org.lflang.diagram.synthesis.LinguaFrancaSynthesis.setAnnotatedLayoutOptions | ( | EObject | modelElement, |
| EMapPropertyHolder | kgraphElement ) |
Searches the "@layout" annotations and applies them to the corresponding element.
| kgraphElement | The view model element to apply the layout options to, e.g. a KNode. |
| modelElement | The model element that has the annotations, e.g. a reactor. |
| KNode org.lflang.diagram.synthesis.LinguaFrancaSynthesis.transform | ( | final Model | model | ) |
|
static |
|
static |
Synthesis category.
|
static |
Synthesis actions.
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
Synthesis options.
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |