public void saveObject(XMLControl control, Object obj) { super.saveObject(control, obj); ElementTrail element = (ElementTrail) obj; control.setValue("maximum", element.getMaximumPoints()); // $NON-NLS-1$ control.setValue("connected", element.isConnected()); // $NON-NLS-1$ // Don't save the points since loadObject will clear the trail }