Class ProMActionManager

java.lang.Object
org.processmining.contexts.uitopia.hub.ProMActionManager
All Implemented Interfaces:
EventListener, org.deckfour.uitopia.api.hub.ActionManager<ProMAction>, PluginManager.PluginManagerListener

public class ProMActionManager extends Object implements org.deckfour.uitopia.api.hub.ActionManager<ProMAction>, PluginManager.PluginManagerListener
  • Method Details

    • initialize

      public static ProMActionManager initialize(UIContext context)
    • getActions

      public List<ProMAction> getActions(List<org.deckfour.uitopia.api.model.ResourceType> input, List<org.deckfour.uitopia.api.model.ResourceType> output)
      Returns a list of actions, such that these actions accepts all given input resources and result in at least on of the output resources.
      Specified by:
      getActions in interface org.deckfour.uitopia.api.hub.ActionManager<ProMAction>
    • getActions

      public List<ProMAction> getActions(List<org.deckfour.uitopia.api.model.ResourceType> parameters, List<org.deckfour.uitopia.api.model.ResourceType> requiredOutput, org.deckfour.uitopia.api.model.ActionType type)
      Specified by:
      getActions in interface org.deckfour.uitopia.api.hub.ActionManager<ProMAction>
    • getActions

      public List<ProMAction> getActions()
      Specified by:
      getActions in interface org.deckfour.uitopia.api.hub.ActionManager<ProMAction>
    • error

      public void error(URL source, Throwable t, String className)
      Description copied from interface: PluginManager.PluginManagerListener
      Listen for errors which occur while registering packages and scanning for plugins.
      Specified by:
      error in interface PluginManager.PluginManagerListener
      Parameters:
      source - The URL which was being registered while this error occurred
      t - The error which occurred
      className - The class name of the class which was being registered, may be null
    • newPlugin

      public void newPlugin(PluginDescriptor plugin, Collection<Class<?>> newTypes)
      Description copied from interface: PluginManager.PluginManagerListener
      Listen for plugins that are registered to the manager. Every time a PluginDescriptor is added to the manager, an event is generated.
      Specified by:
      newPlugin in interface PluginManager.PluginManagerListener