@Override
public void run() {
application.isSwingThread();
serviceMenu.removeAll();
final Point2D pos = serviceMenu.getPos();
final CrmXml crmXML = serviceInfo.getBrowser().getCrmXml();
final ResourceAgent fsService = crmXML.getResourceAgent("Filesystem",
ResourceAgent.HEARTBEAT_PROVIDER,
ResourceAgent.OCF_CLASS_NAME);
if (crmXML.isLinbitDrbdResourceAgentPresent()) { /* just skip it, if it is not */
/* Linbit:DRBD */
addDrbdLinbitMenu(serviceInfo, serviceMenu, crmXML, pos, fsService, runMode);
}
if (crmXML.isDrbddiskResourceAgentPresent()) { /* just skip it,
if it is not */
/* drbddisk */
addDrbddiskMenu(serviceInfo, serviceMenu, crmXML, pos, fsService, runMode);
}
final ResourceAgent ipService = crmXML.getResourceAgent("IPaddr2",
ResourceAgent.HEARTBEAT_PROVIDER,
ResourceAgent.OCF_CLASS_NAME);
if (ipService != null) { /* just skip it, if it is not*/
/* ipaddr */
addIpMenu(serviceInfo, serviceMenu, pos, ipService, runMode);