blob: 44db072306a714363d36f0bca009edc26f5417db [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script type="text/javascript" src="../orion/plugin.js"></script>
<script>
window.onload = function() {
var provider = new eclipse.PluginProvider();
var serviceImpl = {
run : function(text) {
return text.toUpperCase();
}
};
var serviceProps = {
name : "UPPERCASE",
img : "../images/gear.gif",
key : [ "u", true ]
};
provider.registerServiceProvider("orion.edit.command", serviceImpl, serviceProps);
provider.connect();
};
</script>
</head>
<body>
</body>
</html>