-
Notifications
You must be signed in to change notification settings - Fork 0
Creating a New Widget Library
This wiki page describes steps for creating a new widget library plugin for Maqetta.
In Eclipse, issue New->Other and choose "Plug-in project". Give a name to the new project. The convention we have been following is:
davinci.<libname>_<version>
as in davinci.dojo_1_5 (using an actually version#) or davinci.svgweb_2009_11_23 (using a date because the given library doesn't have a convenient version# to use).
Then click Next.
click yes on "Create Java project" and turn on the OSGI/Equinox option for "This plug-in is targeted to run with". Then click Next.
Turn off the checkbox for "Generate an Activator...". Click Next.
Turn off the checkbox for creating a template. Click Finish.
Using desktop tools, copy the files for one of the existing widget library plugins into the directory for the new widget library. Then, systematically rename and/or modify folders and files to replace all occurrences of the cloned widget library names to appropriate names for the new widget library.
In Eclipse, F5/Refresh the project for the new widget library so Eclipse is current with the modifications you made in the previous step.
Open Run Configurations. Make sure that the new widget library is checked.
At this point, create test widgets and debug.
(not yet completed)