36 |
private TasksPage tasksPage = new TasksPage(); |
private TasksPage tasksPage = new TasksPage(); |
37 |
private MidiDevicesPage midiDevicesPage = new MidiDevicesPage(); |
private MidiDevicesPage midiDevicesPage = new MidiDevicesPage(); |
38 |
private AudioDevicesPage audioDevicesPage = new AudioDevicesPage(); |
private AudioDevicesPage audioDevicesPage = new AudioDevicesPage(); |
39 |
|
private OrchestrasPage orchestrasPage = new OrchestrasPage(); |
40 |
|
private ManageOrchestrasPage manageOrchestrasPage = new ManageOrchestrasPage(); |
41 |
|
|
42 |
/** Creates a new instance of LeftPane */ |
/** Creates a new instance of LeftPane */ |
43 |
private |
private |
45 |
NavigationPage[] pages = { |
NavigationPage[] pages = { |
46 |
tasksPage, |
tasksPage, |
47 |
midiDevicesPage, |
midiDevicesPage, |
48 |
audioDevicesPage |
audioDevicesPage, |
49 |
|
orchestrasPage, |
50 |
|
manageOrchestrasPage |
51 |
}; |
}; |
52 |
|
|
53 |
setPages(pages); |
setPages(pages); |
57 |
public static LeftPane |
public static LeftPane |
58 |
getLeftPane() { return leftPane; } |
getLeftPane() { return leftPane; } |
59 |
|
|
60 |
|
public OrchestrasPage |
61 |
|
getOrchestrasPage() { return orchestrasPage; } |
62 |
|
|
63 |
/** Shows the <code>TasksPage</code> in the left pane. */ |
/** Shows the <code>TasksPage</code> in the left pane. */ |
64 |
public void |
public void |
65 |
showTasksPage() { getModel().addPage(tasksPage); } |
showTasksPage() { getModel().addPage(tasksPage); } |
71 |
/** Shows the <code>AudioDevicesPage</code> in the left pane. */ |
/** Shows the <code>AudioDevicesPage</code> in the left pane. */ |
72 |
public void |
public void |
73 |
showAudioDevicesPage() { getModel().addPage(audioDevicesPage); } |
showAudioDevicesPage() { getModel().addPage(audioDevicesPage); } |
74 |
|
|
75 |
|
/** Shows the <code>OrchestrasPage</code> in the left pane. */ |
76 |
|
public void |
77 |
|
showOrchestrasPage() { getModel().addPage(orchestrasPage); } |
78 |
|
|
79 |
|
/** Shows the <code>ManageOrchestrasPage</code> in the left pane. */ |
80 |
|
public void |
81 |
|
showManageOrchestrasPage() { getModel().addPage(manageOrchestrasPage); } |
82 |
} |
} |