TimelineItem

open class TimelineItem(source)

An entry in a timeline, such as a commit or a saved version of a file.

Online Documentation

Constructors

Link copied to clipboard
constructor(label: String, timestamp: JsInt53)
constructor(resourceUri: Uri, timestamp: JsInt53)

Properties

Link copied to clipboard

Accessibility information used when screen reader interacts with this timeline item.

Link copied to clipboard
external var command: Command?

The Command that should be executed when the timeline item is opened.

Link copied to clipboard
external var contextValue: String?

Context value of the timeline item. This can be used to contribute specific actions to the item. For example, a timeline item is given a context value as commit. When contributing actions to timeline/item/context using menus extension point, you can specify context value for key timelineItem in when expression like timelineItem == commit.

Link copied to clipboard
external var description: String?

A human-readable string describing less prominent details of the timeline item.

Link copied to clipboard
external var iconPath: IconPath?

The icon path or ThemeIcon for the timeline item.

Link copied to clipboard
external var id: String?

Optional id for the timeline item. It must be unique across all the timeline items provided by its provider.

Link copied to clipboard
external var label: String?

A human-readable string describing the timeline item. When falsy, it is derived from resourceUri.

Link copied to clipboard
external var resourceUri: Uri?

The Uri of the resource's content as of this item, for example a git: uri for a commit or the uri of a saved version of a file.

Link copied to clipboard
external var timestamp: JsInt53

When the item occurred, in milliseconds since 1 January 1970 00:00:00 UTC.

Link copied to clipboard
external var tooltip: JsAny?

The tooltip text when you hover over the timeline item.