public class ExportHandler
extends AbstractHandler
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
EXPORT_ALL_AUDIO_FILES_ID |
Constructor and Description |
---|
ExportHandler() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
execute(ExecutionEvent event) |
java.lang.Object |
exportAllAudioFiles(ExecutionEvent event)
This will pop open a "Choose directory" dialog, allowing a user to
select the folder in which all the .wav files will be exported to.
|
static void |
exportAudioFilesToDirectory(IWorkbench workbench,
java.lang.String directory)
Attempts to export .wav files to the given directory.
|
public static final java.lang.String EXPORT_ALL_AUDIO_FILES_ID
public java.lang.Object execute(ExecutionEvent event) throws ExecutionException
ExecutionException
public java.lang.Object exportAllAudioFiles(ExecutionEvent event) throws ExecutionException
event
- ExecutionException
public static void exportAudioFilesToDirectory(IWorkbench workbench, java.lang.String directory)
workbench
- directory
- A valid, non-null path to the directory in which .wav files will be exported to