public class ProvidedObjectHelper
extends java.lang.Object
| Constructor and Description |
|---|
ProvidedObjectHelper() |
| Modifier and Type | Method and Description |
|---|---|
static void |
changeProvidedObjectName(org.processmining.framework.plugin.PluginContext context,
java.lang.Object obj,
java.lang.String newName)
Rename the provided object
|
static java.lang.String |
getProvidedObjectLabel(org.processmining.framework.plugin.PluginContext context,
java.lang.Object obj)
Returns the label of the provided object
|
static <T> java.util.Collection<T> |
getProvidedObjects(org.processmining.framework.plugin.PluginContext context,
java.lang.Class<T> clazz)
List all the provided objects of the type
|
static <T> void |
publish(org.processmining.framework.plugin.PluginContext context,
java.lang.String name,
T object,
java.lang.Class<? super T> clazz,
boolean favorite)
Will publish object as a provided object with the class specified by
clazz.
|
static void |
raise(org.processmining.framework.plugin.PluginContext context,
java.lang.Object object)
Show the visualizer for the provided object
|
static void |
setFavorite(org.processmining.framework.plugin.PluginContext context,
java.lang.Object object) |
static void |
setFavorite(org.processmining.framework.plugin.PluginContext context,
java.lang.Object object,
boolean favorite) |
public static <T> void publish(org.processmining.framework.plugin.PluginContext context,
java.lang.String name,
T object,
java.lang.Class<? super T> clazz,
boolean favorite)
T - context - name - object - clazz - favorite - public static void raise(org.processmining.framework.plugin.PluginContext context,
java.lang.Object object)
context - object - public static void setFavorite(org.processmining.framework.plugin.PluginContext context,
java.lang.Object object)
context - object - public static void setFavorite(org.processmining.framework.plugin.PluginContext context,
java.lang.Object object,
boolean favorite)
context - object - favorite - public static <T> java.util.Collection<T> getProvidedObjects(org.processmining.framework.plugin.PluginContext context,
java.lang.Class<T> clazz)
context - clazz - public static void changeProvidedObjectName(org.processmining.framework.plugin.PluginContext context,
java.lang.Object obj,
java.lang.String newName)
context - obj - the object instancenewName - public static java.lang.String getProvidedObjectLabel(org.processmining.framework.plugin.PluginContext context,
java.lang.Object obj)
context - obj -