@@ -0,0 +1,1275 @@
+package fi.csc.microarray.client.visualisation.methods.gbrowser.track;%0A%0Aimport java.awt.Color;%0Aimport java.util.Arrays;%0Aimport java.util.Collection;%0A%0Aimport fi.csc.microarray.client.visualisation.methods.gbrowser.View;%0Aimport fi.csc.microarray.client.visualisation.methods.gbrowser.drawable.Drawable;%0Aimport fi.csc.microarray.client.visualisation.methods.gbrowser.drawable.TextDrawable;%0Aimport fi.csc.microarray.client.visualisation.methods.gbrowser.fileFormat.ColumnType;%0Aimport fi.csc.microarray.client.visualisation.methods.gbrowser.message.AreaResult;%0A%0Apublic class TitleTrack extends Track %7B%0A%0A%09private Color color;%0A%09private String title;%0A%0A%09public TitleTrack(View view, String title, Color color) %7B%0A%09%09super(view, null);%0A%09%09this.color = color;%0A%09%09this.title = title;%0A%09%7D%0A%0A%09@Override%0A%09public Collection%3CDrawable%3E getDrawables() %7B%0A%09%09Collection%3CDrawable%3E drawables = getEmptyDrawCollection();%0A%09%09drawables.add(new TextDrawable(5, 13, title, color));%0A%09%09return drawables;%0A%09%7D%0A%0A%09public void processAreaResult(AreaResult areaResult) %7B%0A%09%09// ignore%0A%09%7D%0A%0A%09@Override%0A%09public int getMaxHeight() %7B%0A%09%09return 10;%0A%09%7D%0A%0A%09@Override%0A%09public Collection%3CColumnType%3E getDefaultContents() %7B%0A%09%09return Arrays.asList(new ColumnType%5B%5D %7B%7D);%0A%09%7D%0A%0A%09@Override%0A%09public boolean isConcised() %7B%0A%09%09return false;%0A%09%7D%0A%7D

support for title tracks