+ /**
+ * default implementor of a getColourFromString method.
+ * TODO: abstract an interface enabling pluggable colour from string
+ */
+ private UserColourScheme ucs = null;
+ private boolean colourByLabel=true;
+ /**
+ *
+ * @return true if colourByLabel style is set
+ */
+ public boolean isColourByLabel()
+ {
+ return colourByLabel;
+ }
+ /**
+ * @param colourByLabel the colourByLabel to set
+ */
+ public void setColourByLabel(boolean colourByLabel)
+ {
+ this.colourByLabel = colourByLabel;
+ }