public class UIPluginContext
extends org.processmining.framework.plugin.impl.AbstractPluginContext
Modifier | Constructor and Description |
---|---|
protected |
UIPluginContext(UIPluginContext context,
java.lang.String label) |
Modifier and Type | Method and Description |
---|---|
UIPluginContext |
createChildContext(java.lang.String label)
Returns a new plugin context instance, which can be used to invoke other
plugins.
|
protected org.processmining.framework.plugin.PluginContext |
createTypedChildContext(java.lang.String label) |
java.util.concurrent.Executor |
getExecutor()
Returns an executor which can be used to execute plugins in child
contexts.
|
UIContext |
getGlobalContext() |
org.processmining.framework.plugin.Progress |
getProgress()
Returns the progress object corresponding to this context
|
UIPluginContext |
getRootContext()
Returns the root plugin context.
|
ProMTask |
getTask()
Return the task being executed in this PluginContext; useful for registering new resources with this task.
|
java.io.File |
openFile(javax.swing.filechooser.FileFilter filter) |
java.io.File[] |
openFiles(javax.swing.filechooser.FileFilter filter) |
java.io.File |
saveFile(java.lang.String defaultExtension,
java.lang.String... extensions) |
void |
setTask(ProMTask task) |
org.deckfour.uitopia.api.event.TaskListener.InteractionResult |
showConfiguration(java.lang.String title,
javax.swing.JComponent configuration) |
org.deckfour.uitopia.api.event.TaskListener.InteractionResult |
showWizard(java.lang.String title,
boolean first,
boolean last,
javax.swing.JComponent configuration) |
addConnection, clear, createNewPluginContextID, deleteChild, equals, getChildContexts, getConnectionManager, getFutureResult, getID, getLabel, getLoggingListeners, getParentContext, getPluginContextType, getPluginDescriptor, getPluginLifeCycleEventListeners, getPluginManager, getProgressEventListeners, getProvidedObjectManager, getResult, hasPluginDescriptorInPath, invokeBinding, invokePlugin, isDistantChildOf, log, log, log, setFuture, setPluginDescriptor, toString, tryToFindOrConstructAllObjects, tryToFindOrConstructFirstNamedObject, tryToFindOrConstructFirstObject
protected UIPluginContext(UIPluginContext context, java.lang.String label)
protected org.processmining.framework.plugin.PluginContext createTypedChildContext(java.lang.String label)
createTypedChildContext
in class org.processmining.framework.plugin.impl.AbstractPluginContext
public java.util.concurrent.Executor getExecutor()
org.processmining.framework.plugin.PluginContext
public java.io.File openFile(javax.swing.filechooser.FileFilter filter) throws java.io.IOException
java.io.IOException
public java.io.File saveFile(java.lang.String defaultExtension, java.lang.String... extensions) throws java.io.IOException
java.io.IOException
public java.io.File[] openFiles(javax.swing.filechooser.FileFilter filter) throws java.io.IOException
java.io.IOException
public org.processmining.framework.plugin.Progress getProgress()
org.processmining.framework.plugin.PluginContext
getProgress
in interface org.processmining.framework.plugin.PluginContext
getProgress
in class org.processmining.framework.plugin.impl.AbstractPluginContext
public UIContext getGlobalContext()
getGlobalContext
in class org.processmining.framework.plugin.impl.AbstractPluginContext
public UIPluginContext getRootContext()
org.processmining.framework.plugin.PluginContext
getRootContext
in interface org.processmining.framework.plugin.PluginContext
getRootContext
in class org.processmining.framework.plugin.impl.AbstractPluginContext
public void setTask(ProMTask task)
public ProMTask getTask()
public org.deckfour.uitopia.api.event.TaskListener.InteractionResult showConfiguration(java.lang.String title, javax.swing.JComponent configuration)
public org.deckfour.uitopia.api.event.TaskListener.InteractionResult showWizard(java.lang.String title, boolean first, boolean last, javax.swing.JComponent configuration)
public UIPluginContext createChildContext(java.lang.String label)
org.processmining.framework.plugin.PluginContext
createChildContext
in interface org.processmining.framework.plugin.PluginContext
createChildContext
in class org.processmining.framework.plugin.impl.AbstractPluginContext