Important: The information in this document is obsolete and should not be used for new development.
OpenCyberItem
Opens a Cyberdog item in this display part.
void OpenCyberItem (in CyberItem item, in ODPart openerPart, in ParameterSet openParams);
item- The Cyberdog item to be opened.
openerPart- The opener part to use in the opening process, if any; otherwise,
kODNULL.openParams- The
ParameterSetobject to use in the opening process, if any; otherwise,kODNULL.DISCUSSION
This method notifies this Cyberdog display part that it is being opened to display the content referenced by the specified Cyberdog item. The superclass implementation first callsSetCyberItemto store a reference to the Cyberdog item. Then, if an opener part is passed in as a parameter, the method calls the opener part'sOpenPartmethod to open the Cyberdog item. If no opener part is passed in,OpenCyberItemcalls the display part'sOpenmethod.If you are creating a Cyberdog display part, you would override this method in your
CyberPartExtensionsubclass to insert additional code into the opening process. For example, your override might take these actions:
- Notify the extension's associated part of the Cyberdog item to be opened.
- Create a progress broadcaster and attach it to a navigator or opener part to show the status of the opening process.
- Embed the display part in a navigator part.
- Retrieve a stream for downloading the data referenced by the Cyberdog item and initiate the download.
SEE ALSO
TheSetCyberItemmethod (page 291).
TheCyberOpenerPartExtension::OpenPartmethod (page 275).