actions

package
v1.0.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 16, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Action

type Action struct {
	Type    string `json:"type"`
	Comment string `json:"comment"`
	Content string `json:"content"`
}

type ActionEditor

type ActionEditor struct {
	uicontrols.Dialog
	// contains filtered or unexported fields
}

func NewActionEditor

func NewActionEditor(parent uiinterfaces.Widget, value string, client *client.Client) *ActionEditor

func (*ActionEditor) ActionText

func (c *ActionEditor) ActionText() string

func (*ActionEditor) LoadEditor

func (c *ActionEditor) LoadEditor(actionType string, actionContent string)

func (*ActionEditor) OnInit

func (c *ActionEditor) OnInit()

type ActionEditorWidget

type ActionEditorWidget interface {
	LoadAction(value string)
	SaveAction() string
}

type OpenMap

type OpenMap struct {
	uicontrols.Panel
	// contains filtered or unexported fields
}

func NewOpenMap

func NewOpenMap(parent uiinterfaces.Widget, client *client.Client) *OpenMap

func (*OpenMap) LoadAction

func (c *OpenMap) LoadAction(value string)

func (*OpenMap) SaveAction

func (c *OpenMap) SaveAction() string

type OpenMapAction

type OpenMapAction struct {
	ResId string `json:"res_id"`
}

type WriteItem

type WriteItem struct {
	uicontrols.Panel
	// contains filtered or unexported fields
}

func NewWriteItem

func NewWriteItem(parent uiinterfaces.Widget, client *client.Client) *WriteItem

func (*WriteItem) LoadAction

func (c *WriteItem) LoadAction(value string)

func (*WriteItem) SaveAction

func (c *WriteItem) SaveAction() string

type WriteItemAction

type WriteItemAction struct {
	Item  string `json:"item"`
	Value string `json:"value"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL