Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » how to coherently update parts of my script in the editor
how to coherently update parts of my script in the editor [message #1053353] Sat, 04 May 2013 10:57
Andrea Sindico is currently offline Andrea SindicoFriend
Messages: 266
Registered: November 2010
Senior Member

I'd like a DSL to have some parts which relate each other for instance

  startInt : 3
  endInt  : 10
  deltaInt: 7

where deltaInt shall always be endInt - startInt

How do you suggest me to modify the editor (i.e. SelectionChangedListener? react on saving, etc) to automatically update the deltaInt if the startInt or endInt is changed or to update the endInt in case the deltaInt is changed?

Follow me on Twitter @andreasindico

[Updated on: Sat, 04 May 2013 17:01]

Report message to a moderator

Previous Topic:Programming Language DSL (SAG Natural)
Next Topic:Inferring multiple classes for one model element with type parameters
Goto Forum:

Current Time: Sun Jun 24 20:15:55 GMT 2018

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

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

Back to the top