f0dfbfc3d7
RequirementsTest / build (windows-latest, 3.9) (push) Has been cancelled
RequirementsTest / build (macos-latest, 3.9) (push) Has been cancelled
RequirementsTest / build (ubuntu-latest, 3.9) (push) Has been cancelled
CodeQL / Analyze (javascript) (push) Has been cancelled
CodeQL / Analyze (python) (push) Has been cancelled
Pylint / build (3.9) (push) Has been cancelled
44 lines
794 B
JavaScript
44 lines
794 B
JavaScript
/**
|
|
* @license
|
|
* Copyright 2019 Google LLC
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
/**
|
|
* @fileoverview The interface for an object that is selectable.
|
|
* @author samelh@google.com (Sam El-Husseini)
|
|
*/
|
|
|
|
'use strict';
|
|
|
|
goog.provide('Blockly.ISelectable');
|
|
|
|
goog.requireType('Blockly.IDeletable');
|
|
goog.requireType('Blockly.IMovable');
|
|
|
|
|
|
/**
|
|
* The interface for an object that is selectable.
|
|
* @extends {Blockly.IDeletable}
|
|
* @extends {Blockly.IMovable}
|
|
* @interface
|
|
*/
|
|
Blockly.ISelectable = function() {};
|
|
|
|
/**
|
|
* @type {string}
|
|
*/
|
|
Blockly.ISelectable.prototype.id;
|
|
|
|
/**
|
|
* Select this. Highlight it visually.
|
|
* @return {void}
|
|
*/
|
|
Blockly.ISelectable.prototype.select;
|
|
|
|
/**
|
|
* Unselect this. Unhighlight it visually.
|
|
* @return {void}
|
|
*/
|
|
Blockly.ISelectable.prototype.unselect;
|