Skip to content

flantony/statecharts

 
 

Repository files navigation

Build Status Coverity Scan Build Status

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.

Professional Support

Need professional support for YAKINDU Statechart Tools? Contact us: statecharts@itemis.com

License

The source code of YAKINDU Statechart Tools is provided under the Eclipse Public License.

The open source code generators coming with YAKINDU Statechart Tools do not imply any license constraints on the generated code whatsoever. The generated code is property of the user (as person or organization). There is no need to make the generated code open source. The user is free to choose any license 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 along with an Eclipse update site. If you just want to use YAKINDU Statechart Tools we strongly recommend to go this way.

  1. Dowload a package from our download page.
  2. 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 ...

Build everything from source

If you are familiar with Eclipse plugin development then you may want to checkout the source, setup the development environment, and start working with it. In this case you have the options described below.

Setting up the development environment using Oomph (recommended)

  1. Download the Oomph Eclipse Installer for your platform and install it.
  2. Start Oomph by executing eclipse-installer/eclipse-inst.
  3. On the initial page, select Advanced Mode in the menu at the top right.
  4. On the Product page, select Eclipse IDE for Eclipse Committers in the Eclipse.org folder, then click Next.
  5. On the Projects page, select Github Projects.
  6. Click on the green "plus" symbol. Copy the Link https://raw.githubusercontent.com/Yakindu/statecharts/master/StatechartTools.setup in to the text field.
  7. Click on OK. The project Statechart Tools is available as Github Projects/<User>/Statechart Tools.
  8. Double-click on the project Statechart Tools to add it to the catalog section at the bottom of the wizard page, then click Next. Choose only the "Statechart Tools". Uncheck the others, if needed.
  9. On the Variables page, choose a meaningful name for the Installation folder name variable, then click Next.
  10. On the Confirmation page, check the settings, then click on Finish.
  11. The setup is executing its tasks now. Meanwhile: Drink a cup of coffee, and watch your Statechart Tools development environment being assembled. Oh, and please review and accept any licenses for the software to be installed.
  12. You are asked whether you trust the certificate of "Eclipse.org Foundation, Inc.". If you do, check the certificate in the dialog box and click on OK.
  13. After the installation has been completed, Eclipse starts up with the YAKINDU Statechart Tools projects in your workspace.
  14. (Optional) Click on Finish in the Oomph window to close it.
  15. (Optional) While installing, clicking on the double-arrow (double arrow) allows you to see the further progression. Click on Finish to close the window when the installer is done.
  16. 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".
  17. Click on Finish.
  18. Click Proceed three times in order to confirm the execution of each launch despite any existing errors.
  19. Do a "clean all", i.e. select Project → Clean… from the main menu, make sure Clean all projects is checked, then click on OK.

How to setup your developer workspace without Oomph

  1. Download Eclipse Oxygen from https://www.eclipse.org/downloads/
  2. Install the current Xtext release -> Help / Install new Software / select 'Oxygen - http://download.eclipse.org/releases/oxygen' 2.1 Select Modeling / Xtext Complete SDK
  3. Select the Git perspective and clone the following Git Repository: https://github.com/Yakindu/statecharts.git Select 'Import projects' on the 'working directory' subfolder
  4. Set the target platform to org.yakindu.base.target/oxygen.target Open the target file and click on the link for setting the target platform (takes some minutes the first time)
  5. 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.

Packages

No packages published

Languages

  • Java 84.1%
  • Xtend 6.7%
  • C++ 5.2%
  • HTML 2.0%
  • C 1.6%
  • CSS 0.1%
  • Other 0.3%