itemiscreate / statecharts Goto Github PK
View Code? Open in Web Editor NEWYAKINDU Statechart Tools (http://www.statecharts.org)
License: Eclipse Public License 1.0
YAKINDU Statechart Tools (http://www.statecharts.org)
License: Eclipse Public License 1.0
There is a usability issue regarding the simulation of subdiagrams: If the
simulation is running and you open a subdiagram via the subdiagram icon, you
have to restore the simulation context by selecting the active simulation
session from the Debug view on the top.
Original issue reported on code.google.com by [email protected]
on 29 Sep 2014 at 2:50
[deleted issue]
Check log and fix warnings
Original issue reported on code.google.com by AxelTerfloth
on 29 Sep 2014 at 1:30
Extend the genmodel feature to set the inner class function/method visibility
to private or protected.
See forum discussion and contribution from Uri Weiss.
Original issue reported on code.google.com by markus.muehlbrandt
on 29 Sep 2014 at 1:50
What steps will reproduce the problem?
1. create a state with a outgoing transition using an after-trigger
2. create a self transition on the same state triggered ba a signal
3. triggering the signal must reschedule the time trigger with the duration from
What is the expected output? What do you see instead?
triggering the signal must cancel and reschedule the time trigger. So the first
transition should be triggered after the specified duration after rescheduling.
Instead the time event triggers the transition the specified time after the
state was first entered.
Please use labels and text to provide additional information.
We have to fix the SimulationSession
Original issue reported on code.google.com by AxelTerfloth
on 20 Jan 2011 at 9:42
Add a separate eclipse feature for the genmodel generator framework.
Original issue reported on code.google.com by markus.muehlbrandt
on 29 Sep 2014 at 1:46
What steps will reproduce the problem?
1.Start simulation
2. Edit value
3. Enter
The displaed value won't be changed due to an exception. The cause is the
access to a disposed Text control in the ATableView class (line 408).
Original issue reported on code.google.com by AxelTerfloth
on 12 Nov 2010 at 8:05
A transition from state A within a region wit shallow history to state C that
is substate of state B that is in the same region as state A does not save the
history state for state B. So if region of A and B is left and entered again
through the history then A will be activated instead of B.
Original issue reported on code.google.com by AxelTerfloth
on 29 Sep 2014 at 1:50
If a state with a subdiagram is copied, an NPE is thrown and the diagram could
not be opened.
Original issue reported on code.google.com by [email protected]
on 29 Sep 2014 at 2:58
These functions should include the handle parameter so that the implemented
setTimer function will know which handle to pass. Important if running
multiple instances of the same statechart with different handles.
Original issue reported on code.google.com by [email protected]
on 8 Mar 2013 at 12:37
What steps will reproduce the problem?
1. create a model with parallel regins and states with the same name in each
reagion.
2. generate code
What is the expected output? What do you see instead?
unique names (qualified by the region identifier) should be generated.
Original issue reported on code.google.com by AxelTerfloth
on 19 Jun 2010 at 1:52
What steps will reproduce the problem?
1. provoke invalid operation in statechart by for example use invalid action
expression
What is the expected output? What do you see instead?
A qualified error message should be shown.
Original issue reported on code.google.com by AxelTerfloth
on 19 Jun 2010 at 1:49
Context menu action has no effect.
Enable toggle action and add it to test plan.
Original issue reported on code.google.com by [email protected]
on 29 Sep 2014 at 1:27
One thing that would be useful would be a way to set multiple items at once to
documentation mode. Even setting the whole page would be a useful addition.
Don't take away the ability to set individual elements though.
Original issue reported on code.google.com by [email protected]
on 29 Sep 2014 at 1:24
Create SCT C++ Code generator
Original issue reported on code.google.com by markus.muehlbrandt
on 29 Sep 2014 at 2:06
The in diagram editor should stay open if CTRL-S is pressed during text editing.
Original issue reported on code.google.com by [email protected]
on 29 Sep 2014 at 2:54
After "Extract Subdiagram" refactoring the region in the sub diagram has a
wrong size so that parts of the diagram are hidden.
Original issue reported on code.google.com by [email protected]
on 29 Sep 2014 at 1:24
In the actual version of the C++ generator for operations an interface is
generated which had to be set explicitly on the statemachine.
In an additional variant the callback operations should be static.
Add a feature to setup the generator behavior for this case and adapt the
generated code.
Original issue reported on code.google.com by markus.muehlbrandt
on 29 Sep 2014 at 1:58
An option for higher-level debugging of the YAKINDU editor would be extremely
helpful when the diagram gets corrupted.
Original issue reported on code.google.com by [email protected]
on 29 Sep 2014 at 2:14
What steps will reproduce the problem?
1. assign a string variable a string value that includes a double quote as part
of the string
2. the generates java and c code can't be compiled
What is the expected output? What do you see instead?
the generated string code should contain escaped quotes
Original issue reported on code.google.com by AxelTerfloth
on 28 Jan 2013 at 10:18
A simulation should suspend when a state is arrived, that has an active
breakpoint.
The entry action shall not be executed before the simulation resumes or the
next step is executed (step over through GUI).
Actually the entry action is executed when the state is active.
Original issue reported on code.google.com by AxelTerfloth
on 29 Sep 2014 at 1:42
What steps will reproduce the problem?
1. open the attached statemachine default.sct
2. right click on generate_all.sgen and select "Generate Model"
3.
The file DefaultStatemachine.c is not generated.
Removing the entry/ part of the state properties of State2 will
result in generating the file again.
using pre-release M06
The file is also not generated when adding event <name> into
the interface field.
Regards,
Ruud
Original issue reported on code.google.com by [email protected]
on 29 Nov 2011 at 11:21
Attachments:
generate of header file for interface is wrong
xyz_raiseEvent_Event* event);
missing "("
****************************************************
#ifdef INTERFACE_LISTENER
extern void gPS_if_LedGreen_init(Statemachine_cy* statemachine,
EventSet* eventSet);
extern void gPS_if_LedGreen_set_listener(handleEvent handleEventPtr);
extern void gPS_if_LedGreen_raiseEvent_Event* event);
#else
Original issue reported on code.google.com by AxelTerfloth
on 28 Jun 2012 at 1:32
Add a cast operator to SText to allow type casting from i.e. double to integer.
var myInt : integer
var myReal : real
myint = (myReal as integer)
Adopt Type Inferrer, Simulation Engine and Code Generators (Java, c, c++,
javascript)
Original issue reported on code.google.com by [email protected]
on 29 Sep 2014 at 2:34
[active(<state>)] works great to allow a transition when I'm in a
particular state, however, [!active(<state>)] gives a syntax error. I
also tried [active(<state>) != true], but it didn't work either. Does
active(<state>) not return a boolean? It sure would be nice if it did.
What steps will reproduce the problem?
1. define a guard with !active(<state>)
What is the expected output? What do you see instead?
it is expected that this is a valid expression but an error marker is set
Original issue reported on code.google.com by AxelTerfloth
on 22 May 2012 at 7:05
[deleted issue]
From the user group:
I observed that before the file was corrupted, during editing in the YAKINDU
Statechart Editor tool, a transition whose label I was dragging to reposition,
completely disappeared from the editor when I released the mouse button. Using
Undo did not undo the disappearance. This same thing had happened to me two or
three times previously, but those other times I had carefully backed out of the
editing session.
Original issue reported on code.google.com by [email protected]
on 29 Sep 2014 at 1:26
resize behavior of subregions behaves ugly in the context of multiple
subregions.
- resizing the outer-right region works fine but it also resizes the sibling
regions
- resizing of the other regions only work bit by bit to the right - not
fluently like on the right region.
So:
- horizontal resize of vertically aligned regions must not have any impact on
the width of the other regions
- vertical resize of horizontally aligned regions must not have any impact on
the height of the other regions.
- a minimize-handle should be available on any region and the minimize action
must follow the previous constraints.
- the minimize handle on the parent state is a 'minimize all regions vertically
and horizontally.
Original issue reported on code.google.com by [email protected]
on 29 Sep 2014 at 1:28
What steps will reproduce the problem?
1. Declare double type variable
2. Star simulation
3. Error occurs
Original issue reported on code.google.com by AxelTerfloth
on 17 Oct 2010 at 9:37
Maybe a dashed line as done for notes could be an option.
Original issue reported on code.google.com by [email protected]
on 29 Sep 2014 at 2:56
Add a compare feature for sct files with compare and merge functionallity based
on GMF compare.
Original issue reported on code.google.com by [email protected]
on 29 Sep 2014 at 2:52
C99 standard doc:
5.2.4.1 Translation limits
— 63 significant initial characters in an internal identifier or a macro name
(each universal character name or extended source character is considered a
single character)
— 31 significant initial characters in an external identifier (each universal
character name specifying a short identifier of 0000FFFF or less is considered
6 characters, each universal character name specifying a short identifier of
00010000 or more is considered 10 characters, and each extended source
character is considered the same
number of characters as the corresponding universal character name, if any)
C89 only allows 6 characters for identifiers.
Added example statechart for testing
Original issue reported on code.google.com by markus.muehlbrandt
on 29 Sep 2014 at 2:02
What steps will reproduce the problem?
1. I added some new Transitions and changed the trigger/guard/action
2. "java.lang.IllegalArgumentException: Argument not valid"-Errors are thrown
What is the expected output? What do you see instead?
No, error should occur.
Original issue reported on code.google.com by [email protected]
on 21 Jun 2010 at 8:52
Review, test and add Ward Willats contribution:
https://groups.google.com/forum/#!searchin/yakindu-user/Timer/yakindu-user/WWShB
RXAeMk/a0yxLAfbrjMJ
Make generation configurable through sgen switch.
Original issue reported on code.google.com by markus.muehlbrandt
on 29 Sep 2014 at 2:19
What steps will reproduce the problem?
1. define an interface with only in events
2. generate cpp code
3. interface is generated in constructor with new but not deleted in destructor.
What is the expected output? What do you see instead?
Revert allocation of the constructor in the destructor.
e.g.
MasterControl::MasterControl() {
ifaceInternal = new SCI_Internal();
}
MasterControl::MasterControl() {
delete ifaceInternal;
}
What version of the product are you using? On what operating system?
eclipse luna with yakindu 2.3.1 (OS = Windows)
Please provide any additional information below.
-
Original issue reported on code.google.com by [email protected]
on 30 Sep 2014 at 9:05
Additionally validate that the existing entry:
* is a 'default' entry
* is connected with a state
Original issue reported on code.google.com by AxelTerfloth
on 29 Sep 2014 at 1:24
Hello,
generate wrong States.h
#endif STATES_H_
should be
#endif /* STATES_H_ */
***************************************************************
#ifndef STATES_H_
#define STATES_H_
typedef enum {
_GPS_main_region_Log,
_GPS_main_region_Log_r1_LedGreenOff,
_GPS_main_region_Log_r1_LedGreenOn,
_GPS_main_region_WaitForFix,
_GPS_main_region_WaitForFix_r1_LedOn,
_GPS_main_region_WaitForFix_r1_LedOff,
last_state
} States;
#endif STATES_H_
Original issue reported on code.google.com by [email protected]
on 28 Jun 2012 at 2:04
What steps will reproduce the problem?
1. Create 2 Regions. In one region make two states each getting triggered after
100ms from other state
[state 1]---after 100ms--->[state 2]
[_______]<--after 100ms--->[_______]
2. In region 2 create a variable based transition.
[state 2]---[variable > 1000]--->[state 2]
3. Start simulation.
What is the expected output? What do you see instead?
At normal human speed while simulation is running no one will be able to change
value of variable to 1000. At max one can write 100 at while simulation is
cycle based 200ms.
What version of the product are you using? On what operating system?
SCT 2 with Eclipse Juno. Windows 7 SP1.
Original issue reported on code.google.com by [email protected]
on 17 Oct 2012 at 2:48
Hi all,
i have defined a guard for a transition using an operation returning an boolean.
If I use
interface:
operation DummyGuard():boolean
and I set the value for the operation to true in the simulation view,
everything works.
If I use
interface DummyName:
operation DummyGuard():boolean
and use this a my guard, the simulation does not work, this means, the
transition is never performed. inside the generated code, everything is fine.
Best regards
Manuel
Original issue reported on code.google.com by [email protected]
on 29 Sep 2014 at 2:46
What steps will reproduce the problem?
1. Install Eclipse 4.2.1
2. Install SCT 2 & Sources from http://updates.yakindu.com/juno/milestones
3. Create New Project - Yakindu Expand Generator Project
4. Create new statechart model
5. Use Run As -> Yakindu Statechart (here simulation will run and show all
expected transitions)
6. Stop simulation.
7. Close Eclipse.
8. Open Statechar model -> Run as Statechart.
What is the expected output? What do you see instead?
After step 8 nothing will happen. Simulation doesn't run.
What version of the product are you using? On what operating system?
Operating system: Windows 7 SP1, JRE 7, Eclipse 4.2.1, SCT 2
Please provide any additional information below.
Simulation runs after fresh installation of Eclipse. Stops working after
sometime untill Eclipse is removed and installed again.
Original issue reported on code.google.com by [email protected]
on 13 Oct 2012 at 10:30
Example sgen configuration:
GeneratorModel for yakindu::c {
statechart GPS {
feature LicenseHeader {
licenseText = " Some Text here blabla"
}
feature Outlet {
targetProject = "GPSLogger"
targetFolder = "src"
}
feature CCodeFeature {
InterfaceEventListener = true
Singleton = true
}
}
}
Original issue reported on code.google.com by AxelTerfloth
on 28 Jun 2012 at 1:37
What steps will reproduce the problem?
1. use statechart expression y= 1 + a +b;
2. expression won't use 'a'
Original issue reported on code.google.com by AxelTerfloth
on 27 Feb 2011 at 3:14
What steps will reproduce the problem?
1. Install new Indigo Eclipse Modeling Tools version.
2. Install Xtext 2.3 from Xtext update site (release)
3. Install Yakindu SCT from update site
4. Create statechart and start simulation.
Following error message pops up:
"An internal error occurred during: "Launching AlwaysOncycle.sct (1)".
org.eclipse.xtext.xbase.lib.IterableExtensions.forEach(Ljava/lang/Iterable;Lorg/
eclipse/xtext/xbase/lib/Functions$Function1;)V"
Stacktrace:
java.lang.NoSuchMethodError:
org.eclipse.xtext.xbase.lib.IterableExtensions.forEach(Ljava/lang/Iterable;Lorg/
eclipse/xtext/xbase/lib/Functions$Function1;)V
at org.yakindu.sct.model.sexec.transformation.StructureMapping.mapTimeEvents(StructureMapping.java:247)
at org.yakindu.sct.model.sexec.transformation.ModelSequencer.transform(ModelSequencer.java:69)
at org.yakindu.sct.model.sexec.interpreter.factory.SexecExecutionFacadeFactory.createExecutionFacade(SexecExecutionFacadeFactory.java:46)
at org.yakindu.sct.model.sexec.interpreter.factory.SexecExecutionFacadeFactory.createExecutionFacade(SexecExecutionFacadeFactory.java:1)
at org.yakindu.sct.simulation.core.debugmodel.SCTDebugTarget.createExecutionModel(SCTDebugTarget.java:82)
at org.yakindu.sct.simulation.core.debugmodel.SCTDebugTarget.<init>(SCTDebugTarget.java:76)
at org.yakindu.sct.simulation.core.launch.StatechartLaunchConfigurationDelegate.launch(StatechartLaunchConfigurationDelegate.java:39)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:855)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:704)
at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:1047)
at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1251)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Original issue reported on code.google.com by markus.muehlbrandt
on 2 Aug 2012 at 9:16
The Error icons hides parts of the underlying label that makes the diagram hard
to read if errors exists.
Original issue reported on code.google.com by [email protected]
on 29 Sep 2014 at 2:51
The SCT editor does not support opening act-files from the file system. The
editor crashes if this is done.
Original issue reported on code.google.com by AxelTerfloth
on 29 Sep 2014 at 1:52
org.eclipselabs.damos.dml.edit bundle
does not need Require-Bundle: org.eclipse.uml2.common.edit
cheers
michael
Original issue reported on code.google.com by [email protected]
on 25 Jul 2010 at 6:48
What steps will reproduce the problem?
1. Take the attached statechart
2. raise e1 and e2 events until state 'Foo' is reached.
What is the expected output? What do you see instead?
variable 'x' should be incremented by 1
What version of the product are you using? On what operating system?
ariable 'x' was incremented twice due to double entry action execution
Please provide any additional information below.
Original issue reported on code.google.com by AxelTerfloth
on 20 Dec 2012 at 8:20
Attachments:
Try to perform:
* cut
* copy
* paste
* delete
... also for notes
Original issue reported on code.google.com by AxelTerfloth
on 29 Sep 2014 at 1:28
What steps will reproduce the problem?
1. Using "(", ")" as part of a guard
What is the expected output? What do you see instead?
The Generator shouldn´t throw an error and the workflow should finish without
an error
What version of the product are you using? On what operating system?
Unreleased Helios-Version of Yakindu
Original issue reported on code.google.com by [email protected]
on 21 Jun 2010 at 7:01
Java/xtend generator wizzard creates invalid feature library extension
Original issue reported on code.google.com by markus.muehlbrandt
on 29 Sep 2014 at 2:00
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.