public void beginDisplay(DisplayEvent event) throws ModelControlException {
  super.beginDisplay(event,false);
  resetButtonState(TBL_BUTTON_DELETE);
  AgentsModel model=(AgentsModel)getModel();
  String agentType=getDisplayIDType();
  Object[] param={agentType};
  ptModel.setPageTitleText(model.getLocalizedString("agenttype." + agentType));
  ptModel.setPageTitleHelpMessage(model.getLocalizedString("agenttype." + agentType + ".help"));
  tblModel.setTitle(MessageFormat.format(model.getLocalizedString("table.agents.title.name"),param));
  tblModel.setTitleLabel(MessageFormat.format(model.getLocalizedString("table.agents.summary"),param));
  tblModel.setSummary(MessageFormat.format(model.getLocalizedString("table.agents.summary"),param));
  tblGroupModel.setTitle(MessageFormat.format(model.getLocalizedString("table.agent.groups.title.name"),param));
  tblGroupModel.setTitleLabel(MessageFormat.format(model.getLocalizedString("table.agent.groups.summary"),param));
  tblGroupModel.setSummary(MessageFormat.format(model.getLocalizedString("table.agent.groups.summary"),param));
  getAgentNames();
  CCButton b=(CCButton)getChild(TBL_BUTTON_DELETE);
  b.setDisabled(true);
  b=(CCButton)getChild(TBL_BUTTON_DELETE_GROUP);
  b.setDisabled(true);
}

public void beginDisplay ( DisplayEvent event ) throws ModelControlException { super . beginDisplay ( event , false ) ; resetButtonState ( TBL_BUTTON_DELETE ) ; AgentsModel model = ( AgentsModel ) getModel ( ) ; String agentType = getDisplayIDType ( ) ; Object [ ] param = { agentType } ; ptModel . setPageTitleText ( model . getLocalizedString ( "agenttype." + agentType ) ) ; ptModel . setPageTitleHelpMessage ( model . getLocalizedString ( "agenttype." + agentType + ".help" ) ) ; tblModel . setTitle ( MessageFormat . format ( model . getLocalizedString ( "table.agents.title.name" ) , param ) ) ; tblModel . setTitleLabel ( MessageFormat . format ( model . getLocalizedString ( "table.agents.summary" ) , param ) ) ; tblModel . setSummary ( MessageFormat . format ( model . getLocalizedString ( "table.agents.summary" ) , param ) ) ; tblGroupModel . setTitle ( MessageFormat . format ( model . getLocalizedString ( "table.agent.groups.title.name" ) , param ) ) ; tblGroupModel . setTitleLabel ( MessageFormat . format ( model . getLocalizedString ( "table.agent.groups.summary" ) , param ) ) ; tblGroupModel . setSummary ( MessageFormat . format ( model . getLocalizedString ( "table.agent.groups.summary" ) , param ) ) ; getAgentNames ( ) ; CCButton b = ( CCButton ) getChild ( TBL_BUTTON_DELETE ) ; b . setDisabled ( true ) ; b = ( CCButton ) getChild ( TBL_BUTTON_DELETE_GROUP ) ; b . setDisabled ( true ) ; }
sets the agent title and populates the agent and agent group action table .
