Rogue Wave Views Studio Package API Reference Guide |
Rogue Wave Views Documentation Home |
Extension class. More...
#include <ivstudio/studext.h>
Public Member Functions | |
IlvStExtension (const char *name, IlvStudio *editor) | |
Initializes a new instance of IlvStExtension . More... | |
IlvStudio * | getEditor () const |
Returns the instance of the editor that is being extended. More... | |
virtual IlBoolean | initializeBuffers () |
Called to initialize the buffers. More... | |
virtual IlBoolean | initializeCommandDescriptors () |
Called to initialize the command descriptors. More... | |
virtual IlBoolean | initializeInspectors () |
Called to initialize the inspectors. More... | |
virtual IlBoolean | initializeModes () |
Called to initialize the editing modes. More... | |
virtual IlBoolean | initializePanels () |
Called to initialize the panels. More... | |
virtual IlBoolean | postInitialize () |
Called just after the initialization. More... | |
virtual IlBoolean | preInitialize () |
Called before the begin of the initialization. More... | |
Public Member Functions inherited from IlvStNamedObject | |
const char * | getName () const |
Returns the name of the object. More... | |
virtual void | setName (const char *name) |
Sets the name of the object. More... | |
Extension class.
Library: ivstudio
To add some new features to Rogue Wave Views Studio, you need to define a new extension. To initialize a new extension and add it to Rogue Wave Views Studio, you have to derive a class from IlvStExtension
defining a set of methods that will be invoked in a predefined sequence.
Note: An extension must not be explicitly deleted.
IlvStudio
. IlvStExtension::IlvStExtension | ( | const char * | name, |
IlvStudio * | editor | ||
) |
Initializes a new instance of IlvStExtension
.
This constructor adds the new instance to the extension list of the editor. You must create an instance of your extension before initializing the Studio instance. When the editor is deleted, this instance is deleted. An extension must not be explicitly deleted.
name | The extension name. |
editor | The instance of the editor that is being extended. |
IlvStudio* IlvStExtension::getEditor | ( | ) | const |
Returns the instance of the editor that is being extended.
|
virtual |
Called to initialize the buffers.
IlTrue
if everything works fine or IlFalse
if initialization must be stopped.
|
virtual |
Called to initialize the command descriptors.
IlTrue
if everything works fine or IlFalse
if initialization must be stopped.
|
virtual |
Called to initialize the inspectors.
IlTrue
if everything works fine or IlFalse
if initialization must be stopped.
|
virtual |
Called to initialize the editing modes.
IlTrue
if everything works fine or IlFalse
if initialization must be stopped.
|
virtual |
Called to initialize the panels.
IlTrue
if everything works fine or IlFalse
if initialization must be stopped.
|
virtual |
Called just after the initialization.
IlTrue
if everything works fine or IlFalse
if initialization must be stopped.
|
virtual |
Called before the begin of the initialization.
IlTrue
if everything works fine or IlFalse
if initialization must be stopped. © Copyright 2018, Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.