1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25 package org.utgenome.gwt.utgb.client.track.lib.debug;
26
27 import org.utgenome.gwt.utgb.client.track.Track;
28 import org.utgenome.gwt.utgb.client.track.lib.ToolBoxTrack;
29 import org.utgenome.gwt.utgb.client.track.lib.old.OldUTGBAddTrackTrack;
30 import org.utgenome.gwt.utgb.client.track.lib.old.OperationTrack;
31
32
33
34
35
36
37
38 public class DebugToolBoxTrack extends ToolBoxTrack {
39 public static TrackFactory factory() {
40 return new TrackFactory() {
41 public Track newInstance() {
42 return new DebugToolBoxTrack();
43 }
44 };
45 }
46
47 public DebugToolBoxTrack() {
48 super("Debug Toolbox");
49 }
50
51 public void setupToolbox() {
52 addTrackFactory("Operation", OperationTrack.factory("http://medaka3.gi.k.u-tokyo.ac.jp/~kobayashi/EnsemblPredGene/EnsemblTranscript.xml"));
53 addTrackFactory("Property", PropertyEditTrack.factory());
54 addTrackFactory("URL Query", URLQueryArgumentTrack.factory());
55 addTrackFactory("Legacy Track Loader", OldUTGBAddTrackTrack.factory());
56 }
57
58 }