3rd Party VJET JS Type Library Projects

Most developers will want to use some of the popular third party JavaScript libraries with VJET JS. At this time, VJET JS publishes type libraries for a few of the popular libraries, which are available on the VJET JS download site.

VJET JS Type Libraries exist as Eclipse projects and must be downloaded and imported into your workspace. Examples of some of the type libraries include:

Refer to the VJET JS download site for the available type libraries.

Importing VJET JS Type Libraries Projects

  1. Select File > Import.

    Import Type Library

  2. Select General > Existing Projects into Workspace > Next.

    Import Existing TypeLib Project

  3. Select Select archive file:, then Browse.

    Select TypeLib Archive

    Select the downloaded project .zip file you want to import, then select Open.

    Select TypeLib Archive

  4. Check the imported project and Finish.

    Select TypeLib Archive

  5. The type library project is imported into your workspace and shows up in the Script Explorer. To reference the type library in your project, add the type library to your project's build path.

    Select TypeLib Archive

Add the Type Library to Your Project's Build Path

To reference the libraries in your project, add the type library to your project's build path.

  1. Right click on your project and select Build Path > Configure Build Path

    Configure Build Path

  2. Select the Projects tab, which lists the VJET Projects already included in the build path. Press Add to select the VJET Project you want to add.

    Select Projects Tab

  3. Select OK > Finish.

    Select Projects

  4. The type library project is added to your project's build path.

    Project Added to Build Path

  5. Now your project can reference the types in the library using the code assist features.

    Use Type Library

    Use Type Library

Related reference