-
- } else if (command == "Add") {
-
- } else if (command == "Delete") {
-
- } else if (command == "Copy track") {
-
- } else if (command == "Move") {
-
- } else if (command == "Insert Measure...") {
-
- } else if (command == "Delete Measure...") {
-
- } else if (command == "Time Signature...") {
-
- } else if (command == "Tempo...") {
-
- } else if (command == "Scale Velocity...") {
+ MooDialog newDialog = new MooDialog(MooDialog.JUMP);
+ // Moosique.setPosition(???); Räkna ut från msr, beats, ticks, time sig.
+ } else if (command == "Add track...") {
+ MooDialog newDialog = new MooDialog(MooDialog.ADD_TRACK);
+ Moosique.getSequence().createTrack();
+ } else if (command == "Delete track...") {
+
+ MooDialog newDialog = new MooDialog(MooDialog.DELETE_TRACK);
+
+ /* Let the user select a track from a list.
+ seq = Moosique.getSequence();
+ seq.deleteTrack(seq.getTracks()[NUMBER]);
+ */
+ } else if (command == "Copy track...") {
+ MooDialog newDialog = new MooDialog(MooDialog.COPY_TRACK);
+ } else if (command == "Move track...") {
+ MooDialog newDialog = new MooDialog(MooDialog.MOVE_TRACK);
+ } else if (command == "Insert measure...") {
+ MooDialog newDialog = new MooDialog(MooDialog.INSERT_MEASURE);
+ } else if (command == "Delete measure...") {
+ MooDialog newDialog = new MooDialog(MooDialog.DELETE_MEASURE);
+ } else if (command == "Set time signature...") {
+
+ } else if (command == "Set tempo...") {
+
+ } else if (command == "Scale velocity...") {