mirror of
https://github.com/UnickSoft/graphonline.git
synced 2025-07-03 00:06:40 +00:00
40 lines
779 B
JavaScript
Executable File
40 lines
779 B
JavaScript
Executable File
(function() {
|
|
|
|
var exports = this;
|
|
|
|
var IcePlugin = function(ice_instance) {
|
|
this._ice = ice_instance;
|
|
};
|
|
|
|
IcePlugin.prototype = {
|
|
|
|
start: function() {},
|
|
clicked: function(e) {
|
|
return true;
|
|
},
|
|
mouseDown: function(e) {
|
|
return true;
|
|
},
|
|
keyDown: function(e) {
|
|
return true;
|
|
},
|
|
keyPress: function(e) {
|
|
return true;
|
|
},
|
|
selectionChanged: function(range) {},
|
|
setEnabled: function(enabled) {},
|
|
setDisabled: function(enabled) {},
|
|
caretUpdated: function() {},
|
|
nodeInserted: function(node, range) {},
|
|
nodeCreated: function(node, options) {},
|
|
caretPositioned: function() {},
|
|
remove: function() {
|
|
this._ice.removeKeyPressListener(this);
|
|
},
|
|
setSettings: function(settings) {}
|
|
};
|
|
|
|
exports.IcePlugin = IcePlugin;
|
|
|
|
}).call(this.ice);
|