Author: remi
Date: 2009-03-16 13:50:18 +0100 (Mon, 16 Mar 2009)
New Revision: 4085

Modified:
   software_suite_v2/tuxware/tuxdroidserver/trunk/util/gadgets/Gadget.py
Log:
* added a method to get the data structure of a gadget

Modified: software_suite_v2/tuxware/tuxdroidserver/trunk/util/gadgets/Gadget.py
===================================================================
--- software_suite_v2/tuxware/tuxdroidserver/trunk/util/gadgets/Gadget.py       
2009-03-16 09:13:28 UTC (rev 4084)
+++ software_suite_v2/tuxware/tuxdroidserver/trunk/util/gadgets/Gadget.py       
2009-03-16 12:50:18 UTC (rev 4085)
@@ -33,6 +33,15 @@
                 infosStructure['commands'][key]))
 
     # 
--------------------------------------------------------------------------
+    # Get the structure of the gadget.
+    # 
--------------------------------------------------------------------------
+    def getStructure(self):
+        """Get the structure of the gadget.
+        @return: A structure as dictionary.
+        """
+        return self.__structure
+
+    # 
--------------------------------------------------------------------------
     # Get the parent gadgets container.
     # 
--------------------------------------------------------------------------
     def getContainer(self):


------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Tux-droid-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tux-droid-svn

Reply via email to