From: Peter Jackson Sent: Thursday, May 12, 2011 10:07 AM To: '[email protected]' Subject: RE: [Javascript] Autocomplete
I am working on scripts myself so I am learning some of the tricks. The starting point is the EclipseMonkey tutorial that Tristan wrote. It is available in the documentation/downloads tab of the Topcased website. After you follow those instructions you will discover a number of test scripts that illustrate different features. I have successfully taken it one step further. I prefer to program in Python( actually Jython) rather than Javascript. There is an extension to EclipseMonkey called PythonMonkey. There is not much documentation for it but if you follow the installation instructions it works in the Topcased environment. Jython can call anything written in Java and so far it is working well for me. EclipseMonkey makes use of jFace for interactive dialog development. I am in the process of learning that. I have not yet learned how to access SysML model elements but there are certainly libraries that support that. Best, Peter Peter L. Jackson Professor School of Operations Research and Information Engineering Rhodes Hall 218 (607) 255-9122 [email protected] From: [email protected] [mailto:[email protected]] On Behalf Of Topcased user list where issues are discussed Sent: Thursday, May 12, 2011 5:48 AM To: [email protected] Subject: [Topcased-users] [Javascript] Autocomplete Hi, After some search I did not find what I was looking for, so I hope that you will be able to help me. The thing is that I need to develop some scripts in Javascript for Topcased. I am working on a sysml diagram (sysmldi). I would like to be able to delete (by delete, I mean right click on an element -> delete from model) some elements of my model (like a block with all its properties, or only some properties of it) with Javascript. So I m looking for the API that would allows me to use that function. Could you please help me? Best Regards, Julien
_______________________________________________ Topcased-users mailing list [email protected] http://lists.gforge.enseeiht.fr/cgi-bin/mailman/listinfo/topcased-users
