Documentation
¶
Index ¶
- func NewEditor(eventBus *mvc.EventBus, reg *registry.Model, cont *registry.Context) workspace.Editor
- type Editor
- func (e *Editor) AddProperty()
- func (e *Editor) CanSave() bool
- func (e *Editor) DeleteProperty(index int)
- func (e *Editor) ID() string
- func (e *Editor) Name() string
- func (e *Editor) Properties() []gog.KV[string, string]
- func (e *Editor) Save() error
- func (e *Editor) SetPropertyName(index int, name string)
- func (e *Editor) SetPropertyValue(index int, value string)
- type PropertiesChangedEvent
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Editor ¶
type Editor struct {
// contains filtered or unexported fields
}
func (*Editor) AddProperty ¶
func (e *Editor) AddProperty()
func (*Editor) DeleteProperty ¶
func (*Editor) SetPropertyName ¶
func (*Editor) SetPropertyValue ¶
type PropertiesChangedEvent ¶
type PropertiesChangedEvent struct {
Editor *Editor
}
Click to show internal directories.
Click to hide internal directories.