Rhino C++ API
8.14
|
#include <IRhRdkContentUI.h>
Public Member Functions | |
virtual void | AddClient (const CRhRdkContent &c)=0 |
RDK_DEPRECATED void | AddClient (CRhRdkCoreContent &c) |
virtual RDK_DEPRECATED void | AddSection (class CRhRdkExpandingSection *pSection, int dummy=0) |
virtual int | ClientCount (void) const =0 |
virtual IRhinoUiHolder * | ContentUIHolder (void) const =0 |
virtual RDK_INTERNAL CRhRdkControllerPtr | Controller (void) const =0 |
virtual ON_wString | DebugString (void) const =0 |
virtual void | DeleteThis (void)=0 |
virtual void | Destroy (void)=0 |
virtual void | DisplayData (void)=0 |
virtual UUID | EditorUuid (void) const =0 |
virtual void | Enable (bool bEnable)=0 |
virtual void | EnableDisableControls (void)=0 |
virtual void * | EVF (const wchar_t *, void *)=0 |
virtual RhRdkUiFrameworks | Framework (void) const =0 |
virtual RDK_DEPRECATED class IRhinoUiHolder & | Holder (void) const |
virtual bool | IsCreated (void) const =0 |
virtual bool | IsShown (void) const =0 |
virtual void | ReleaseAllClients (void)=0 |
virtual void | RemClient (const CRhRdkContent &c)=0 |
RDK_DEPRECATED void | RemClient (CRhRdkCoreContent &c) |
virtual RDK_INTERNAL void | SetController (CRhRdkControllerPtr con)=0 |
virtual void | SetPositionAndSize (const ON_4iRect &rect)=0 |
virtual void | SetSelection (const CRhRdkContentArray &aContent)=0 |
virtual void | Show (bool bShow)=0 |
virtual UUID | Uuid (void) const =0 |
Static Public Member Functions | |
static RDK_DEPRECATED IRhRdkContentUI * | Get (const UUID &) |
Protected Member Functions | |
virtual | ~IRhRdkContentUI () |
This interface represents the user interface (UI) of a content. A content's UI appears inside an editor which is represented by IRhRdkContentEditor. The UI is the part of the editor which allows the user to view and modify the persistent state of the selected content(s).
This interface is implemented by RDK internally in the core content class, CRhRdkCoreContent. If you do not override CRhRdkCoreContent::CreateUI() you do not have to concern yourself with the details. If however, you do want to override CreateUI() to create your own custom UI, then you must derive your UI class from CRhRdkCustomContentUI and implement this interface to support your own UI design.
|
inlineprotectedvirtual |
|
pure virtual |
Called when a client is added to the UI. Your implementation should remember this client, perhaps in a CRhRdkContentArray. Implemented by CRhRdkCustomContentUI.
Implemented in CRhRdkCustomContentUI.
RDK_DEPRECATED void IRhRdkContentUI::AddClient | ( | CRhRdkCoreContent & | c | ) |
This method is deprecated in favor of the one below.
|
virtual |
This method is deprecated (not implemented) because IRhRdkContentUI can now be implemented without using any 'sections'. This happens in custom UIs. You will need to change your code to add the section via IRhRdkExpandableContentUI.
|
pure virtual |
Implemented in CRhRdkCustomContentUI.
|
pure virtual |
Implemented in CRhRdkCustomContentUI, and IRhRdkExpandableContentUI.
|
pure virtual |
Implemented in CRhRdkCustomContentUI.
|
pure virtual |
Implemented in CRhRdkCustomContentUI.
|
pure virtual |
You must implement this method as
|
pure virtual |
Your implementation must do any and all clean-up here and not in DeleteThis().
|
pure virtual |
Called when the UI should transfer the selected content state to the controls.
|
pure virtual |
Get the unique identifier of the editor that the UI is being displayed in. Implemented by CRhRdkCustomContentUI.
Implemented in CRhRdkCustomContentUI.
|
pure virtual |
Enable/disable the UI. Your implementation must respond to this by enabling or disabling the entire UI.
|
pure virtual |
Enable or disable controls in the UI.
|
pure virtual |
Emergency virtual function for future expansion.
Implemented in CRhRdkCustomContentUI.
|
pure virtual |
|
inlinestatic |
This method is deprecated (not implemented) in favor of RhRdkContentUIManager().FindUI()
|
virtual |
This method is deprecated (not implemented) because IRhRdkContentUI can now be implemented without using any 'holder'. This happens in custom UIs.
|
pure virtual |
|
pure virtual |
|
pure virtual |
Implemented in CRhRdkCustomContentUI.
|
pure virtual |
Called when a client is removed from the UI. Your implementation should remove the client from its client list or array. When the last client is removed, you must hide the entire UI. Implemented by CRhRdkCustomContentUI.
Implemented in CRhRdkCustomContentUI.
RDK_DEPRECATED void IRhRdkContentUI::RemClient | ( | CRhRdkCoreContent & | c | ) |
This method is deprecated in favor of the one below.
|
pure virtual |
Implemented in CRhRdkCustomContentUI.
|
pure virtual |
Set the position and size of the UI.
|
pure virtual |
Called when the user selects content in the editor.
aContent | is the content being selected. Your UI should 'remember' the instance ids of the contents so that it can look them up again and transfer their state to the controls in DisplayData(). |
Implemented in CRhRdkCustomContentUI.
|
pure virtual |
Show/Hide the UI. Your implementation must respond to this by showing or hiding the entire UI. Please call the base class.
Implemented in CRhRdkCustomContentUI.
|
pure virtual |
Get the unique identifier of the UI. Implemented by CRhRdkCustomContentUI.
Implemented in CRhRdkCustomContentUI.