Setting Up a Project with Wizards



Table of Contents

Installation

Purpose of Use

Handling

General

Examples

Final Steps


This document describes the installation and operation of the KMC Eclipse plug-ins that support the generation of RF extensions and configuration framework classes and instances.


Installation

The plug-ins are shipped with the NetWeaver Developer Studio and do not need to be installed separately. If the plug-ins have not been installed, or have been installed erroneously, the installation of the NetWeaver Developer Studio by SAPSetup needs to be started anew.

Upon the initial launch of the NetWeaver Developer Studio after installation, you may need to switch to the Java perspective and open a new window in order to activate the wizard icons in the Eclipse tool bar and in the context menu. Switch to the Java perspective by selecting Java from the Eclipse menu entry Window - Open Perspective. A new window is opened if you choose Window - New Window. The configuration is saved for future use if this new window is closed last.


Purpose

The wizards support the creation of basic repository framework extension classes and configuration framework classes and instances. The generated classes are placed in the correct location within a selected Eclipse project (either a portal project or a stand-alone KMC project) and can be further implemented according to the intentions of the customer.


Handling

General

The plug-ins consist of two groups of wizards. The first group takes care of the creation of repository Managers and sub-managers, whereas the second group is used for the generation of repository framework services, filters, and scheduler tasks.

Wizards of the first group are indicated by the icon , and members of the second group are indicated by the icon . The sole exception to this rule is the portal application plug-in, where all wizards are indicated by .

Once the plug-ins have been activated, they can be accessed in four different ways:

  1. From the Eclipse tool bar.
  2. From the context menu of the selected project:
    1. Use the secondary mouse key to click on an Eclipse project
    2. Select the corresponding wizard
  3. Within the portal application plug-in:
    1. Go to: File - New - Other...
    2. Select the plug-in Portal Application
    3. Select Create a new Portal Application Object and then choose Next
    4. Select the portal project
    5. Select RF Component Wizard… and then choose Next
    6. Select one of the wizards listed on the left hand side and then choose Next
  4. Within the repository framework plug-in
    1. Go to: File - New - Other...
    2. Select the plug-in Repository Framework…
    3. Select one of the wizards listed on the left hand side and then choose Next


Examples

Below are screenshots that show  the appearance of the various wizards.

  1. First group

Repository manager wizard (with example entries on the first page)

Repository manager wizard (with example entries on the first tab on the second page - selections can also be made on the other tabs)

  1. Second group

Example: Repository filter wizard (with example entries)

Note: In the Eclipse tool bar and in the context menu, the wizards of the second group have been integrated into a single wizard that displays the various wizards on different tabs. In this case, the previous example appears as follows (more than one tab with corresponding extension classes can be selected and generated).


Final Steps

When you choose Finish, the classes and files are generated in the corresponding directories src.api, scr.core or scr.config according to the RF and config framework specifications. If a project has been selected in the wizard - as opposed to specifying a directory in the Generation Directory text field - the project is rebuilt. By default, the additionally required libraries for the compilation process are provided by the plug-in. If you want your own libraries to be used, deselect the checkbox UseBClibraries from plug-in.