Tutorials > Sales Center > Add a column to the order items table
Specify required plug-ins for the new plug-in
In this step, you define which plug-ins the plug-in depends upon. Similar to import statements in a Java class, you have to import these plug-ins in order to provide services or features required for newly created plug-in. For example, com.ibm.commerce.telesales.widgets has the widget definitions and descriptor required for access to the widgets. You get a build error if do not define the dependency of plug-ins for the new project.
To define the dependencies for the new plug-in:
Procedure
- Switch to the Package Explorer view.
- Expand the availabilityDate plug-in.
- Double click the plugin.xml file to open it for editing and click the Dependencies tab from within the editor.
- Click Add.
- From the plug-in list, select all of the following plug-ins then click OK:
- com.ibm.commerce.telesales.core
- com.ibm.commerce.telesales
- com.ibm.commerce.telesales.resources
- com.ibm.commerce.telesales.ui
- com.ibm.commerce.telesales.ui.impl
- com.ibm.commerce.telesales.widgets
- Click the MANIFEST.MF tab in the editor to see the list of dependent plug-ins in the source file:
Require-Bundle: org.eclipse.ui, org.eclipse.core.runtime, com.ibm.commerce.telesales, com.ibm.commerce.telesales.core, com.ibm.commerce.telesales.resources, com.ibm.commerce.telesales.ui, com.ibm.commerce.telesales.ui.impl, com.ibm.commerce.telesales.widgets