ui

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2017 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Overview

Package ui is the abstraction layer for the user interface and defines all necessary interfaces that need to be implemented by concrete UI implementations.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ErrorWindow

type ErrorWindow interface {
	Window
}

ErrorWindow is the windows that is shown after an error occurred.

type ProgressWindow

type ProgressWindow interface {
	Window
	// Update updates the progress.
	Update(progress.Progress)
	RequestedCancel() bool
}

ProgressWindow is the window that is shown during the extraction process.

type UserInterface

type UserInterface interface {
	NewProgressWindow() ProgressWindow
	NewErrorWindow(message string) ErrorWindow
}

UserInterface is the factory for creating new windows.

type Window

type Window interface {
	Show() error
	Close()
}

Window is the common interface for all windows.

Directories

Path Synopsis
Package windows implements the user interface for the windows platform.
Package windows implements the user interface for the windows platform.

Jump to

Keyboard shortcuts

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