|
//Central Methods
function getMinimumSize() {
return {width:500, height:400};
}
function getMaximumSize() {
return {width: 500, height:400};
}
onActivate = function(shell, appId, shellId, baseTabIndex, appData) {
gShell = shell;
}
//Icon Button Handler
fShowPod.onRelease = function()
{
var shownPods = gShell.getViewedPods();
if (shownPods.length == 0) {
var pods = gShell.getPods();
gShell.viewPod(pods[0].id);
}
}
// let the Central shell know we're loaded
// the shell will call us back soon with an onActivate
Central.initApplication(this, this);
stop();
All this code does is tell Central that the application
|