Back to Main Page
<br>
This page includes instructions on how to add additions to the Workbench Shell.
To understand the reasoning behind the manner in which additions are added please see the Workbench Shell page.
All projects that wish to be added to the Workbench Shell must implement the IWorkbenchAddition interface. This interface is included in the WorkbenchUiCommon project; you'll need to add it as a dependency of your project. If you wish to interact with the central project structure in the future then you'll need to also add OntologyProjectCommon as a dependency of your project. This interface is still a work in progress, but these are the currently required methods. Note that they are presented in the order in which the Workbench Shell calls them.
<br>
Proposed methods include for interacting with the central project structure are:
void acceptProject(Project project) - passes the central project structure to the addition so that it is aware <br>
<br>
Add your project as a dependency in the pom.xml file of the WorkbenchShell so that the class path is updated.
<br>
Add your project to the additions.xml file for the WorkbenchShell. The format for including an addition is:
<Addition label="Name on Menu" class="Fully qualified class path" ontologyeditor="true if the ontology editor is part of the addition, false otherwise"/>
This information is needed to facilitate lazy loading capabilities.