Page History
...
- Modify the Metamodel (org.yakindu.sct.model.sgraph/model/emf/sgraph.genmodel) by adding two attributes (isInitial and isFinal) to the State Class
and then generate the code - Modify the State Figure (org.yakindu.sct.ui.editor/src/org/yakindu/sct/ui/editor/editor/figures/StateFigure.java) by setting the constants NORMAL_BORDER_WIDTH and THICK_BORDER_WIDTH and adding two variables isDoubleLineBorder and isThickBorder. If the value of isDoubleLineBorder is set to true, the RoundedRectangle is represented with a double line border. If the value of isThickBorder is set to true, the RoundedRectangle is represented with a thicker line border.
And overwrite Overwrite the outlineShape method
And add the method getBorderWidth - Modify the Propertysheets (org.yakindu.sct.ui.editor/src/org/yakindu/sct/ui/editor/propertysheets/StatePropertySection.java) by adding an Is Initial ComboBox and an Is Final ComboBox. The user may select the option true or false.
1. the propertysheets (org.yakindu.sct.ui.editor/src/org/yakindu/sct/ui/editor/propertysheets/StatePropertySection.java)
Overview
Content Tools