com.businessobjects.crystalreports.designer.sdk
Interface ICrystalReportsEditorPage


public interface ICrystalReportsEditorPage

This interface defines a page that can be added to a Crystal Reports editor.

See Also:
ICrystalReportsEditor

Method Summary
 boolean attachOnStart()
          Identifies whether to attach the page to editor when the editor is loaded or when the page is first made active.
 void attachToEditor(ICrystalReportsEditor editor)
          Performs initialization when the page is attached to the editor.
 

Method Detail

attachOnStart

boolean attachOnStart()
Identifies whether to attach the page to editor when the editor is loaded or when the page is first made active. When the page is attached to the editor it is initialized. Typically, this method returns false, and the page is attached to the editor the first time it is made active. If user interaction is required before the page is activated, this method should return true.

Returns:
true to attach the page when the editor opens, false to attach it the first time the page is made active

attachToEditor

void attachToEditor(ICrystalReportsEditor editor)
Performs initialization when the page is attached to the editor. This method is only called once per page instance, either when the editor is loaded or the first time the page is made active.

Parameters:
editor - the editor to attach the page to