Rhino C++ API
8.10
|
#include <IRhRdkContentEditor.h>
Public Types | |
enum | EditMethods : unsigned int { EditMethods::Local, EditMethods::Modal, EditMethods::Floating } |
![]() | |
enum | Types : unsigned int { Types::Unset, Types::Main, Types::Modal, Types::Floating, Types::InPlace } |
Public Member Functions | |
virtual | ~IRhRdkContentEditor () |
virtual CRhRdkControllerPtr | Controller (void) const =0 |
virtual void * | EVF (const wchar_t *, void *)=0 |
virtual void | OnContentUICreated (class IRhRdkContentUI &ui)=0 |
UUID | RdkDocumentId (void) const |
void | SetRdkDocumentId (const UUID &uuidRdkDoc) |
virtual CRhRdkContent::Kinds | TopLevelKind (void) const =0 |
virtual RDK_DEPRECATED HWND | UiHostWindow (void) const =0 |
![]() | |
virtual RhRdkUiFrameworks | Framework (void) const =0 |
virtual UUID | Id (void) const =0 |
virtual RhRdkUiModalities | Modality (void) const =0 |
virtual Types | Type (void) const =0 |
Static Public Member Functions | |
static IRhRdkContentEditor * | Find (const UUID &uuidEditor) |
![]() | |
static RDK_DEPRECATED IRhRdkEditor * | Find (const UUID &uuidEditor) |
Additional Inherited Members | |
![]() | |
virtual | ~IRhRdkEditor () |
This interface represents a content editor. Currently two types of content editor are implemented:
A content editor acts as a host for a content UI. The UiHostWindow() method returns a pointer to the window that is the parent of the main UI window. The main UI window is usually a content UI holder containing sections (AKA roll-ups), but if you override CRhRdkCoreContent::CreateUI() and provide a custom UI, it can be anything you like.
A content editor must know the document it is for. This is not strictly needed on Windows, but on the Mac there can be many editors for a content kind but each for a different document. Even modal editors which are capable of editing free-floating contents still have a document, but this document is a 'sandbox', not a 'live' document.
|
strong |
|
inlinevirtual |
|
pure virtual |
|
pure virtual |
Emergency virtual function for future expansion.
Implements IRhRdkEditor.
|
static |
Find a content editor by its id.
|
pure virtual |
Called just after a content UI has been created.
UUID IRhRdkContentEditor::RdkDocumentId | ( | void | ) | const |
void IRhRdkContentEditor::SetRdkDocumentId | ( | const UUID & | uuidRdkDoc | ) |
|
pure virtual |
|
pure virtual |
OBSOLETE. There is no longer a host 'window' since the framework uses Eto (which is C#). If you were calling this, just use NULL for the host or parent.