Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 Tools » Creating State Charts
Creating State Charts [message #475298] Thu, 21 August 2008 17:36 Go to next message
Markus is currently offline MarkusFriend
Messages: 2
Registered: July 2009
Junior Member
Hi.
Obviously I'm the only one in this universe who can't edit states and
transitions in a state chart model. I can't find any thread for this; but,
let me start from the beginning:
I installed eclipse 3.4 and updated with the update manager the missing
features (UML2, CDT, oAW) (platform is Win XP)
My goal is to generate c-code from a state machine model, so I created an
oAW-Project and added a state machine diagram in the src-folder. First,
the region to add is as big as the whole state machine and can't be
changed.
I can add states, transitions etc. into the region, BUT second, I can't
add actions (entry, exit, during), also impossible is to create guards,
events or activities for transitions. I tried to double-click, use context
menue, use the properties view, but nothing. So, please help... I'm
getting nuts :p
Re: Creating State Charts [message #475308 is a reply to message #475298] Thu, 28 August 2008 12:14 Go to previous message
Sergey Gribovsky is currently offline Sergey GribovskyFriend
Messages: 42
Registered: July 2009
Member
Hi Markus,

> First, the region to add is as big as the whole state machine and can't be
> changed.
Sorry, but I didn't understand what's wrong with resizing of region.
According UML specification, vertices could not be nested into state machine
directly (except connection points). Why it's necessary to have an extra
space outside of region? If you add one more region, it will be possible to
resize both.

> I can add states, transitions etc. into the region, BUT second, I can't
> add actions (entry, exit, during), also impossible is to create guards,
> events or activities for transitions. I tried to double-click, use context
> menue, use the properties view, but nothing. So, please help... I'm
> getting nuts :p
These properties are so-called advanced. Press "Show Advanced Properties"
button on toolbar of properties view to show them. Unfortunately it's
impossible to create required Constraint or Behavior using context menu of
diagram view. May be it will be implemented in frame of further releases.
You can use uml editor (double click on *.uml resource) to create necessary
elements.

Sergey.
Re: Creating State Charts [message #622682 is a reply to message #475298] Thu, 28 August 2008 12:14 Go to previous message
Sergey Gribovsky is currently offline Sergey GribovskyFriend
Messages: 42
Registered: July 2009
Member
Hi Markus,

> First, the region to add is as big as the whole state machine and can't be
> changed.
Sorry, but I didn't understand what's wrong with resizing of region.
According UML specification, vertices could not be nested into state machine
directly (except connection points). Why it's necessary to have an extra
space outside of region? If you add one more region, it will be possible to
resize both.

> I can add states, transitions etc. into the region, BUT second, I can't
> add actions (entry, exit, during), also impossible is to create guards,
> events or activities for transitions. I tried to double-click, use context
> menue, use the properties view, but nothing. So, please help... I'm
> getting nuts :p
These properties are so-called advanced. Press "Show Advanced Properties"
button on toolbar of properties view to show them. Unfortunately it's
impossible to create required Constraint or Behavior using context menu of
diagram view. May be it will be implemented in frame of further releases.
You can use uml editor (double click on *.uml resource) to create necessary
elements.

Sergey.
Previous Topic:Nesting ActivityNodes Inside Activities
Next Topic:Re: Changing Figures at runtime
Goto Forum:
  


Current Time: Fri Apr 19 05:26:53 GMT 2024

Powered by FUDForum. Page generated in 0.01882 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top