context

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewEditor

func NewEditor(eventBus *mvc.EventBus, reg *registry.Model, cont *registry.Context) workspace.Editor

Types

type Editor

type Editor struct {
	// contains filtered or unexported fields
}

func (*Editor) AddProperty

func (e *Editor) AddProperty()

func (*Editor) CanSave

func (e *Editor) CanSave() bool

func (*Editor) DeleteProperty

func (e *Editor) DeleteProperty(index int)

func (*Editor) ID

func (e *Editor) ID() string

func (*Editor) Name

func (e *Editor) Name() string

func (*Editor) Properties

func (e *Editor) Properties() []gog.KV[string, string]

func (*Editor) Save

func (e *Editor) Save() error

func (*Editor) SetPropertyName

func (e *Editor) SetPropertyName(index int, name string)

func (*Editor) SetPropertyValue

func (e *Editor) SetPropertyValue(index int, value string)

type PropertiesChangedEvent

type PropertiesChangedEvent struct {
	Editor *Editor
}

Jump to

Keyboard shortcuts

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