Package | Description |
---|---|
org.youscope.addon.component | |
org.youscope.addon.measurement | |
org.youscope.clientinterfaces | |
org.youscope.plugin.customjob | |
org.youscope.uielements |
Modifier and Type | Class and Description |
---|---|
class |
ComponentMetadataAdapter<C extends Configuration>
Adapter class to simplify the construction of custom metadata for configurations.
|
class |
GenericComponentMetadata<C extends Configuration>
Helper class to construct configuration metadata.
|
Modifier and Type | Method and Description |
---|---|
ComponentMetadata<C> |
ComponentAddonUI.getAddonMetadata() |
ComponentMetadata<?> |
ComponentAddonFactoryAdapter.getComponentMetadata(java.lang.String typeIdentifier) |
ComponentMetadata<?> |
ComponentAddonFactory.getComponentMetadata(java.lang.String typeIdentifier)
Returns the metadata (like human readable name) for a given configuration type.
|
Modifier and Type | Method and Description |
---|---|
<C extends Configuration> |
ComponentAddonFactoryAdapter.addAddon(java.lang.Class<? extends ComponentAddonUI<C>> configurationAddonClass,
java.lang.Class<? extends Component> componentClass,
ComponentMetadata<C> metadata)
Adds an addon with an own UI, but automatic component creation by appropriate constructors of the component.
|
<C extends Configuration> |
ComponentAddonFactoryAdapter.addAddon(java.lang.Class<? extends ComponentAddonUI<C>> configurationAddonClass,
CustomAddonCreator<C,?> customCreator,
ComponentMetadata<C> metadata)
Adds an addon which does component creation on its own, as well as has an own UI.
|
Constructor and Description |
---|
ComponentAddonFactoryAdapter(java.lang.Class<? extends ComponentAddonUI<C>> configurationAddonClass,
java.lang.Class<? extends Component> componentClass,
ComponentMetadata<C> metadata)
Constructor.
|
ComponentAddonFactoryAdapter(java.lang.Class<? extends ComponentAddonUI<C>> configurationAddonClass,
CustomAddonCreator<C,?> customCreator,
ComponentMetadata<C> metadata)
Constructor.
|
ComponentAddonUIAdapter(ComponentMetadata<C> metadata,
YouScopeClient client,
YouScopeServer server)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
ComponentMetadata<? extends MeasurementConfiguration> |
MeasurementAddonFactoryAdapter.getComponentMetadata(java.lang.String typeIdentifier) |
ComponentMetadata<? extends MeasurementConfiguration> |
MeasurementAddonFactory.getComponentMetadata(java.lang.String typeIdentifier)
Returns the metadata (like human readable name) for a given measurement type.
|
Modifier and Type | Method and Description |
---|---|
<C extends MeasurementConfiguration> |
MeasurementAddonFactoryAdapter.addAddon(java.lang.Class<? extends ComponentAddonUI<C>> configurationAddonClass,
MeasurementInitializer<C> customInitializer,
ComponentMetadata<C> metadata)
Adds an addon.
|
Constructor and Description |
---|
MeasurementAddonFactoryAdapter(java.lang.Class<? extends ComponentAddonUI<C>> configurationAddonClass,
MeasurementInitializer<C> customInitializer,
ComponentMetadata<C> metadata)
Constructor.
|
MeasurementAddonUIAdapter(ComponentMetadata<T> metadata,
YouScopeClient client,
YouScopeServer server)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
ComponentMetadata<?> |
ClientAddonProvider.getComponentMetadata(java.lang.String typeIdentifier)
Returns the metadata of the component having the given type identifier
|
<T extends Configuration> |
ClientAddonProvider.getComponentMetadata(java.lang.String typeIdentifier,
java.lang.Class<T> configurationClass)
Returns the metadata of the component having the given type identifier, with the component producing/consuming the given type of configurations.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<ComponentMetadata<?>> |
ClientAddonProvider.getComponentMetadata()
Returns the metadata of all components.
|
<T extends Configuration> |
ClientAddonProvider.getComponentMetadata(java.lang.Class<T> configurationClass)
Returns the metadata of all components being able to produce or consume sub-class of the provided configuration class.
|
Modifier and Type | Method and Description |
---|---|
<T extends Configuration> |
ClientAddonProvider.createComponentUI(ComponentMetadata<T> metadata)
Creates an component addon user interface compatible with the configuration metadata.
|
Modifier and Type | Method and Description |
---|---|
ComponentMetadata<?> |
CustomJobAddonFactory.getComponentMetadata(java.lang.String typeIdentifier) |
Modifier and Type | Method and Description |
---|---|
ComponentMetadata<? extends C> |
SingleComponentDefinitionPanel.getConfigurationMetadata()
Returns the metadata of the currently active configuration, or null if no addon is available.
|
ComponentMetadata<? extends C> |
ComponentComboBox.getSelectedElement()
Returns the currently selected component, or null if no component is selected.
|
Modifier and Type | Method and Description |
---|---|
void |
ComponentComboBox.setSelectedElement(ComponentMetadata<? extends C> element)
Sets the currently selected element.
|
Constructor and Description |
---|
ComponentComboBox(java.lang.Class<C> configurationClass,
ComponentMetadata<? extends C>[] componentMetadata)
Constructs a new combo box with all components added being passed as a parameter.
|