Search in sources :

Example 1 with EntityLabel

use of edu.stanford.bmir.protege.web.client.library.entitylabel.EntityLabel in project webprotege by protegeproject.

the class ProjectChangeEventView method setChangedEntities.

public void setChangedEntities(final Set<OWLEntityData> entities) {
    changedEntitiesTable.removeAllRows();
    int row = 0;
    for (OWLEntityData entityData : entities) {
        final EntityLabel changedEntityLabel = new EntityLabel();
        changedEntityLabel.setEntity(entityData);
        changedEntityLabel.setSelectionModel(selectionModel);
        changedEntitiesTable.setWidget(row, 0, changedEntityLabel);
        row++;
    }
}
Also used : OWLEntityData(edu.stanford.bmir.protege.web.shared.entity.OWLEntityData) EntityLabel(edu.stanford.bmir.protege.web.client.library.entitylabel.EntityLabel)

Aggregations

EntityLabel (edu.stanford.bmir.protege.web.client.library.entitylabel.EntityLabel)1 OWLEntityData (edu.stanford.bmir.protege.web.shared.entity.OWLEntityData)1