Author: ygrego Date: 2015-01-29 14:08:53 +0000 (Thu, 29 Jan 2015) New Revision: 743 Url: http://forge.nuiton.org/projects/sandbox/repository/revisions/743 Log: Implementation of method "createSearch" and MetadataSearch class constructor. Modified: oipf/js/impl/Class.js oipf/js/impl/OipfObjectFactory.js oipf/js/impl/SearchManagerObject.js Modified: oipf/js/impl/Class.js =================================================================== --- oipf/js/impl/Class.js 2015-01-29 11:11:59 UTC (rev 742) +++ oipf/js/impl/Class.js 2015-01-29 14:08:53 UTC (rev 743) @@ -13,3 +13,5 @@ return child; }; + +var VisualClass = Object.create(HTMLObjectElement.prototype); \ No newline at end of file Modified: oipf/js/impl/OipfObjectFactory.js =================================================================== --- oipf/js/impl/OipfObjectFactory.js 2015-01-29 11:11:59 UTC (rev 742) +++ oipf/js/impl/OipfObjectFactory.js 2015-01-29 14:08:53 UTC (rev 743) @@ -94,7 +94,7 @@ createCapabilitiesObject: function() { console.log("[INFO] createCapabilitiesObject() of OipfObjectFactory class called."); - return verifOipfObjectExisting(capabilities_dae_mime_type); + return this.verifOipfObjectExisting(capabilities_dae_mime_type); }, /*! @@ -237,16 +237,16 @@ return verifOipfObjectExisting(remoteManagement_dae_mime_type); }, - createStatusViewObject(): function() { + createStatusViewObject: function() { console.log("[INFO] createStatusViewObject() of OipfObjectFactory class called."); return new StatusViewObject(); }, - createVideoMpegObject(): function() { + createVideoMpegObject: function() { - console.log("[INFO] createStatusViewObject() of OipfObjectFactory class called."); + console.log("[INFO] createVideoMpegObject() of OipfObjectFactory class called."); return new VideoMpegObject(); }, Modified: oipf/js/impl/SearchManagerObject.js =================================================================== --- oipf/js/impl/SearchManagerObject.js 2015-01-29 11:11:59 UTC (rev 742) +++ oipf/js/impl/SearchManagerObject.js 2015-01-29 14:08:53 UTC (rev 743) @@ -62,7 +62,7 @@ */ createSearch: function(searchTarget) { - + return new MetadataSearch(); }, /* @@ -89,8 +89,9 @@ */ searchTarget: null, - init: function() { - + init: function(searchTarget) { + + this.searchTarget= searchTarget; }, /*
participants (1)
-
ygregoï¼ users.nuiton.org