Class UIPluginContext
java.lang.Object
org.processmining.framework.plugin.impl.AbstractPluginContext
org.processmining.contexts.uitopia.UIPluginContext
- All Implemented Interfaces:
GlobalContext
,ObjectConstructor
,PluginContext
-
Field Summary
Fields inherited from class org.processmining.framework.plugin.impl.AbstractPluginContext
progress
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateChildContext
(String label) Returns a new plugin context instance, which can be used to invoke other plugins.protected PluginContext
createTypedChildContext
(String label) Returns an executor which can be used to execute plugins in child contexts.Returns the progress object corresponding to this contextReturns the root plugin context.getTask()
Return the task being executed in this PluginContext; useful for registering new resources with this task.openFile
(FileFilter filter) File[]
openFiles
(FileFilter filter) void
org.deckfour.uitopia.api.event.TaskListener.InteractionResult
showConfiguration
(String title, JComponent configuration) org.deckfour.uitopia.api.event.TaskListener.InteractionResult
showWizard
(String title, boolean first, boolean last, JComponent configuration) Methods inherited from class org.processmining.framework.plugin.impl.AbstractPluginContext
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
-
Constructor Details
-
UIPluginContext
-
-
Method Details
-
createTypedChildContext
- Specified by:
createTypedChildContext
in classAbstractPluginContext
-
getExecutor
Description copied from interface:PluginContext
Returns an executor which can be used to execute plugins in child contexts.- Returns:
-
openFile
- Throws:
IOException
-
saveFile
- Throws:
IOException
-
openFiles
- Throws:
IOException
-
getProgress
Description copied from interface:PluginContext
Returns the progress object corresponding to this context- Specified by:
getProgress
in interfacePluginContext
- Overrides:
getProgress
in classAbstractPluginContext
- Returns:
- the progress object corresponding to this context
-
getGlobalContext
- Overrides:
getGlobalContext
in classAbstractPluginContext
-
getRootContext
Description copied from interface:PluginContext
Returns the root plugin context. This is an instance of PluginContext of which all other contexts are distant childs.- Specified by:
getRootContext
in interfacePluginContext
- Overrides:
getRootContext
in classAbstractPluginContext
- Returns:
-
setTask
-
getTask
Return the task being executed in this PluginContext; useful for registering new resources with this task.- Returns:
- the task
-
showConfiguration
public org.deckfour.uitopia.api.event.TaskListener.InteractionResult showConfiguration(String title, JComponent configuration) -
showWizard
public org.deckfour.uitopia.api.event.TaskListener.InteractionResult showWizard(String title, boolean first, boolean last, JComponent configuration) -
createChildContext
Description copied from interface:PluginContext
Returns a new plugin context instance, which can be used to invoke other plugins.- Specified by:
createChildContext
in interfacePluginContext
- Overrides:
createChildContext
in classAbstractPluginContext
- Returns:
- the new plugin context instance
-