dirty = false;
displayNameField.setValue(object.getDisplayName());
final ObjectPropertyFrame frame = object.getFrame();
iriField.setValue(frame.getSubject().getIRI().toString());
annotations.setValue(new PropertyValueList(Collections.<PropertyValue>unmodifiableSet(frame.getAnnotationPropertyValues())));
RenderingServiceManager.getManager().execute(new GetRendering(projectId, frame.getDomains()), new AsyncCallback<GetRenderingResponse>() {
@Override
public void onFailure(Throwable caught) {
}
@Override
public void onSuccess(GetRenderingResponse result) {
List<OWLPrimitiveData> primitiveDatas = new ArrayList<OWLPrimitiveData>();
for (OWLClass cls : frame.getDomains()) {
final Optional<OWLEntityData> entityData = result.getEntityData(cls);
if (entityData.isPresent()) {
primitiveDatas.add(entityData.get());
}
}
domains.setValue(primitiveDatas);
}
});
RenderingServiceManager.getManager().execute(new GetRendering(projectId, frame.getRanges()), new AsyncCallback<GetRenderingResponse>() {
@Override
public void onFailure(Throwable caught) {
}
@Override