public CommandGroup getCommandGroup(String name){
ApplicationLifecycleAdvisor advisor = getApplication().getLifecycleAdvisor();
if(advisor instanceof JideApplicationLifecycleAdvisor){
JideApplicationLifecycleAdvisor dockingAdvisor =
(JideApplicationLifecycleAdvisor)advisor;
CommandGroup commandGroup = dockingAdvisor.getSpecificCommandGroup(name);
return commandGroup;
}
return null;
}