workspaceservice

package
v0.10.4 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultTimeout = 2 * time.Second

Variables

This section is empty.

Functions

This section is empty.

Types

type CloseTabRtnType

type CloseTabRtnType struct {
	CloseWindow    bool   `json:"closewindow,omitempty"`
	NewActiveTabId string `json:"newactivetabid,omitempty"`
}

type WorkspaceService

type WorkspaceService struct{}

func (*WorkspaceService) ChangeTabPinning

func (svc *WorkspaceService) ChangeTabPinning(ctx context.Context, workspaceId string, tabId string, pinned bool) (waveobj.UpdatesRtnType, error)

func (*WorkspaceService) ChangeTabPinning_Meta

func (svc *WorkspaceService) ChangeTabPinning_Meta() tsgenmeta.MethodMeta

func (*WorkspaceService) CloseTab

func (svc *WorkspaceService) CloseTab(ctx context.Context, workspaceId string, tabId string, fromElectron bool) (*CloseTabRtnType, waveobj.UpdatesRtnType, error)

returns the new active tabid

func (*WorkspaceService) CloseTab_Meta

func (svc *WorkspaceService) CloseTab_Meta() tsgenmeta.MethodMeta

func (*WorkspaceService) CreateTab

func (svc *WorkspaceService) CreateTab(workspaceId string, tabName string, activateTab bool, pinned bool) (string, waveobj.UpdatesRtnType, error)

func (*WorkspaceService) CreateTab_Meta

func (svc *WorkspaceService) CreateTab_Meta() tsgenmeta.MethodMeta

func (*WorkspaceService) CreateWorkspace

func (svc *WorkspaceService) CreateWorkspace(ctx context.Context, name string, icon string, color string, applyDefaults bool) (string, error)

func (*WorkspaceService) CreateWorkspace_Meta

func (svc *WorkspaceService) CreateWorkspace_Meta() tsgenmeta.MethodMeta

func (*WorkspaceService) DeleteWorkspace

func (svc *WorkspaceService) DeleteWorkspace(workspaceId string) (waveobj.UpdatesRtnType, error)

func (*WorkspaceService) DeleteWorkspace_Meta

func (svc *WorkspaceService) DeleteWorkspace_Meta() tsgenmeta.MethodMeta

func (*WorkspaceService) GetColors added in v0.10.1

func (svc *WorkspaceService) GetColors() []string

func (*WorkspaceService) GetColors_Meta added in v0.10.1

func (svc *WorkspaceService) GetColors_Meta() tsgenmeta.MethodMeta

func (*WorkspaceService) GetIcons added in v0.10.1

func (svc *WorkspaceService) GetIcons() []string

func (*WorkspaceService) GetIcons_Meta added in v0.10.1

func (svc *WorkspaceService) GetIcons_Meta() tsgenmeta.MethodMeta

func (*WorkspaceService) GetWorkspace

func (svc *WorkspaceService) GetWorkspace(workspaceId string) (*waveobj.Workspace, error)

func (*WorkspaceService) GetWorkspace_Meta

func (svc *WorkspaceService) GetWorkspace_Meta() tsgenmeta.MethodMeta

func (*WorkspaceService) ListWorkspaces

func (svc *WorkspaceService) ListWorkspaces() (waveobj.WorkspaceList, error)

func (*WorkspaceService) SetActiveTab

func (svc *WorkspaceService) SetActiveTab(workspaceId string, tabId string) (waveobj.UpdatesRtnType, error)

func (*WorkspaceService) SetActiveTab_Meta

func (svc *WorkspaceService) SetActiveTab_Meta() tsgenmeta.MethodMeta

func (*WorkspaceService) UpdateTabIds

func (svc *WorkspaceService) UpdateTabIds(uiContext waveobj.UIContext, workspaceId string, tabIds []string, pinnedTabIds []string) (waveobj.UpdatesRtnType, error)

func (*WorkspaceService) UpdateTabIds_Meta

func (svc *WorkspaceService) UpdateTabIds_Meta() tsgenmeta.MethodMeta

func (*WorkspaceService) UpdateWorkspace added in v0.10.1

func (svc *WorkspaceService) UpdateWorkspace(ctx context.Context, workspaceId string, name string, icon string, color string, applyDefaults bool) (waveobj.UpdatesRtnType, error)

func (*WorkspaceService) UpdateWorkspace_Meta added in v0.10.1

func (svc *WorkspaceService) UpdateWorkspace_Meta() tsgenmeta.MethodMeta

Jump to

Keyboard shortcuts

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