ReorderableListControl.DoCommand Method (GUIContent, Int32, IReorderableListAdaptor)

Rotorz ReorderableList

ReorderableListControlDoCommand Method (GUIContent, Int32, IReorderableListAdaptor)
Call to manually perform command.

Namespace: Rotorz.ReorderableList
Assembly: Editor.ReorderableList (in Editor.ReorderableList.dll) Version: 0.0.0.0 (0.3.0.0)
Syntax
public bool DoCommand(
	GUIContent command,
	int itemIndex,
	IReorderableListAdaptor adaptor
)
public function DoCommand(
	command : GUIContent,
	itemIndex : int,
	adaptor : IReorderableListAdaptor
) : boolean

Parameters

command
Type: GUIContent
Content representing command.
itemIndex
Type: SystemInt32
Zero-based index of item which was right-clicked.
adaptor
Type: Rotorz.ReorderableListIReorderableListAdaptor
Reorderable list adaptor.

Return Value

Type: Boolean
A value of true if command was known; otherwise false.
Remarks

Warning message is logged to console if attempted to execute unknown command.

See Also