Rogue Wave Views 5.6 |
Rogue Wave Views |
Rogue Wave Views Documentation Home |
Editor class. More...
#include <ivstudio/studio.h>
Inherited by IlvPrototypeStudio.
Public Member Functions | |
IlvStudio (IlvDisplay *display, int argc=0, char **argv=0) | |
Initializes an instance of IlvStudio . | |
void | addContainerInfo (IlvStContainerInfo *info) |
Adds informations about a subclass of container. | |
void | addOptionFile (const char *str, IlUInt ndx=(IlUInt)-1) |
Adds an option file. | |
IlvStBuffers & | buffers () |
Returns the edition modes. | |
IlvStError * | execute (const char *cmdName, IlAny caller=0, IlvStCommand *cmd=0, IlAny arg=0) |
Execute a command. | |
IlvDisplay * | getDisplay () const |
Returns the display. | |
IlvStPanelHandler * | getPanel (const char *name) const |
Returns a panel. | |
IlvGraphicCallback | getRegisteredCallback (const char *name) const |
Returns a callback. | |
IlvGraphic * | getSelection () const |
Returns the selected graphic object. | |
virtual void | initialize () |
Called to execute the initialization. | |
IlvStInspector & | inspector () |
Returns the object that manages the inspectors. | |
IlBoolean | isBad () const |
Returns IlFalse if the basic initializations are good. | |
virtual void | mainLoop () |
Called to execute the main loop of Rogue Wave Views Studio. | |
IlvStModes & | modes () |
Returns the buffers. | |
IlvStOptions & | options () |
Returns the options. | |
virtual void | parseArguments () |
Called to parse the arguments. | |
void | registerCallback (const char *name, IlvGraphicCallback cb) |
Registers a callback. | |
void | registerCommand (const char *name, IlvStCommandConstructor cmd) |
Registers a command. | |
void | unregisterCallback (const char *name) |
Unregisters a callback. | |
Friends | |
class | IlvStBuffers |
class | IlvStInspector |
class | IlvStModes |
class | IlvStOptions |
Editor class.
Library: ivstudio
It is the main class of the Rogue Wave Views Studio editor.
IlvStudio::IlvStudio | ( | IlvDisplay * | display, | |
int | argc = 0 , |
|||
char ** | argv = 0 | |||
) |
Initializes an instance of IlvStudio
.
display | The display. | |
argc | The parameter count. | |
argv | The values of the parameters. |
void IlvStudio::addContainerInfo | ( | IlvStContainerInfo * | info | ) |
Adds informations about a subclass of container.
info | The informations about the container subclass. |
Adds an option file.
Adds an option file to the list of option files. The option files are read to initialize and customize Rogue Wave Views Studio.
str | The file name. | |
ndx | The insertion position in the option files list. |
IlvStBuffers& IlvStudio::buffers | ( | ) |
Returns the edition modes.
IlvStError* IlvStudio::execute | ( | const char * | cmdName, | |
IlAny | caller = 0 , |
|||
IlvStCommand * | cmd = 0 , |
|||
IlAny | arg = 0 | |||
) |
Execute a command.
cmdName | The command name. | |
called | The object which wants to execute this command. | |
cmd | The command. | |
arg | The user data. |
null
if successful, otherwise returns an instance of IlvStError
. IlvDisplay* IlvStudio::getDisplay | ( | ) | const |
Returns the display.
IlvStPanelHandler* IlvStudio::getPanel | ( | const char * | name | ) | const |
Returns a panel.
name | The panel name. |
null
. IlvGraphicCallback IlvStudio::getRegisteredCallback | ( | const char * | name | ) | const |
Returns a callback.
name | The callback name. |
null
. IlvGraphic* IlvStudio::getSelection | ( | ) | const |
Returns the selected graphic object.
virtual void IlvStudio::initialize | ( | ) | [virtual] |
Called to execute the initialization.
Before the calling of this function, you must check that the result of the isBad
function is IlFalse
.
IlvStInspector& IlvStudio::inspector | ( | ) |
Returns the object that manages the inspectors.
IlBoolean IlvStudio::isBad | ( | ) | const |
Returns IlFalse
if the basic initializations are good.
IlFalse
if the basic initializations are good, otherwise returns IlTrue
. virtual void IlvStudio::mainLoop | ( | ) | [virtual] |
Called to execute the main loop of Rogue Wave Views Studio.
This function must call after the parseArguments
function.
IlvStModes& IlvStudio::modes | ( | ) |
Returns the buffers.
IlvStOptions& IlvStudio::options | ( | ) |
Returns the options.
virtual void IlvStudio::parseArguments | ( | ) | [virtual] |
Called to parse the arguments.
This function must call after the initialize
function.
void IlvStudio::registerCallback | ( | const char * | name, | |
IlvGraphicCallback | cb | |||
) |
Registers a callback.
name | The callback name. | |
cb | The callback. |
void IlvStudio::registerCommand | ( | const char * | name, | |
IlvStCommandConstructor | cmd | |||
) |
Registers a command.
name | The command name. | |
cmd | The function which is called to create an instance of the command. |
void IlvStudio::unregisterCallback | ( | const char * | name | ) |
Unregisters a callback.
name | The callback name. |
© Copyright 2012, 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.