Skip to content

Commit

Permalink
Bump OWL API version to 4.2.5
Browse files Browse the repository at this point in the history
  - This includes the suggested OWL 2 Full changes to the OWL API
  - Re-ordered checkbox ordering to be more logical
  • Loading branch information
Brian Mc George authored and Brian Mc George committed Jun 24, 2016
1 parent 921f1e3 commit ae4b5ec
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
<dependency>
<groupId>net.sourceforge.owlapi</groupId>
<artifactId>owlapi-distribution</artifactId>
<version>4.2.3</version>
<version>4.2.5</version>
</dependency>

<!--logging framework-->
Expand Down
8 changes: 4 additions & 4 deletions src/main/java/com/oe/OWL2ProfileChecker.java
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@
* @author Brian Mc George
*/
public class OWL2ProfileChecker {
public static final List<String> PROFILE_NAMES = Collections.unmodifiableList(Arrays.asList(new OWL2Profile().getName(), new OWL2ELProfile().getName(),
new OWL2DLProfile().getName(), new OWL2QLProfile().getName(), new OWL2RLProfile().getName()));
public static final List<String> PROFILE_NAMES = Collections.unmodifiableList(Arrays.asList(new OWL2ELProfile().getName(),
new OWL2QLProfile().getName(), new OWL2RLProfile().getName(), new OWL2DLProfile().getName(), new OWL2Profile().getName()));

public static final List<Class<? extends org.semanticweb.owlapi.profiles.OWLProfile>> OWL_PROFILES = Collections.unmodifiableList(Arrays.asList(OWL2Profile
.class, OWL2ELProfile.class, OWL2DLProfile.class, OWL2QLProfile.class, OWL2RLProfile.class));
public static final List<Class<? extends org.semanticweb.owlapi.profiles.OWLProfile>> OWL_PROFILES = Collections.unmodifiableList(Arrays.asList(OWL2ELProfile.class,
OWL2QLProfile.class, OWL2RLProfile.class, OWL2DLProfile.class, OWL2Profile.class));

/**
* Calculates the a report of the OWL profiles which can be used to determine if an ontology falls within that profile and the getViolations (if any) that
Expand Down
6 changes: 5 additions & 1 deletion src/main/java/com/oe/UI.java
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,11 @@ public void actionPerformed(ActionEvent e) {
for (JCheckBox checkbox : checkBoxes) {
checkbox.setSelected(false);
}
runCalculations(true);
SwingUtilities.invokeLater(new Runnable() {
public void run() {
runCalculations(true);
}
});
}
}

Expand Down

0 comments on commit ae4b5ec

Please sign in to comment.