public class ServiceUtilities extends Object
GeneiousServices.| Modifier and Type | Method and Description |
|---|---|
static WritableDatabaseService |
getResultsDestination()
Get the service to which results of the current operation will be saved.
|
static GeneiousService |
getSelectedService()
Get the currently selected service in the Geneious service tree on the left-hand side of the main window.
|
static GeneiousService |
getService(String uniqueId)
|
static WritableDatabaseService |
getUserSelectedFolder(Component anyComponentInParentFrame)
Opens a dialog in which the user can choose one of their local database folders.
|
static void |
waitForGeneiousServiceInitializationToComplete()
Waits until all GeneiousServices have been initialized.
|
public static GeneiousService getSelectedService()
public static WritableDatabaseService getResultsDestination()
public static WritableDatabaseService getUserSelectedFolder(Component anyComponentInParentFrame)
anyComponentInParentFrame - a component whose parent frame will become the parent frame for the dialog (pass in null to use the Geneious main frame)public static void waitForGeneiousServiceInitializationToComplete()
GeneiousService.initialize(com.biomatters.geneious.publicapi.plugin.GeneiousServiceListener)
has completed for all currently existing services.
This method may not be called from the event dispatch thread.public static GeneiousService getService(String uniqueId)
uniqueId - a unique ID as described above or the unique ID returned from any GeneiousService.getUniqueID()PluginUtilities.getGeneiousService(String)