Skip to main content

EditorCreationController::PlacedEditor

EditorCreationController::PlacedEditor

Result of creating and placing an editor. More…

#include <EditorCreationController.hpp>

Public Functions

Name
bool isValid() const
Check if the editor was successfully created.

Public Attributes

Name
ads::CDockWidget * view_dock
Dock widget containing the view.
ads::CDockWidget * properties_dock
Dock widget containing properties (may be null).
std::shared_ptr< EditorState > state
The editor state (registered with registry).

Detailed Description

struct EditorCreationController::PlacedEditor;

Result of creating and placing an editor.

Contains pointers to the created dock widgets and the editor state. Dock widgets may be nullptr if creation failed or was not applicable (e.g., no properties factory for the editor type).

Public Functions Documentation

function isValid

inline bool isValid() const

Check if the editor was successfully created.

Return: true if state and view_dock are valid

Public Attributes Documentation

variable view_dock

ads::CDockWidget * view_dock = nullptr;

Dock widget containing the view.

variable properties_dock

ads::CDockWidget * properties_dock = nullptr;

Dock widget containing properties (may be null).

variable state

std::shared_ptr< EditorState > state;

The editor state (registered with registry).


Updated on 2026-11-13 at 20:25:40 +0000