public interface IGUIPlugin
IGUIPlugins can be used to display information about an IAlgorithm or its behavior in an AlgorithmVisualizationWindow. Such a plugin consists of an IGUIPluginController responsible for handling
GUIEvents provided by the underlying window and PropertyProcessedAlgorithmEvents which are constructed from the AlgorithmEvents provided by the underlying IAlgorithm based on the information computed by
AlgorithmEventPropertyComputers. Furthermore, an IGUIPlugin has an IGUIPluginModel which serves as the model for the actual view, i.e. the IGUIPluginView, which is the last part of such a plugin. The
IGUIPluginView is responsible for creating the actually displayable content.| Modifier and Type | Method and Description |
|---|---|
IGUIPluginController |
getController()
Returns the underlying
IGUIPluginController. |
IGUIPluginModel |
getModel()
Returns the underlying
IGUIPluginModel. |
IGUIPluginView |
getView()
Returns the underlying
IGUIPluginView. |
void |
setAlgorithmEventSource(PropertyProcessedAlgorithmEventSource propertyProcessedAlgorithmEventSource)
Sets the
PropertyProcessedAlgorithmEventSource yielding PropertyProcessedAlgorithmEvents which are handled by the IGUIPluginController. |
void |
setGUIEventSource(GUIEventSource guiEventSource)
|
IGUIPluginController getController()
IGUIPluginController.IGUIPluginController.IGUIPluginModel getModel()
IGUIPluginModel.IGUIPluginModel.IGUIPluginView getView()
IGUIPluginView.IGUIPluginView.void setAlgorithmEventSource(PropertyProcessedAlgorithmEventSource propertyProcessedAlgorithmEventSource)
PropertyProcessedAlgorithmEventSource yielding PropertyProcessedAlgorithmEvents which are handled by the IGUIPluginController.propertyProcessedAlgorithmEventSource - The PropertyProcessedAlgorithmEventSource yielding PropertyProcessedAlgorithmEvents which are handled by the IGUIPluginController.void setGUIEventSource(GUIEventSource guiEventSource)
guiEventSource - The GUIEventSource yielding GUIEvents which are handled by the IGUIPluginController.