How to configure a custom Alternate Property Editor (APE) to use the Embedded Editor feature in the 2008 R2 Cross Platform Client (CPC)

0 Likes

Problem:

How to configure a custom Alternate Property Editor (APE) to use the Embedded Editor feature in the 2008 R2 Cross Platform Client (CPC)

Resolution:

  • Product Name: StarTeam
  • Product Version: 2008 R2
  • Product Component: CPC
  • Platform/OS Version: All Supported OS


Description:

A new feature in the 2008 R2 CPC is the ability to open multiple CRs, Requirements, Tasks, and Topics in one StarTeam CPC window. The multiple Items will appear in a tabbed fashion across the bottom of the CPC window.


Answer/Solution:

To enable this feature with current APE"s, its necessary to implement the AbstractItemEditor interface in the main class that launches your Alternate Property Editor (APE).

An Example of how to properly implement this is in the StarFlow Extensions project located in the ChangeRequestEditor sample source files.

If the interface is not present and an APE attempts to open in Embedded Editor mode, you might receive a NullPointerException.


Author: Daniel Rice

Old KB# 29221
Comment List
Related
Recommended