Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.debug.examples.ui/src/org/eclipse/debug/examples/ui/midi/adapters/TrackColumnPresentation.java')
-rw-r--r--org.eclipse.debug.examples.ui/src/org/eclipse/debug/examples/ui/midi/adapters/TrackColumnPresentation.java23
1 files changed, 18 insertions, 5 deletions
diff --git a/org.eclipse.debug.examples.ui/src/org/eclipse/debug/examples/ui/midi/adapters/TrackColumnPresentation.java b/org.eclipse.debug.examples.ui/src/org/eclipse/debug/examples/ui/midi/adapters/TrackColumnPresentation.java
index c09337169..05713db26 100644
--- a/org.eclipse.debug.examples.ui/src/org/eclipse/debug/examples/ui/midi/adapters/TrackColumnPresentation.java
+++ b/org.eclipse.debug.examples.ui/src/org/eclipse/debug/examples/ui/midi/adapters/TrackColumnPresentation.java
@@ -23,12 +23,19 @@ public class TrackColumnPresentation extends AbstractColumnPresentation {
* Column identifiers
*/
public static final String COL_TICK = "TICK";
- public static final String COL_MESSAGE = "MESSAGE";
+ public static final String COL_BYTES = "BYTES";
+ public static final String COL_COMMAND = "COMMAND";
+ public static final String COL_CHANNEL = "CHANNEL";
/**
* All columns
*/
- public static final String[] COLUMN_IDS = new String[]{COL_TICK, COL_MESSAGE};
+ public static final String[] COLUMN_IDS = new String[]{COL_TICK, COL_BYTES, COL_COMMAND, COL_CHANNEL};
+
+ /**
+ * Initial columns
+ */
+ public static final String[] COLUMN_INITIAL = new String[]{COL_TICK, COL_BYTES};
/**
* Column presentation ID.
@@ -49,8 +56,14 @@ public class TrackColumnPresentation extends AbstractColumnPresentation {
if (COL_TICK.equals(id)) {
return "Tick";
}
- if (COL_MESSAGE.equals(id)) {
- return "Message";
+ if (COL_BYTES.equals(id)) {
+ return "Bytes";
+ }
+ if (COL_CHANNEL.equals(id)) {
+ return "Channel";
+ }
+ if (COL_COMMAND.equals(id)) {
+ return "Command";
}
return "";
}
@@ -66,7 +79,7 @@ public class TrackColumnPresentation extends AbstractColumnPresentation {
* @see org.eclipse.debug.internal.ui.viewers.model.provisional.IColumnPresentation#getInitialColumns()
*/
public String[] getInitialColumns() {
- return COLUMN_IDS;
+ return COLUMN_INITIAL;
}
/* (non-Javadoc)

Back to the top