Installing a Shortcut Plug-in

 < Day Day Up > 



After you have created a plug-in, create a JAR file containing the implementation of ShortcutInterface for your plug-in, along with any needed images, classes, or other files. In the manifest for the JAR, you must include a line that defines the Plugin-Init attribute. The sample JAR that is shipped with SAS ETL Studio (in the com.sas.wadmin.visuals package) contains a plug-in called SampleShortcutPlugin. This sample contains the following attribute line in its manifest:

   Plugin-Init: com.sas.wadmin.visuals.SampleShortcutPlugin.class 

Save this JAR in the plug-ins directory in the SAS ETL Studio home directory. For example, if you installed SAS ETL Studio in C:\Program Files\SAS\SAS ETL Studio\9.1, save the JAR for your new plug-in in C:\Program Files\SAS\SAS ETL Studio\9.1\plugins. After you do this, the next time you start SAS ETL Studio this plug-in is automatically loaded and displayed.

After you have created a JAR for SampleShortcutPlugin in the plug-ins directory and restarted SAS ETL Studio, your new plug-in will be available from the the Shortcut bar and Tools menu.

The shortcut plug-ins are added at the bottom of the Shortcut bar, just above the Options item in the Tools menu, or both.



 < Day Day Up > 



SAS Institute - SAS 9.1.3 ETL Studio. User's Guide
SAS 9.1.3 ETL Studio: Users Guide
ISBN: 1590476352
EAN: 2147483647
Year: 2004
Pages: 127
Authors: SAS Institute

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net