Author: ygrego Date: 2015-06-09 08:52:32 +0000 (Tue, 09 Jun 2015) New Revision: 1614 Url: http://forge.nuiton.org/projects/sandbox/repository/revisions/1614 Log: Addition of a new method "activateInput". Modified: oipf/js/impl/model/Application.js Modified: oipf/js/impl/model/Application.js =================================================================== --- oipf/js/impl/model/Application.js 2015-06-09 08:31:08 UTC (rev 1613) +++ oipf/js/impl/model/Application.js 2015-06-09 08:52:32 UTC (rev 1614) @@ -163,6 +163,32 @@ this.visible = false; }, + /* + * Desription + * Move the application to the front of the active applications list. If the + * application has been hidden using Application.hide(), this method does + * not cause the application to be shown. + * + * If the application visualization mode as defined by method + * getApplicationVisualizationMode() in section 7.2.1.3, is: + * + * 1: The application's Window object SHALL be moved to the top of + * the stack of visible applications. In addition, the application's Window + * object SHALL gain input focus if argument gainFocus has value true. + * + * 2 : The application's Window object SHALL be moved to the top of + * the stack of visible applications. In addition, the application's Window + * object SHALL gain input focus if argument gainFocus has value true. + * Calling this method from the application itself MAY have no effect. + * + * 3 : Request to make the application’s Window object visible. + * Once visible, the application SHALL be given input focus, irrespective of + * the value for argument gainFocus. + */ + activateInput: function(gainFocus) { + + }, + _setWindow: function(windowApp) { this.window = {}; if (windowApp && windowApp.postMessage) {
participants (1)
-
ygrego@users.nuiton.org