Difference: DpHipePerspectives (4 vs. 5)

Revision 52008-01-15 - JorgoBakker

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

Creating a Perspective

<-- summary -->
Changed:
<
<
If you think that a set of (new) views should be presented in convenient way, you can do so by creating a new perspective. Such a perspective defines
>
>
If you think that a set of (new) views should be presented in standard layout, you can do so by creating a new perspective. Such a perspective defines
 how these views are layed out in tabs and split panes. This section briefly explains how to contribute a new perspective.
Added:
>
>
See also the overview page.
 
Line: 99 to 100
 The following snippet, could then go into your __init__.py:


Deleted:
<
<
# import from herschel.ia.core import ExtensionRegistry, Extension PERSPECTIVE=ExtensionRegistry.PERSPECTIVE REGISTRY=ExtensionRegistry.getInstance()

# registry

 REGISTRY.register(PERSPECTIVE, Extension( "site.perspective.myjide", # a unique ID "resides.in.java.package.MyJidePerspective", # the above implementation "My JIDE", # how it should be called in the menu None # possible icon (none here)
Changed:
<
<
));

# cleanup del(ExtensionRegistry,Extension,REGISTRY,PERSPECTIVE)

>
>
))
 
Added:
>
>
See also the Extension Registry documentation for more details.
 

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