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
ParameterSet
object 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 callsSetCyberItem
to store a reference to the Cyberdog item. Then, if an opener part is passed in as a parameter, the method calls the opener part'sOpenPart
method to open the Cyberdog item. If no opener part is passed in,OpenCyberItem
calls the display part'sOpen
method.If you are creating a Cyberdog display part, you would override this method in your
CyberPartExtension
subclass 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
TheSetCyberItem
method (page 291).
TheCyberOpenerPartExtension::OpenPart
method (page 275).