ButtonMoveBack.js 523 B

12345678910111213
  1. draw2d.ButtonMoveBack = function(_465c) {
  2. this.imagePath = '/js/designer/draw2d/';
  3. draw2d.Button.call(this, _465c, 16, 16);
  4. };
  5. draw2d.ButtonMoveBack.prototype = new draw2d.Button;
  6. draw2d.ButtonMoveBack.prototype.type = "ButtonMoveBack";
  7. draw2d.ButtonMoveBack.prototype.getImageUrl = function() {
  8. return this.imagePath+this.type + ".png";
  9. };
  10. draw2d.ButtonMoveBack.prototype.execute = function() {
  11. this.palette.workflow.moveBack(this.palette.workflow.getCurrentSelection());
  12. ToolGeneric.prototype.execute.call(this);
  13. };