public class PythonPluginApplicationSettings extends JIPipeDefaultApplicationsSettingsSheet implements JIPipeExternalEnvironmentSettings
JIPipeParameterCollection.ParameterChangedEvent, JIPipeParameterCollection.ParameterChangedEventEmitter, JIPipeParameterCollection.ParameterChangedEventListener, JIPipeParameterCollection.ParameterStructureChangedEvent, JIPipeParameterCollection.ParameterStructureChangedEventEmitter, JIPipeParameterCollection.ParameterStructureChangedEventListener, JIPipeParameterCollection.ParameterUIChangedEvent, JIPipeParameterCollection.ParameterUIChangedEventEmitter, JIPipeParameterCollection.ParameterUIChangedEventListener
Constructor and Description |
---|
PythonPluginApplicationSettings() |
Modifier and Type | Method and Description |
---|---|
JIPipeDefaultApplicationSettingsSheetCategory |
getDefaultCategory()
Returns one of the predefined categories
|
OptionalPythonEnvironment |
getDefaultEnvironment() |
String |
getDescription()
Description of this settings sheet
|
Icon |
getIcon()
The icon of the settings sheet
|
String |
getId()
The unique ID of the settings sheet
|
static PythonPluginApplicationSettings |
getInstance() |
String |
getName()
The name of the settings sheet as displayed in the UI
|
PythonEnvironment.List |
getPresets() |
List<JIPipeEnvironment> |
getPresetsListInterface(Class<?> environmentClass)
Returns the presets.
|
PythonEnvironment |
getReadOnlyDefaultEnvironment()
Gets the (standard) default Python environment
|
void |
setDefaultEnvironment(OptionalPythonEnvironment defaultEnvironment) |
void |
setPresets(PythonEnvironment.List presets) |
void |
setPresetsListInterface(List<JIPipeEnvironment> presets,
Class<?> environmentClass)
Sets the presets
This is an interface class for easy access
|
getCategory, getCategoryIcon
getParameterChangedEventEmitter, getParameterStructureChangedEventEmitter, getParameterUIChangedEventEmitter, onParameterChanged, onParameterStructureChanged, onParameterUIChanged, registerSubParameter, registerSubParameters
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
deserializeFromJsonNode, emitParameterChangedEvent, emitParameterStructureChangedEvent, emitParameterUIChangedEvent, getContextActions, getParameter, getParameterAccess, getParameterChangedEventEmitter, getParameterStructureChangedEventEmitter, getParameterUIChangedEventEmitter, installUIOverrideParameterEditor, installUIParameterOptions, isParameterUIVisible, isParameterUIVisible, serializeToJsonFile, serializeToJsonGenerator, serializeToJsonString, setParameter
public static String ID
public static PythonPluginApplicationSettings getInstance()
public PythonEnvironment getReadOnlyDefaultEnvironment()
public PythonEnvironment.List getPresets()
public void setPresets(PythonEnvironment.List presets)
public OptionalPythonEnvironment getDefaultEnvironment()
public void setDefaultEnvironment(OptionalPythonEnvironment defaultEnvironment)
public List<JIPipeEnvironment> getPresetsListInterface(Class<?> environmentClass)
JIPipeExternalEnvironmentSettings
getPresetsListInterface
in interface JIPipeExternalEnvironmentSettings
public void setPresetsListInterface(List<JIPipeEnvironment> presets, Class<?> environmentClass)
JIPipeExternalEnvironmentSettings
setPresetsListInterface
in interface JIPipeExternalEnvironmentSettings
presets
- the presetspublic JIPipeDefaultApplicationSettingsSheetCategory getDefaultCategory()
JIPipeDefaultApplicationsSettingsSheet
getDefaultCategory
in class JIPipeDefaultApplicationsSettingsSheet
public String getId()
JIPipeSettingsSheet
getId
in interface JIPipeSettingsSheet
public Icon getIcon()
JIPipeSettingsSheet
getIcon
in interface JIPipeSettingsSheet
public String getName()
JIPipeSettingsSheet
getName
in interface JIPipeSettingsSheet
public String getDescription()
JIPipeSettingsSheet
getDescription
in interface JIPipeSettingsSheet
Copyright © 2020–2025 Leibniz Institute for Natural Product Research and Infection Biology - Hans Knöll Institute (HKI). All rights reserved.