
#YAKINDU Statechart Tools
The free to use, open source toolkit YAKINDU Statechart Tools (SCT) provides an integrated modeling environment for the specification and development of reactive, event-driven systems based on the concept of Harel statecharts.
License
The source code is provided under the Eclipse Public License.
The provided open source code generators do not imply any licence constraint on the generated code. The generated code is property of the user (as person or organization). There is no need to make the generate code open source and the user is free to choose any licence model for the generated code.
Download & Installation
In addition to the source code provided here on GitHub we also provide ready-tu-use builds for Windows, Linux and OS X.
- Dowload a package from our download page.
- Follow the installation instructions.
How to Contribute
We appreciate any feedback and there are various ways to contribute feedback:
- Report bugs and request features in our issue tracker.
- Ask questions and get support in our google group
- visit our web page take a look at blog posts tutorials etc.
- get the source code (see below) - fork it - work on it - and provide pull requests ...
Setting up the development environment using Oomph (recommended)
- Download the Oomph Eclipse Installer for your platform and install it.
- Start Oomph by executing eclipse-installer/eclipse-inst.
- On the initial page, select Advanced Mode in the menu at the top right.
- On the Product page, select Eclipse IDE for Eclipse Committers in the Eclipse.org folder, then click Next.
- On the Projects page, select Github Projects.
- Click on the green "plus" symbol. Copy the Link https://raw.githubusercontent.com/Yakindu/statecharts/master/StatechartTools.setup in to the text field.
- Click on OK. The project Statechart Tools is available as Github Projects//Statechart Tools.
- Double-click on the project Statechart Tools to add it to the catalog section at the bottom of the wizard page.
- On the Variables page, choose a meaningful name for the Installation folder name variable, then click Next.
- On the Confirmation page, check the settings, then click on Finish.
- The setup is executing its tasks now. Meanwhile: Drink a cup of coffee, and watch your Statechart Tools development environment being assembled.
- After the installation has been completed, Eclipse starts up with the YAKINDU Statechart Tools projects in your workspace.
- (Optional) Click on Finish in the Oomph window to close it.
- (Optional) While installing, clicking on the double-arrow (
) allows you to see the further progression. Click on Finish to close the window when the installer is done.
- After having built the workspace, you will see a lot of errors in it. That's because the language artifacts haven't been generated yet. Oomph made a contribution to the toolbar. Click on the double-arrow symbol. The Confirmation window appears. Deselect everything except for the three "Launch …" tasks. (The other tasks have already been executed.) The selected tasks will generate the languages "Expressions", "SText", and "SGen".
- Click on Finish.
- Click Proceed three times in order to confirm the execution of each launch despite any existing errors.
How to setup your developer workspace without Oomph
- Download Eclipse Luna from https://www.eclipse.org/downloads/
- Install the current Xtext release -> Help / Install new Software / select 'Luna - http://download.eclipse.org/releases/luna'
2.1 Select Modeling / Xtext Complete SDK
- Select the Git perspective and clone the following Git Repository:
https://github.com/Yakindu/statecharts.git
Select 'Import projects' on the 'working directory' subfolder
- Set the target platform to org.yakindu.base.target/luna.target
Open the target file and click on the link for setting the target platform (takes some minutes the first time)
- Build relevant Xtext grammars
Rightclick on org.yakindu.base.expressions/Expressions.xtext => Run As.. => Generate Xtext Artifacts
Rightclick on org.yakindu.sct.stext/SText.xtext => Run As.. => Generate Xtext Artifacts
Rightclick org.yakindu.sct.generator.genmodel/SGen.xtext => Run As.. => Generate Xtext Artifacts
After these steps all projects should compile without errors. To launch a runtime instance which has these projects as installed plugins, just right-click on a project => Run As => Eclipse Application
Thanks
YourKit is kindly supporting open source projects with its full-featured Java Profiler.
YourKit, LLC is the creator of innovative and intelligent tools for profiling
Java and .NET applications. Take a look at YourKit's leading software products:
YourKit Java Profiler and
YourKit .NET Profiler.