Difference: DpHipePerspectives (5 vs. 6)

Revision 62008-01-15 - JaimeSaiz

Line: 1 to 1
 
META TOPICPARENT name="DpHipe"

Creating a Perspective

Line: 18 to 18
 The aim is that your contribution is automatically picked up by the infrastructure, such that your perspective is added to the perspective menu, as shown in the picture on the right.

To make this happen, you will have to:

Changed:
<
<
  • Implement the herschel.ia.core.parts.Perspective interface.
  • Register your implementation to the herschel.ia.core.ExtensionRegistry in the __init__.py
>
>
  • Implement the herschel.ia.kernel.parts.Perspective interface.
  • Register your implementation to the herschel.ia.kernel.ExtensionRegistry in the __init__.py
 
Changed:
<
<
For you convenience an abstract implementation exists (herschel.ia.core.parts.AbstractPerspective); it allows you to concentrate on implementing one method only:
>
>
For you convenience an abstract implementation exists (herschel.ia.kernel.parts.AbstractPerspective); it allows you to concentrate on implementing one method only:
 
    public abstract class AbstractPerspective implements Perspective {

 
This site is powered by the TWiki collaboration platform Powered by Perl