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, tryToFindOrConstructFirstObjectprotected 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.AbstractPluginContextpublic java.util.concurrent.Executor getExecutor()
org.processmining.framework.plugin.PluginContextpublic java.io.File openFile(javax.swing.filechooser.FileFilter filter)
throws java.io.IOException
java.io.IOExceptionpublic java.io.File saveFile(java.lang.String defaultExtension,
java.lang.String... extensions)
throws java.io.IOException
java.io.IOExceptionpublic java.io.File[] openFiles(javax.swing.filechooser.FileFilter filter)
throws java.io.IOException
java.io.IOExceptionpublic org.processmining.framework.plugin.Progress getProgress()
org.processmining.framework.plugin.PluginContextgetProgress in interface org.processmining.framework.plugin.PluginContextgetProgress in class org.processmining.framework.plugin.impl.AbstractPluginContextpublic UIContext getGlobalContext()
getGlobalContext in class org.processmining.framework.plugin.impl.AbstractPluginContextpublic UIPluginContext getRootContext()
org.processmining.framework.plugin.PluginContextgetRootContext in interface org.processmining.framework.plugin.PluginContextgetRootContext in class org.processmining.framework.plugin.impl.AbstractPluginContextpublic 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.PluginContextcreateChildContext in interface org.processmining.framework.plugin.PluginContextcreateChildContext in class org.processmining.framework.plugin.impl.AbstractPluginContext