Command

langoustine.lsp.structures.Command
See theCommand companion object
case class Command(title: String, command: String, arguments: Opt[Vector[Value]])

Represents a reference to a command. Provides a title which will be used to represent a command in the UI and, optionally, an array of arguments which will be passed to the command handler function when invoked.

Value parameters

arguments

Arguments that the command handler should be invoked with.

command

The identifier of the actual command handler.

title

Title of the command, like save.

Attributes

Companion
object
Source
structures.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product