Key User Adaptation
Layout Editor
(in SAP Web IDE)
SAPUI5 Visual Editor
(in SAP Web IDE)
sap.ui.require([ "sap/ui/dt/DesignTime", "sap/ui/dt/plugin/MouseSelection", "sap/ui/dt/plugin/ControlDragDrop", "custom/ushell/plugin/shooter/designtime/Shooter" ], function ( DesignTime, MouseSelection, ControlDragDrop, Shooter ) { var oAppLifeCycle = sap.ushell.Container.getService("AppLifeCycle"); var oDesignTime = new DesignTime({ rootElements: oAppLifeCycle.getCurrentApplication().componentInstance, plugins: [ new MouseSelection(), new ControlDragDrop(), new Shooter() ] }); });
sap.ui.require([ "sap/ui/dt/DesignTime", "sap/ui/dt/plugin/MouseSelection", "sap/ui/dt/plugin/ControlDragDrop", "custom/ushell/plugin/shooter/designtime/Shooter" ], function ( DesignTime, MouseSelection, ControlDragDrop, Shooter ) { var oAppLifeCycle = sap.ushell.Container.getService("AppLifeCycle"); var oDesignTime = new DesignTime({ rootElements: oAppLifeCycle.getCurrentApplication().componentInstance, plugins: [ new MouseSelection(), new ControlDragDrop(), new Shooter() ] }); });
sap.ui.require([ "sap/ui/dt/DesignTime", "sap/ui/dt/plugin/MouseSelection", "sap/ui/dt/plugin/ControlDragDrop", "custom/ushell/plugin/shooter/designtime/Shooter" ], function ( DesignTime, MouseSelection, ControlDragDrop, Shooter ) { var oAppLifeCycle = sap.ushell.Container.getService("AppLifeCycle"); var oDesignTime = new DesignTime({ rootElements: oAppLifeCycle.getCurrentApplication().componentInstance, plugins: [ new MouseSelection(), new ControlDragDrop(), new Shooter() ] }); });
sap.ui.define(["sap/ui/dt/Plugin"], function (Plugin) { var Shooter = Plugin.extend("custom.ushell.plugin.shooter.designtime.Shooter"); Shooter.prototype.registerElementOverlay = function (oOverlay) { oOverlay.attachBrowserEvent("dblclick", this._onClick, oOverlay); }; Shooter.prototype.deregisterElementOverlay = function (oOverlay) { oOverlay.detachBrowserEvent("dblclick", this._onClick, oOverlay); }; Shooter.prototype._onClick = function (e) { this.setSelected(false); this.addStyleClass("sapUiDtOverlayPoof"); this.attachBrowserEvent("animationend", function () { this.getElement().setVisible(false); }, this); e.stopPropagation(); }; return Shooter; });
sap.ui.define(["sap/ui/dt/Plugin"], function (Plugin) { var Shooter = Plugin.extend("custom.ushell.plugin.shooter.designtime.Shooter"); Shooter.prototype.registerElementOverlay = function (oOverlay) { oOverlay.attachBrowserEvent("dblclick", this._onClick, oOverlay); }; Shooter.prototype.deregisterElementOverlay = function (oOverlay) { oOverlay.detachBrowserEvent("dblclick", this._onClick, oOverlay); }; Shooter.prototype._onClick = function (e) { this.setSelected(false); this.addStyleClass("sapUiDtOverlayPoof"); this.attachBrowserEvent("animationend", function () { this.getElement().setVisible(false); }, this); e.stopPropagation(); }; return Shooter; });
sap.ui.define(["sap/ui/dt/Plugin"], function (Plugin) { var Shooter = Plugin.extend("custom.ushell.plugin.shooter.designtime.Shooter"); Shooter.prototype.registerElementOverlay = function (oOverlay) { oOverlay.attachBrowserEvent("dblclick", this._onClick, oOverlay); }; Shooter.prototype.deregisterElementOverlay = function (oOverlay) { oOverlay.detachBrowserEvent("dblclick", this._onClick, oOverlay); }; Shooter.prototype._onClick = function (e) { this.setSelected(false); this.addStyleClass("sapUiDtOverlayPoof"); this.attachBrowserEvent("animationend", function () { this.getElement().setVisible(false); }, this); e.stopPropagation(); }; return Shooter; });
sap.ui.define(["sap/ui/dt/Plugin"], function (Plugin) { var Shooter = Plugin.extend("custom.ushell.plugin.shooter.designtime.Shooter"); Shooter.prototype.registerElementOverlay = function (oOverlay) { oOverlay.attachBrowserEvent("dblclick", this._onClick, oOverlay); }; Shooter.prototype.deregisterElementOverlay = function (oOverlay) { oOverlay.detachBrowserEvent("dblclick", this._onClick, oOverlay); }; Shooter.prototype._onClick = function (e) { this.setSelected(false); this.addStyleClass("sapUiDtOverlayPoof"); this.attachBrowserEvent("animationend", function () { this.getElement().setVisible(false); }, this); e.stopPropagation(); }; return Shooter; });
sap.ui.define(["sap/ui/dt/Plugin"], function (Plugin) { var Shooter = Plugin.extend("custom.ushell.plugin.shooter.designtime.Shooter"); Shooter.prototype.registerElementOverlay = function (oOverlay) { oOverlay.attachBrowserEvent("dblclick", this._onClick, oOverlay); }; Shooter.prototype.deregisterElementOverlay = function (oOverlay) { oOverlay.detachBrowserEvent("dblclick", this._onClick, oOverlay); }; Shooter.prototype._onClick = function (e) { this.setSelected(false); this.addStyleClass("sapUiDtOverlayPoof"); this.attachBrowserEvent("animationend", function () { this.getElement().setVisible(false); }, this); e.stopPropagation(); }; return Shooter; });
sap.ui.define(["sap/ui/dt/Plugin"], function (Plugin) { var Shooter = Plugin.extend("custom.ushell.plugin.shooter.designtime.Shooter"); Shooter.prototype.registerElementOverlay = function (oOverlay) { oOverlay.attachBrowserEvent("dblclick", this._onClick, oOverlay); }; Shooter.prototype.deregisterElementOverlay = function (oOverlay) { oOverlay.detachBrowserEvent("dblclick", this._onClick, oOverlay); }; Shooter.prototype._onClick = function (e) { this.setSelected(false); this.addStyleClass("sapUiDtOverlayPoof"); this.attachBrowserEvent("animationend", function () { this.getElement().setVisible(false); }, this); e.stopPropagation(); }; return Shooter; });
sap.ui.define(["sap/ui/dt/Plugin"], function (Plugin) { var Shooter = Plugin.extend("custom.ushell.plugin.shooter.designtime.Shooter"); Shooter.prototype.registerElementOverlay = function (oOverlay) { oOverlay.attachBrowserEvent("dblclick", this._onClick, oOverlay); }; Shooter.prototype.deregisterElementOverlay = function (oOverlay) { oOverlay.detachBrowserEvent("dblclick", this._onClick, oOverlay); }; Shooter.prototype._onClick = function (e) { this.setSelected(false); this.addStyleClass("sapUiDtOverlayPoof"); this.attachBrowserEvent("animationend", function () { this.getElement().setVisible(false); }, this); e.stopPropagation(); }; return Shooter; });
sap.ui.define(["sap/ui/dt/Plugin"], function (Plugin) { var Shooter = Plugin.extend("custom.ushell.plugin.shooter.designtime.Shooter"); Shooter.prototype.registerElementOverlay = function (oOverlay) { oOverlay.attachBrowserEvent("dblclick", this._onClick, oOverlay); }; Shooter.prototype.deregisterElementOverlay = function (oOverlay) { oOverlay.detachBrowserEvent("dblclick", this._onClick, oOverlay); }; Shooter.prototype._onClick = function (e) { this.setSelected(false); this.addStyleClass("sapUiDtOverlayPoof"); this.attachBrowserEvent("animationend", function () { this.getElement().setVisible(false); }, this); e.stopPropagation(); }; return Shooter; });
sap.ui.define(["sap/ui/dt/Plugin"], function (Plugin) { var Shooter = Plugin.extend("custom.ushell.plugin.shooter.designtime.Shooter"); Shooter.prototype.registerElementOverlay = function (oOverlay) { oOverlay.attachBrowserEvent("dblclick", this._onClick, oOverlay); }; Shooter.prototype.deregisterElementOverlay = function (oOverlay) { oOverlay.detachBrowserEvent("dblclick", this._onClick, oOverlay); }; Shooter.prototype._onClick = function (e) { this.setSelected(false); this.addStyleClass("sapUiDtOverlayPoof"); this.attachBrowserEvent("animationend", function () { this.getElement().setVisible(false); }, this); e.stopPropagation(); }; return Shooter; });