visor

package
v0.0.0-...-7b96089 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2023 License: AGPL-3.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChatExplorer

type ChatExplorer struct {
	fyne.CanvasObject
}

func NewChatExplorer

func NewChatExplorer(p project.Project, dm *DocumentManager) *ChatExplorer

type Document

type Document struct {
	ID      string
	Name    string
	Content fyne.CanvasObject
	// contains filtered or unexported fields
}

func NewDocument

func NewDocument(id, name string, content fyne.CanvasObject) *Document

func (*Document) Close

func (d *Document) Close()

type DocumentArea

type DocumentArea struct {
	*container.DocTabs
	// contains filtered or unexported fields
}

func NewDocumentArea

func NewDocumentArea(m *DocumentManager) *DocumentArea

type DocumentManager

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

func NewDocumentManager

func NewDocumentManager(p project.Project) *DocumentManager

func (*DocumentManager) AddDocument

func (m *DocumentManager) AddDocument(doc *Document)

func (*DocumentManager) CloseDocument

func (m *DocumentManager) CloseDocument(d *Document)

func (*DocumentManager) OpenDocument

func (m *DocumentManager) OpenDocument(path psi.Path, node psi.Node)

type Editor

type Editor interface {
	Project() project.Project
	ElementPath() psi.Path
	Element() psi.Node
	Root() fyne.CanvasObject
}

func NewSourceFileEditor

func NewSourceFileEditor(p project.Project, elementPath psi.Path, element psi.Node) Editor

func NewThoughtLogEditor

func NewThoughtLogEditor(p project.Project, elementPath psi.Path, element psi.Node) Editor

type EditorFactory

type EditorFactory func(p project.Project, elementPath psi.Path, element psi.Node) Editor

func FactoryForNode

func FactoryForNode(element psi.Node) EditorFactory

type ProjectExplorer

type ProjectExplorer struct {
	fyne.CanvasObject
}

func NewProjectExplorer

func NewProjectExplorer(p project.Project, dm *DocumentManager) *ProjectExplorer

type PropertyInspector

type PropertyInspector struct {
	fyne.CanvasObject
}

func NewPropertyInspector

func NewPropertyInspector() *PropertyInspector

type PsiNodeDescription

type PsiNodeDescription struct {
	Name        string
	Description string
	Icon        fyne.Resource
}

func GetPsiNodeDescription

func GetPsiNodeDescription(v psi.Node) PsiNodeDescription

type PsiTreeItem

type PsiTreeItem struct {
	Container *fyne.Container

	Icon  *widget.Icon
	Label *widget.Label
}

func NewPsiTreeItem

func NewPsiTreeItem() *PsiTreeItem

type PsiTreeWidget

type PsiTreeWidget struct {
	*widget.Tree

	OnNodeSelected func(n psi.Node)
	// contains filtered or unexported fields
}

func NewPsiTreeWidget

func NewPsiTreeWidget(resolutionRoot psi.Node) *PsiTreeWidget

func (*PsiTreeWidget) Node

func (ptw *PsiTreeWidget) Node(id widget.TreeNodeID) psi.Node

func (*PsiTreeWidget) SetRootItem

func (ptw *PsiTreeWidget) SetRootItem(path psi.Path)

type SourceFileEditor

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

func (*SourceFileEditor) Element

func (t *SourceFileEditor) Element() psi.Node

func (*SourceFileEditor) ElementPath

func (t *SourceFileEditor) ElementPath() psi.Path

func (*SourceFileEditor) Project

func (t *SourceFileEditor) Project() project.Project

func (*SourceFileEditor) Root

func (t *SourceFileEditor) Root() fyne.CanvasObject

type TasksToolWindow

type TasksToolWindow struct {
	fyne.CanvasObject
}

func NewTasksToolWindow

func NewTasksToolWindow(p project.Project) *TasksToolWindow

type ThoughtLogEditor

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

func (*ThoughtLogEditor) Element

func (t *ThoughtLogEditor) Element() psi.Node

func (*ThoughtLogEditor) ElementPath

func (t *ThoughtLogEditor) ElementPath() psi.Path

func (*ThoughtLogEditor) Project

func (t *ThoughtLogEditor) Project() project.Project

func (*ThoughtLogEditor) Root

func (t *ThoughtLogEditor) Root() fyne.CanvasObject

type ThoughtView

type ThoughtView struct {
	View fyne.CanvasObject

	Thought      obsfx.SimpleProperty[*thoughtstream.Thought]
	TextProperty obsfx.StringProperty
	// contains filtered or unexported fields
}

func NewThoughtView

func NewThoughtView() *ThoughtView

func (*ThoughtView) OnInvalidated

func (tv *ThoughtView) OnInvalidated(o obsfx.Observable)

type Visor

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

func NewVisor

func NewVisor(p project.Project) *Visor

func (*Visor) Run

func (v *Visor) Run()

Jump to

Keyboard shortcuts

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