IElementAdderMenuCommand(TContext) Interface

Rotorz ReorderableList

IElementAdderMenuCommandTContext Interface
Interface for a menu command that can be included in an IElementAdderMenu either by annotating an implementation of the IElementAdderMenuCommandTContext interface with ElementAdderMenuCommandAttribute or directly by calling AddCustomCommand(IElementAdderMenuCommandTContext).

Namespace: Rotorz.ReorderableList
Assembly: Editor.ReorderableList (in Editor.ReorderableList.dll) Version: 0.0.0.0 (0.3.0.0)
Syntax
public interface IElementAdderMenuCommand<TContext>
public interface IElementAdderMenuCommand.<TContext>

Type Parameters

TContext
Type of the context object that elements can be added to.

The IElementAdderMenuCommandTContext type exposes the following members.

Methods
  NameDescription
Public methodCanExecute
Determines whether the command can be executed.
Public methodExecute
Executes the command.
Top
Properties
  NameDescription
Public propertyContent
Gets the content of the menu command.
Top
See Also