Skip to content

Development add a new plugin

Juancete edited this page Jul 4, 2017 · 1 revision

If you want to add a plugin to the Wollok project, you only have to do 3 simple steps:

First is to add the repository from which you want to add the plugin. You must have internet connection to perform this step. This is accomplished by opening the targetplatform.target file for the org.uqbar.project.wollok.targetplatform project.

targetplatform.target

In the window you must press the add button -> software site, and this will open the wizard to add / remove plugins.

Plugin wizard

Then you press the add button and complete the data for the URL of the repository and the name that you want to give it. This will take a while and will appear in the listbox below the list of possible plugins that can be installed for the added repository. You should check the ones you want. When you accept, all data in the repositories will be updated. This process will take some time. If there is a problem, you must press the reload button.


As a second step you should open the wollok-product.product file that is located inside the org.uqbar.project.wollok.updatesite project. Here we will proceed to add the plugin inside the plugins that will include the final product.

wollok-product.product

With the add button you look for the plugin that we added in the previous step and press ok. The one you selected should appear in the list of plugins.


As a last step you should add to the list of plugins allowed in the wollok environment. The RemoveWizardsStartup file is responsible for removing all plugins that are not displayed in the user interface, maintaining a simple aesthetic and with little "noise" for the student.

There is a list called includeWizards which lists the plugins that want to be displayed. You must add the package name in the following format. For example:

"My \\. Awesome \\. Plugin \\ .. *"

And in this way the final wollok product will include the plugin that you want.

Clone this wiki locally