CentraSite Documentation : Working with the CentraSite Business UI : Administering the Business UI : CentraSite Business UI Pluggable Architecture : Installing an Extension : Setting up the GWT project : Importing the GWT Project
Importing the GWT Project
Import a new GWT project in Eclipse as follows:
To import a project in Eclipse
1. Select File > Import from the main menu.
2. On the Select page of the Import wizard, select Existing Projects into Workspace and click Next.
3. On the Import Projects dialog, choose the Select root directory radio button.
4. Click the Browse button that is located beside the input field labeled Select root directory. The Browse for Folder dialog is displayed.
5. Within the Browse for Folder dialog, navigate to and click on the CentraSiteBUIExtension folder of the Software AG Runtime application. This folder contains the definitions for the extensions that CentraSite supports out of the box.
The CentraSiteBUIExtension folder resides in the demos folder under the CentraSite installation directory.
6. Click OK.
7. In the Import Projects dialog that becomes visible again, click Finish.
A new Java project called CentraSiteBUIExtension has been created due to the previous actions. This project is now visible in the Package Explorer view in Eclipse.
It contains example implementations of the existing extension points for the Business UI. You can modify them to suit your needs. For using your own Widget as Extension Point, specify it as a return value in the ExtensionWidgetFactory class in the com.softwareag.centrasite.bui.extension.client.factory package.
8. Open the file build.properties. Enter the paths to your GoogleWebToolkit_HOME, the Extension target location, the redist and the rts folder. Now the project can be build using apache ant. Run the build.xml script.
9. To install the extension, use the ant deploy target. Open a command line and navigate to your project location. Enter: ant deploy.
Copyright © 2005-2015 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback