Hi,
I am looking for changing my presence in Spark by a plugin. I used this sheet of code :
import com.jivesoftware.spark.SparkManager;
import com.jivesoftware.spark.Workspace;
import com.jivesoftware.spark.plugin.Plugin;
import com.jivesoftware.spark.ui.status.StatusBar;
public class myplugin implements Plugin {
public void initialize() {
// Get Workspace UI from SparkManager
Workspace workspace = SparkManager.getWorkspace();
StatusBar status = workspace.getStatusBar();
status.setStatus(“aze”);
}
…
}
But my presence do not change to “aze” and the plugin folder is deleted. Why ? Does anybody know ? Did I use the good method setStatus() ? Thanks for help me.
Scar
ps : sorry for my english…