All Downloads are FREE. Search and download functionalities are using the official Maven repository.
Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
org.coode.parsers.ui.KeywordColourMap Maven / Gradle / Ivy
package org.coode.parsers.ui;
import java.awt.Color;
import java.util.HashMap;
/** Author: drummond
* http://www.cs.man.ac.uk/~drummond/
*
*
* The University Of Manchester
* Bio Health Informatics Group
* Date: Sep 23, 2008
* */
public class KeywordColourMap extends HashMap {
private static final long serialVersionUID = 20100L;
/**
*
*/
public KeywordColourMap() {
Color restrictionColor = new Color(178, 0, 178);
Color logicalOpColor = new Color(0, 178, 178);
Color axiomColor = new Color(10, 94, 168);
Color queryColor = new Color(100, 15, 120);
put("some", restrictionColor);
put("only", restrictionColor);
put("value", restrictionColor);
put("exactly", restrictionColor);
put("min", restrictionColor);
put("max", restrictionColor);
put("inv", logicalOpColor);
put("and", logicalOpColor);
put("that", logicalOpColor);
put("or", logicalOpColor);
put("not", logicalOpColor);
put("subClassOf", axiomColor);
put("SubClassOf", axiomColor);
put("disjointWith", axiomColor);
put("DisjointWith", axiomColor);
put("equivalentTo", axiomColor);
put("EquivalentTo", axiomColor);
put("domain", axiomColor);
put("range", axiomColor);
put("instanceOf", axiomColor);
put("types", axiomColor);
put("InstanceOf", axiomColor);
put("minus", queryColor);
put("plus", queryColor);
put("possibly", queryColor);
put("inverseOf", axiomColor);
put("DifferentIndividuals:", axiomColor);
put("SameIndividuals:", axiomColor);
put("Functional:", axiomColor);
put("InverseFunctional:", axiomColor);
put("Symmetric:", axiomColor);
put("AntiSymmetric:", axiomColor);
put("Reflexive:", axiomColor);
put("Irreflexive:", axiomColor);
put("Transitive:", axiomColor);
put("subPropertyOf", axiomColor);
put("disjointUnionOf", axiomColor);
put("o", axiomColor);
put("\u279E", axiomColor);
put("\u2192", axiomColor);
put("\u2227", axiomColor);
}
}