public void modifyTestElement(TestElement element) { super.configureTestElement(element); if (element instanceof RMIRemoteObjectConfig) { model = (RMIRemoteObjectConfig) element; model.setTargetRmiName(targetRmiName.getText()); } }
@Override public void configure(TestElement e) { super.configure(e); model = (RMIRemoteObjectConfig) e; targetRmiName.setText(model.getTargetRmiName()); }