Interface IGUIPlugin
-
- All Known Implementing Classes:
ASimpleMVCPlugin,ControlBarGUIPlugin,GraphViewPlugin,NodeInfoGUIPlugin,SolutionPerformanceTimelinePlugin,SpeedSliderGUIPlugin,TimeSliderGUIPlugin
public interface IGUIPluginIGUIPlugins can be used to display information about anIAlgorithmor its behavior in anAlgorithmVisualizationWindow. Such a plugin consists of anIGUIPluginControllerresponsible for handlingGUIEvents provided by the underlying window andPropertyProcessedAlgorithmEvents which are constructed from theAlgorithmEvents provided by the underlyingIAlgorithmbased on the information computed byAlgorithmEventPropertyComputers. Furthermore, anIGUIPluginhas anIGUIPluginModelwhich serves as the model for the actual view, i.e. theIGUIPluginView, which is the last part of such a plugin. TheIGUIPluginViewis responsible for creating the actually displayable content.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IGUIPluginControllergetController()Returns the underlyingIGUIPluginController.IGUIPluginModelgetModel()Returns the underlyingIGUIPluginModel.IGUIPluginViewgetView()Returns the underlyingIGUIPluginView.voidsetAlgorithmEventSource(PropertyProcessedAlgorithmEventSource propertyProcessedAlgorithmEventSource)Sets thePropertyProcessedAlgorithmEventSourceyieldingPropertyProcessedAlgorithmEvents which are handled by theIGUIPluginController.voidsetGUIEventSource(GUIEventSource guiEventSource)
-
-
-
Method Detail
-
getController
IGUIPluginController getController()
Returns the underlyingIGUIPluginController.- Returns:
- The underlying
IGUIPluginController.
-
getModel
IGUIPluginModel getModel()
Returns the underlyingIGUIPluginModel.- Returns:
- The underlying
IGUIPluginModel.
-
getView
IGUIPluginView getView()
Returns the underlyingIGUIPluginView.- Returns:
- The underlying
IGUIPluginView.
-
setAlgorithmEventSource
void setAlgorithmEventSource(PropertyProcessedAlgorithmEventSource propertyProcessedAlgorithmEventSource)
Sets thePropertyProcessedAlgorithmEventSourceyieldingPropertyProcessedAlgorithmEvents which are handled by theIGUIPluginController.- Parameters:
propertyProcessedAlgorithmEventSource- ThePropertyProcessedAlgorithmEventSourceyieldingPropertyProcessedAlgorithmEvents which are handled by theIGUIPluginController.
-
setGUIEventSource
void setGUIEventSource(GUIEventSource guiEventSource)
- Parameters:
guiEventSource- TheGUIEventSourceyieldingGUIEvents which are handled by theIGUIPluginController.
-
-