Tutorials > Sales Center > Add a column to the order items table

< Previous | Next >


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

  1. Switch to the Package Explorer view.

  2. Expand the availabilityDate plug-in.

  3. Double click the plugin.xml file to open it for editing and click the Dependencies tab from within the editor.

  4. Click Add.

  5. 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

  6. 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 
    

< Previous | Next >


+

Search Tips   |   Advanced Search