public class ImportHandler
extends AbstractHandler
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
IMPORT_AUDIO_FILES_ID |
static java.lang.String |
IMPORT_PATTERNS_ID |
Constructor and Description |
---|
ImportHandler() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
execute(ExecutionEvent event) |
java.lang.Object |
importAudioFiles(ExecutionEvent event)
This will pop open a "Load" dialog, allowing a user to select
multiple files which will be loaded into the esx workspace if there
are available/unused sample slots.
|
static void |
importAudioFiles(IWorkbenchWindow window,
java.lang.String[] files)
Attempts to add audio files specified by filePaths to the esx editor
workspace.
|
java.lang.Object |
importPatterns(ExecutionEvent event)
This will open a wizard allowing the user to select an .esx
file, then choose which patterns to import.
|
public static final java.lang.String IMPORT_AUDIO_FILES_ID
public static final java.lang.String IMPORT_PATTERNS_ID
public java.lang.Object execute(ExecutionEvent event) throws ExecutionException
ExecutionException
public java.lang.Object importAudioFiles(ExecutionEvent event) throws ExecutionException
ExecutionException
public static void importAudioFiles(IWorkbenchWindow window, java.lang.String[] files)
workbench
- files
- public java.lang.Object importPatterns(ExecutionEvent event) throws ExecutionException
ExecutionException