Difference: DpHipeComponents (3 vs. 4)

Revision 42008-01-15 - JorgoBakker

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

Adding Components to existing Views

<-- summary -->
Changed:
<
<
Certain views as well can be extended by developers such as the Outline View and the Editor Area. Both are examples of the system reacting on a data selection by the user.
>
>
the contents of certain views can be extended by developers, such as the Outline View and the Editor Area. Both are examples of the system reacting on a data selection made by the user.

Here we explain how you can contribute to the outline view and the editor area.

 

Line: 49 to 51
 The following snippet, could then go into your __init__.py:


Changed:
<
<
# convenience short-cuts from herschel.ia.core import ExtensionRegistry, Extension FACTORY=ExtensionRegistry.FACTORY COMPONENT=ExtensionRegistry.COMPONENT REGISTRY=ExtensionRegistry.getInstance()

# Register to the variable outline factory

>
>
# Register to the variable outline factory
 REGISTRY.register(COMPONENT,Extension( "My FineTime Outline", "resides.in.java.package.FineTimeOutline", "factory.outline.variable", "herschel.share.fltdyn.time.FineTime"))
Deleted:
<
<
# clean-up del(FACTORY,COMPONENT,REGISTRY)
 
Added:
>
>
See also the Extension Registry documentation for more details.
 
Deleted:
<
<
More information about the extension registry can be found in its Java API (herschel.ia.core.ExtensionRegistry).
 

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