if (isTemplateMode())
if (templateStack.size()>1)
public void updateWorkspaceGroup(){	SetWorkspaceGroup cmd = (SetWorkspaceGroup)CommandManager.getInstance().getCommand("SetGroup");		String name = viewGroup.getAbsoluteName();	if (name.length()==0)		name = Constants.MAIN_GROUP;		if (isTemplateMode()) 		name = Constants.TEMPLATE_GROUP + " [" + ((VDBTemplate)templateStack.peek()).getDescription() + "]: "+ name;	cmd.setGroup(name);	cmd.execute();}