Difference: DpHipeComponents (18 vs. 19)

Revision 192012-07-06 - DavideRizzo

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

Outline View

Changed:
<
<
Whenever the user selects a session variable in the VariablesView, a SelectionEvent is sent around.
The OutlineView is listening to such event and it tries to find the appropriate component that can show the outline information of that variable.
>
>
Whenever the user selects a session variable in the [[http://herschel.esac.esa.int/hcss-doc-12.0/index.jsp#hcss_drm:herschel.ia.inspector.views.VariablesView][VariablesView]], a [[http://herschel.esac.esa.int/hcss-doc-12.0/index.jsp#hcss_drm:herschel.ia.gui.kernel.event.SelectionEvent][SelectionEvent]] is sent around.
The [[http://herschel.esac.esa.int/hcss-doc-12.0/index.jsp#hcss_drm:herschel.ia.inspector.views.OutlineView][OutlineView]] is listening to such event and it tries to find the appropriate component that can show the outline information of that variable.
  The contract for outline components is:
Changed:
<
<
  • Implement the OutlineComponent interface by extending a javax.swing.JComponent.
>
>
  • Implement the [[http://herschel.esac.esa.int/hcss-doc-12.0/index.jsp#hcss_drm:herschel.ia.gui.apps.views.outline.OutlineComponent][OutlineComponent]] interface by extending a javax.swing.JComponent.
 
Changed:
<
<
The recommended way of implementing OutlineComponent is by extending ObjectOutline, which provides a table with basic information about the variable.
>
>
The recommended way of implementing [[http://herschel.esac.esa.int/hcss-doc-12.0/index.jsp#hcss_drm:herschel.ia.gui.apps.views.outline.OutlineComponent][OutlineComponent]] is by extending ObjectOutline, which provides a table with basic information about the variable.
 Methods getExtraTableInfo() and getExtraComponent() may be overriden as needed for providing extra information about your type.

For example, suppose you want to create an outline for FineTime variables to show their contents in the outline view whenever a session variable of that type is selected by the user.

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