I was using the tutorial Sparkplug Development Guide. I tried the addTabToSpark() function to add a tab on the workspace but didn’t work. I have used the code below instead and it worked. Is it a change in the API? I am using sparkplug kit 2_0_7.
/**
* Called when Spark is shutting down to allow for persistence of information
* or releasing of resources. */
public void shutdown() {
}
/**
* Return true if the Spark can shutdown on users request.
* @return true if Spark can shutdown on users request. */
public boolean canShutDown() {
return true;
}
/**
* Is called when a user explicitly asked to uninstall this plugin.
* The plugin owner is responsible to clean up any resources and
* remove any components install in Spark. */
public void uninstall(){
// Remove all resources belonging to this plugin.
}
}