publish
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)
Will publish object as a provided object with the class specified by
class. If the context is a UIPluginContext and favourite is true, it will
be marked as a favourite object as well. Finally, if it is marked as
Favourite, it will also be show and ProM will switch to the Views tab.
- Type Parameters:
T
-
- Parameters:
context
-
name
-
object
-
clazz
-
favorite
-