/* this must be executed after the getInfoPanel is executed. */
ldi.waitForInfoPanel();
ldi.getWidget("drbd_resource", null).setValueAndWait(new StringValue(getDrbdResourceInfo().getName()));
/* apply gets parents from graph and adds colocations. */
application.waitForSwing();
ldi.apply(dcHost, runMode);
ldi.getResource().setNew(false);
application.invokeInEdt(new Runnable() {
@Override
public void run() {
ldi.setApplyButtons(null, ldi.getParametersFromXML());