ButtonMoveFront.js 534 B

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