Extending Rogue Wave Views Studio: An Example
The example in this section shows how to create an editor that associates predefined callbacks with any graphic object. loadilv is a predefined callback that takes the name of the file to be loaded as a parameter. This name is stored in graphic objects as a property.
The first task is to derive a class from
IlvGadgetManager to redefine
read and
write for storing and restoring the new property. This part is not described here. We assume that you have a class
MyManager that saves objects with the descriptor
MyGadgetManagerOutput and a class
MyContainer restoring objects saved by
MyManager.
Follow these steps to extend the editor:
Version 6.2.1
Copyright © 2018, Rogue Wave Software, Inc. All Rights Reserved.