Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » JS4EMF has been created
JS4EMF has been created [message #637135] Thu, 04 November 2010 10:19
Hallvard Traetteberg is currently offline Hallvard TraettebergFriend
Messages: 673
Registered: July 2009
Location: Trondheim, Norway
Senior Member
Hi,

I just wanted to let you know that EMFT has new component: JS4EMF -
Javascript for EMF! The objective of this component is to integrate
Javascript with every part of EMF where it is useful.

One use case is similar to what the OCL component is used for: define
the behavior of models, by means of constraints/invariants, derived
features and operations. Another use case is using Javascript as a
scripting language in your own application, e.g. implement edit commands
that navigate in and update you EMF model.

Both these use cases are currently supported. In addition there is UI
support for editing the scripts that are stored in annotations, and for
invoking operations on EObjects in the EMF-based editors.

The initial code is currently part of e4 (I think it's only used by TM),
but it will require some refactoring (plugin and package naming) and
some API cleanup. We will likely be merging in code from EMFScript, too.

We have not decided how to transition from e4 to js4emf, yet. One
possibility is moving the code first, and then clean it up while keeping
e4 updated. The second option is to clean it up first, use the cleaned
up code as the initial code, and later re-integrate it into e4. If there
are other options, or good reasons for choosing one over the other, we'd
like to hear about it.

Although the web page hasn't been fixed yet, bugzilla
( https://bugs.eclipse.org/bugs/buglist.cgi?query_format=advan ced ;component=Core;classification=Modeling;product=EMFT.js4emf)
is available as well as a dev list js4emf-dev@eclipse.org, so please
provide any feedback, like addition use cases that we could support.

Best regards,

Hallvard Trætteberg
Previous Topic:JS4EMF has been created
Next Topic:[JS4EMF] Including JS4EMF in EMFT's web page
Goto Forum:
  


Current Time: Thu Apr 25 22:32:58 GMT 2024

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

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

Back to the top