@quick-game/cli
Version:
Command line interface for rapid qg development
39 lines • 1.01 kB
JavaScript
// Copyright 2020 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
export class Plugin {
uiSourceCode;
constructor(uiSourceCode, _transformer) {
this.uiSourceCode = uiSourceCode;
}
static accepts(_uiSourceCode) {
return false;
}
willHide() {
}
rightToolbarItems() {
return [];
}
/**
*
* TODO(szuend): It is OK to asyncify this function (similar to {rightToolbarItems}),
* but it is currently not strictly necessary.
*/
leftToolbarItems() {
return [];
}
populateLineGutterContextMenu(_contextMenu, _lineNumber) {
}
populateTextAreaContextMenu(_contextMenu, _lineNumber, _columnNumber) {
}
decorationChanged(_type, _editor) {
}
editorExtension() {
return [];
}
editorInitialized(_editor) {
}
dispose() {
}
}
//# sourceMappingURL=Plugin.js.map