You are viewing the RapidMiner Developers documentation for version 9.1 -Check here for latest version
Advanced Enhancements
如果简单的操作符不符合您的需求,有一个re several more advanced possibilities to enhance RapidMiner Studio. Learnhow to use the PluginInit classto change some of RapidMiner's behavior during startup, before any operator is executed, and how to:
- build a super operator
- create your own data objects
- make custom configurators
- create custom graphical elements
The PluginInit class
The class offers hooks for changing RapidMiner's behavior during startup. RapidMiner automatically creates the classPluginInit
when you initialize your extension. It does not have to extend any super class, since its methods are accessed via reflection. There are four methods that are called during startup of RapidMiner. The following might be interesting for you:
public static void initPlugin()
TheinitPlugin
method is called directly after the extension is initialized. It is the first hook during start up. No initialization of the operators or renderers has taken place when this is called.
public static void initGui(MainFrame mainframe)
TheinitGui
method, called before the GUI of the mainframe is created, is called during start up as the second hook. TheMainFrame
is passed as an argument to register GUI elements, while the operators and renderers are registered.
public static void initFinalChecks()
initFinalChecks
is the last hook before the splash screen closes.
If you install your extension on RapidMiner Server, the only method called during startup isinitPlugin
.