uidesigner/com.nokia.sdt.component.symbian.test/data/scripts/test2.js
author Ed Swartz <ed.swartz@nokia.com>
Fri, 09 Apr 2010 07:45:47 -0500
branchRCL_2_4
changeset 1191 0523013ddf00
parent 0 fb279309251b
permissions -rw-r--r--
Merge commits 1174, 1175, 1176, 1184, 1185 from default: Fix issues not disposing listeners in PNP launch wizard Fix use of PathUtils: do not use new Path() on a Windows format path; this breaks in Linux. Bug 11067: fix some issues with the PNP launch wizard Connected service properties need to be propagated just as their statuses are


// this test gets everything through instance

function Test() {
}

Test.prototype.getInstance = function() {
	return instance;
}

Test.prototype.getProperties = function() {
	return instance.properties;
}

Test.prototype.getNamePlusFoo = function() {
//	java.lang.System.out.println( instance.properties.size)
	return instance.properties.name + "foo";
}

Test.prototype.getSizeFormatted = function() {
	return instance.properties.size.x + "," + instance.properties.size.y;
}