Author: remi
Date: 2009-03-16 13:50:49 +0100 (Mon, 16 Mar 2009)
New Revision: 4086
Modified:
software_suite_v2/tuxware/tuxdroidserver/trunk/util/gadgets/GadgetDescription.py
Log:
* added a method to get the working path of the gadget
Modified:
software_suite_v2/tuxware/tuxdroidserver/trunk/util/gadgets/GadgetDescription.py
===================================================================
---
software_suite_v2/tuxware/tuxdroidserver/trunk/util/gadgets/GadgetDescription.py
2009-03-16 12:50:18 UTC (rev 4085)
+++
software_suite_v2/tuxware/tuxdroidserver/trunk/util/gadgets/GadgetDescription.py
2009-03-16 12:50:49 UTC (rev 4086)
@@ -48,6 +48,15 @@
self.__structure = structure
#
--------------------------------------------------------------------------
+ # Get the working path of the gadget.
+ #
--------------------------------------------------------------------------
+ def getWorkingPath(self):
+ """Get the working path of the gadget.
+ @return: A string.
+ """
+ return self.__structure['working_path']
+
+ #
--------------------------------------------------------------------------
# Get the gadget name.
#
--------------------------------------------------------------------------
def getName(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