[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.stp.sca-tools] Re: SCA Meta-model & Designer extensibility

Bogdan Vatkov a écrit :
Hi Vincent,

Thanks for the details - I have managed to plug-in an additional binding type in the meta-model and the diagram too, I did not try out this story with the validator.

Btw, I cannot access the svn repository for stp. I tried with anonynous and non=anonymous access but no success, the svn+ssh: says "connection timeout" and svn: says "no such repository". I had to walk thtough the sources via the web interface. Do you experience problems with the stp svn repo these days? or if you have some hint, what could be wrong?

Best regards,
Bogdan


Hi Bogdan,

Nice to hear you again. Are you willing to contribute to SCA Tools? ;)

Did you successfully add your new binding?

As Vincent said you, currently, there is no documentation but you can have a look at the Frascati and Tuscany plugins. To resume, there are two steps:
- First, create a new plugin where you define a new ecore that extends the SCA MM. Then, generate the code. The namespace mustn't be the open SOA one.
- Then, create a new plugin (...diagram). Edit the plugin.xml file and add the extension points needed to add your new SCA elements in the SCA Designer. You can also use the creation wizard (SCA Diagram Extension) that generates this plugin. I recommend you to write directly the plugin.xml file because this wizard isn't yet stable...
That's all.


If you want, you can explain the procedure on the wiki [0]. All the contributions are welcome ;)

Concerning the possibility to change the shape, we didn't work on this. You're the first that get onto this. I think that it can be an interesting feature and not very hard to implement.

In addition, we received a contribution, one month ago, that allows to introspect Java code (only POJO, not EJB as you made). We have a first prototype where we can construct SCA assembly file in a bottom-up manner. Some paperwork from the contributors are missing before I can commit the code... I though this contribution can interest you.

Concerning the svn, did you use [1]?

Best regards,

Stephane Drapeau
Obeo

[0]: http://wiki.eclipse.org/STP/SCA_Component#Articles
[1]: svn://dev.eclipse.org/svnroot/stp/org.eclipse.stp.sca-tools/org.eclipse.stp.sca/trunk/