Lesson1public class Lesson1 extends Object implements com.togethersoft.openapi.ide.IdeScriptThis is the simplest Together script. As you can see, Together provides a very flexible way for
defining and using custom scripts. If you are not interested in using any of Together's features you can use this script as
a skeleton for your custom scripts. To use the power of Together in your scripts you must use Together's APIs
(UML,RWI,SCI,IDE). The detailed description of them can be found in Together's installation folder (doc/api directory).
A script must implement IdeScript interface and define the public run(IdeContext context) method.
IdeContext instance contains the current selection. The usage of it will be shown in the other tutorial scripts. |
|