public void modelChanged(IModelChangedEvent e) { // No need to call super, handling world changed event here if (e.getChangeType() == IModelChangedEvent.WORLD_CHANGED) { handleModelEventWorldChanged(e); return; } String prop = e.getChangedProperty(); Object[] objects = e.getChangedObjects(); if (prop == null || objects == null || !(objects[0] instanceof IProduct)) return; if (prop.equals(IProduct.P_UID)) { fIdEntry.setValue(e.getNewValue().toString(), true); } else if (prop.equals(IProduct.P_NAME)) { fNameEntry.setValue(e.getNewValue().toString(), true); } else if (prop.equals(IProduct.P_VERSION)) { fVersionEntry.setValue(e.getNewValue().toString(), true); } else if (prop.equals(IProduct.P_INCLUDE_LAUNCHERS)) { fLaunchersButton.setSelection(Boolean.valueOf(e.getNewValue().toString()).booleanValue()); } }