![]() |
lingua-franca 0.10.1
Lingua Franca code generator
|
Extension class that provides shapes and figures for the Lingua Franca diagram synthesis. More...
Inherits org.lflang.diagram.synthesis.AbstractSynthesisExtensions.
Public Member Functions | |
| Pair< KPort, KPort > | addActionFigureAndPorts (KNode node, String text) |
| Creates the triangular action node with text and ports. | |
| KRoundedRectangle | addCommentFigure (KNode node, String message) |
| KPolyline | addCommentPolyline (KEdge edge) |
| KRectangle | addErrorMessage (KNode node, String title, String message) |
| Creates and adds an error message figure. | |
| KRoundedRectangle | addMainReactorFigure (KNode node, ReactorInstance reactorInstance, String text) |
| Creates the main reactor frame. | |
| KContainerRendering | addParameterEntry (KContainerRendering parent, Parameter associate, String text) |
| KPolygon | addReactionFigure (KNode node, ReactionInstance reaction) |
| Creates the visual representation of a reaction node. | |
| ReactorFigureComponents | addReactorFigure (KNode node, ReactorInstance reactorInstance, String text) |
| Creates the visual representation of a reactor node. | |
| KEllipse | addResetFigure (KNode node) |
| Creates the visual representation of a shutdown trigger. | |
| KPolygon | addShutdownFigure (KNode node) |
| Creates the visual representation of a shutdown trigger. | |
| KEllipse | addStartupFigure (KNode node) |
| Creates the visual representation of a startup trigger. | |
| KContainerRendering | addStateEntry (KContainerRendering parent, StateVar associate, String text, boolean reset) |
| KRectangle | addStopwatchFigure (KContainerRendering parent) |
| Stopwatch figure for deadlines. | |
| KText | addTextButton (KContainerRendering container, String text) |
| Added a text as collapse expand button. | |
| KEllipse | addTimerFigure (KNode node, TimerInstance timer) |
| Creates the visual representation of a timer node. | |
| KPolygon | addTrianglePort (KPort port, boolean multiport, boolean reverse) |
| Creates the visual representation of a reactor port. | |
| Pair< KPort, KPort > | addWatchdogFigureAndPorts (KNode node) |
| Creates the rectangular node with text and ports. | |
| boolean | getBooleanValue (SynthesisOption option) |
| float | getFloatValue (SynthesisOption option) |
| Object | getObjectValue (final SynthesisOption option) |
Static Public Attributes | |
| static final float | BANK_FIGURE_X_OFFSET_SUM = 6.0f |
| static final float | BANK_FIGURE_Y_OFFSET_SUM = 9.0f |
| static final Colors | CODE_COLOR = Colors.BLACK |
| static final Colors | DEADLINE_COLOR = Colors.WHITE |
| static final Colors | ENCLAVE_BORDER_COLOR = Colors.CORAL_3 |
| static final float | REACTION_POINTINESS = 6 |
| static final Property< Boolean > | REACTOR_CONTENT_CONTAINER |
Package Functions | |
| public< T extends EObject > T | associateWith (T derived, Object source) |
| public< T extends AbstractDiagramSynthesis<?> > T | getRootSynthesis () |
Extension class that provides shapes and figures for the Lingua Franca diagram synthesis.
| Pair< KPort, KPort > org.lflang.diagram.synthesis.styles.LinguaFrancaShapeExtensions.addActionFigureAndPorts | ( | KNode | node, |
| String | text ) |
Creates the triangular action node with text and ports.
| KRoundedRectangle org.lflang.diagram.synthesis.styles.LinguaFrancaShapeExtensions.addCommentFigure | ( | KNode | node, |
| String | message ) |
| KPolyline org.lflang.diagram.synthesis.styles.LinguaFrancaShapeExtensions.addCommentPolyline | ( | KEdge | edge | ) |
| KRectangle org.lflang.diagram.synthesis.styles.LinguaFrancaShapeExtensions.addErrorMessage | ( | KNode | node, |
| String | title, | ||
| String | message ) |
Creates and adds an error message figure.
| KRoundedRectangle org.lflang.diagram.synthesis.styles.LinguaFrancaShapeExtensions.addMainReactorFigure | ( | KNode | node, |
| ReactorInstance | reactorInstance, | ||
| String | text ) |
Creates the main reactor frame.
| KContainerRendering org.lflang.diagram.synthesis.styles.LinguaFrancaShapeExtensions.addParameterEntry | ( | KContainerRendering | parent, |
| Parameter | associate, | ||
| String | text ) |
| KPolygon org.lflang.diagram.synthesis.styles.LinguaFrancaShapeExtensions.addReactionFigure | ( | KNode | node, |
| ReactionInstance | reaction ) |
Creates the visual representation of a reaction node.
| ReactorFigureComponents org.lflang.diagram.synthesis.styles.LinguaFrancaShapeExtensions.addReactorFigure | ( | KNode | node, |
| ReactorInstance | reactorInstance, | ||
| String | text ) |
Creates the visual representation of a reactor node.
| KEllipse org.lflang.diagram.synthesis.styles.LinguaFrancaShapeExtensions.addResetFigure | ( | KNode | node | ) |
Creates the visual representation of a shutdown trigger.
| KPolygon org.lflang.diagram.synthesis.styles.LinguaFrancaShapeExtensions.addShutdownFigure | ( | KNode | node | ) |
Creates the visual representation of a shutdown trigger.
| KEllipse org.lflang.diagram.synthesis.styles.LinguaFrancaShapeExtensions.addStartupFigure | ( | KNode | node | ) |
Creates the visual representation of a startup trigger.
| KContainerRendering org.lflang.diagram.synthesis.styles.LinguaFrancaShapeExtensions.addStateEntry | ( | KContainerRendering | parent, |
| StateVar | associate, | ||
| String | text, | ||
| boolean | reset ) |
| KRectangle org.lflang.diagram.synthesis.styles.LinguaFrancaShapeExtensions.addStopwatchFigure | ( | KContainerRendering | parent | ) |
Stopwatch figure for deadlines.
| KText org.lflang.diagram.synthesis.styles.LinguaFrancaShapeExtensions.addTextButton | ( | KContainerRendering | container, |
| String | text ) |
Added a text as collapse expand button.
| KEllipse org.lflang.diagram.synthesis.styles.LinguaFrancaShapeExtensions.addTimerFigure | ( | KNode | node, |
| TimerInstance | timer ) |
Creates the visual representation of a timer node.
| KPolygon org.lflang.diagram.synthesis.styles.LinguaFrancaShapeExtensions.addTrianglePort | ( | KPort | port, |
| boolean | multiport, | ||
| boolean | reverse ) |
Creates the visual representation of a reactor port.
| Pair< KPort, KPort > org.lflang.diagram.synthesis.styles.LinguaFrancaShapeExtensions.addWatchdogFigureAndPorts | ( | KNode | node | ) |
Creates the rectangular node with text and ports.
|
packageinherited |
|
inherited |
|
inherited |
|
inherited |
|
packageinherited |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |