Table of Contents

Class MapPropertiesTool

Namespace
AlphaFramework.Editor.World.Dialogs
Assembly
AlphaFramework.Editor.dll

Allows the user to modify the properties of a IUniverse.

public sealed class MapPropertiesTool : Form, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, IContainerControl
Inheritance
MapPropertiesTool
Implements
Inherited Members
Extension Methods

Remarks

This is a non-modal floating toolbox window. Communication is handled via events (ExecuteCommand).

Constructors

MapPropertiesTool(IUniverse)

Creates a new map properties tool window.

public MapPropertiesTool(IUniverse universe)

Parameters

universe IUniverse

The map data to modify.

Methods

Dispose(bool)

Clean up any resources being used.

protected override void Dispose(bool disposing)

Parameters

disposing bool

true if managed resources should be disposed; otherwise, false.

UpdateUniverse(IUniverse)

Updates the IUniverse object being represented by this window.

public void UpdateUniverse(IUniverse universe)

Parameters

universe IUniverse

The new IUniverse object. If it is the same object as the old one, cached values will be refreshed.

Events

ExecuteCommand

Occurs when a command is to be executed by the owning tab.

public event Action<IUndoCommand> ExecuteCommand

Event Type

Action<IUndoCommand>