class MAGES::SceneGraph::Editor::InsertActionWizard

Overview

Action wizard for InsertActionData. More…

class InsertActionWizard: 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 UndoStep(int index);
    virtual override void ClearAction();
    virtual override string GetStepName(int index);
    virtual override void Initialize();
    virtual override void OnDestroy();
};

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 InsertActionData.

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 UndoStep(int index)

Undoes the step at the given index.

Parameters:

index

The Index.

virtual override void ClearAction()

Clears the action.

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.

virtual override void OnDestroy()

Called when the wizard is destroyed.