ui

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2018 License: Apache-2.0 Imports: 30 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultRefreshInternalMS = 1000
View Source
const HELP_TEXT_VIEW_NAME = "helpTextTipsView"

Variables

This section is empty.

Functions

This section is empty.

Types

type HelpTextTipsWidget added in v0.7.3

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

func NewHelpTextTipsWidget added in v0.7.3

func NewHelpTextTipsWidget(masterUI masterUIInterface.MasterUIInterface, name string, height int) *HelpTextTipsWidget

func (*HelpTextTipsWidget) Layout added in v0.7.3

func (w *HelpTextTipsWidget) Layout(g *gocui.Gui) error

func (*HelpTextTipsWidget) Name added in v0.7.3

func (w *HelpTextTipsWidget) Name() string

func (*HelpTextTipsWidget) SetHelpTextTips added in v0.7.3

func (w *HelpTextTipsWidget) SetHelpTextTips(g *gocui.Gui, helpTextTips string) error

type MasterUI

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

func NewMasterUI

func NewMasterUI(cliConnection plugin.CliConnection, pluginMetadata *plugin.PluginMetadata, privileged bool) *MasterUI

func (*MasterUI) AddCommonDataViewKeybindings added in v0.7.3

func (mui *MasterUI) AddCommonDataViewKeybindings(g *gocui.Gui, viewName string) error

Add common keybindings for all data views -- note that this does not include keybindings for "top level" data views which are ones that are selectable from the "select view" menu ('d' command)

func (*MasterUI) CliConnection

func (mui *MasterUI) CliConnection() plugin.CliConnection

func (*MasterUI) CloseView

func (mui *MasterUI) CloseView(m managerUI.Manager) error

func (*MasterUI) CloseViewByName

func (mui *MasterUI) CloseViewByName(viewName string) error

func (*MasterUI) GetAlertSize added in v0.7.8

func (mui *MasterUI) GetAlertSize() int

func (*MasterUI) GetCommonData added in v0.7.8

func (mui *MasterUI) GetCommonData() *dataCommon.CommonData

func (*MasterUI) GetCurrentView

func (mui *MasterUI) GetCurrentView(g *gocui.Gui) *gocui.View

func (*MasterUI) GetDisplayPaused added in v0.7.8

func (mui *MasterUI) GetDisplayPaused() bool

func (*MasterUI) GetHeaderSize added in v0.7.3

func (mui *MasterUI) GetHeaderSize() int

func (*MasterUI) GetRouter

func (mui *MasterUI) GetRouter() *eventrouting.EventRouter

func (*MasterUI) GetTargetDisplay added in v0.7.8

func (mui *MasterUI) GetTargetDisplay() string

func (*MasterUI) GetTopMargin added in v0.7.8

func (mui *MasterUI) GetTopMargin() int

func (*MasterUI) IsEditColumnMode added in v0.8.4

func (mui *MasterUI) IsEditColumnMode() bool

func (*MasterUI) IsHeaderMinimized added in v0.8.4

func (mui *MasterUI) IsHeaderMinimized() bool

func (*MasterUI) IsPrivileged added in v0.7.7

func (mui *MasterUI) IsPrivileged() bool

func (*MasterUI) IsWarmupComplete added in v0.7.3

func (mui *MasterUI) IsWarmupComplete() bool

func (*MasterUI) LayoutManager

func (mui *MasterUI) LayoutManager() managerUI.LayoutManagerInterface

func (*MasterUI) OpenView added in v0.7.3

func (mui *MasterUI) OpenView(g *gocui.Gui, dataView masterUIInterface.UpdatableView) error

func (*MasterUI) RefeshNow

func (mui *MasterUI) RefeshNow()

func (*MasterUI) SetCurrentViewOnTop

func (mui *MasterUI) SetCurrentViewOnTop(g *gocui.Gui) error

func (*MasterUI) SetDisplayPaused added in v0.7.8

func (mui *MasterUI) SetDisplayPaused(paused bool)

func (*MasterUI) SetEditColumnMode added in v0.8.4

func (mui *MasterUI) SetEditColumnMode(g *gocui.Gui, editColumnMode bool)

func (*MasterUI) SetHeaderMinimize added in v0.8.4

func (mui *MasterUI) SetHeaderMinimize(g *gocui.Gui, minimizeHeader bool)

func (*MasterUI) SetHelpTextTips added in v0.7.3

func (mui *MasterUI) SetHelpTextTips(g *gocui.Gui, helpTextTips string) error

func (*MasterUI) Start

func (mui *MasterUI) Start(monitoredAppGuids map[string]bool)

Jump to

Keyboard shortcuts

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