return comp;
}
public void configure(){
DefaultCompanyRoleResolutionContext brrrc = new DefaultCompanyRoleResolutionContext();
String groupOptionStr = groupOption.getSelection().getActionCommand();
if(groupOptionStr.equals("relativeGroup")){
brrrc.setRelativeRole((Role) definedRoleInputter.getValue());
brrrc.setGroupId(null);
}else if(groupOptionStr.equals("specifiedGroup")){
brrrc.setGroupId(""+groupInputter.getValue());
brrrc.setRelativeRole(null);
}else{
brrrc.setGroupId(null);
brrrc.setRelativeRole(null);
}
String roleOptionStr = roleOption.getSelection().getActionCommand();
if(roleOptionStr.equals("specifiedRole")){
brrrc.setRoleId(""+roleInputter.getValue());
}else{
brrrc.setRoleId(null);
}
setValue(brrrc);
onValueChanged();
}