class MAGES::SceneGraph::Editor::QuestionActionWizard

Overview

Action wizard for QuestionActionData. More…

class QuestionActionWizard: public MAGES::SceneGraph::Editor::ActionWizardFactory
{
public:
    // properties

    override int StepCount;
    override string Title;

    // methods

    virtual override VisualElement CreateStepUI(int index);
    virtual override IActionImplementor Finish();
    virtual override void OnDestroy();
    virtual override void ClearAction();
    virtual override void UndoStep(int index);
    virtual override string GetStepName(int index);
    virtual override void Initialize();
};

Inherited Members

public:
    // properties

    abstract int StepCount;
    abstract string Title;
    string ActionName;
    SceneGraphView View;
    Button InternalNextButton;

    // methods

    virtual abstract string GetStepName(int index) = 0;
    virtual abstract void Initialize() = 0;
    virtual abstract VisualElement CreateStepUI(int index) = 0;
    virtual abstract IActionImplementor Finish() = 0;
    virtual void ClearAction();
    virtual void UndoStep(int index);
    virtual void OnDestroy();

Detailed Documentation

Action wizard for QuestionActionData.

Methods

virtual override VisualElement CreateStepUI(int index)

Creates the UI for the step at the given index.

Parameters:

index

The index.

Returns:

The generated visual element.

virtual override IActionImplementor Finish()

Finalizes the wizard.

Returns:

The action data.

virtual override void OnDestroy()

Called when the wizard is destroyed.

virtual override void ClearAction()

Clears the action.

virtual override void UndoStep(int index)

Undoes the step at the given index.

Parameters:

index

The Index.

virtual override string GetStepName(int index)

Gets the name of the step at the given index.

Parameters:

index

The step index.

Returns:

The name of the step.

virtual override void Initialize()

Initializes the wizard.