Class GeneiousServiceWithPanel
- java.lang.Object
-
- com.biomatters.geneious.publicapi.plugin.GeneiousService
-
- com.biomatters.geneious.publicapi.plugin.GeneiousServiceWithPanel
-
- Direct Known Subclasses:
SequenceDatabaseSuperService
public abstract class GeneiousServiceWithPanel extends GeneiousService
This is a GeneiousService that displays a custom panel in Geneious when the service is selected.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.biomatters.geneious.publicapi.plugin.GeneiousService
GeneiousService.ServiceStatus
-
-
Field Summary
-
Fields inherited from class com.biomatters.geneious.publicapi.plugin.GeneiousService
SERVICE_TREE_LABEL_FAINTER_END, SERVICE_TREE_LABEL_FAINTER_START
-
-
Constructor Summary
Constructors Constructor Description GeneiousServiceWithPanel()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description ExtendedPrintable
getExtendedPrintable()
You may optionally return anExtendedPrintable
to print the content displayed on the panel.abstract javax.swing.JPanel
getPanel()
A panel that is displayed when this service is selected.-
Methods inherited from class com.biomatters.geneious.publicapi.plugin.GeneiousService
_shutdown, addGeneiousServiceListener, addWeakGeneiousServiceListener, canShutdown, getActionsAlwaysEnabled, getActionsEnabledWhenServiceSelected, getChildServices, getDescription, getFullPath, getGeneiousServiceListener, getHelp, getIcons, getName, getNameForSorting, getParentService, getPreferences, getServiceTreeLabel, getStatus, getUniqueID, hasShutdownOrStartedShuttingDown, initialize, initializeService, isProOnly, removeGeneiousServiceListener, showInServiceTree, shutdown, toString
-
-
-
-
Method Detail
-
getPanel
public abstract javax.swing.JPanel getPanel()
A panel that is displayed when this service is selected. The panel must only be constructed when this function is called and this method will only be called once per service, and will be called in the swing thread.- Returns:
- A panel that is displayed when this service is selected, or null to use a default panel which displays the icon, name and description of the service.
-
getExtendedPrintable
public ExtendedPrintable getExtendedPrintable()
You may optionally return anExtendedPrintable
to print the content displayed on the panel.- Returns:
- An optional
ExtendedPrintable
representing the printable content of the panel - Since:
- API 4.50 (Geneious 5.5.0)
-
-