Skip to main content

ModelCenter APIs 2026 R1 SP03

IDataExplorerPlugIn

Last update: 30.07.2026

interface IDataExplorerPlugIn

This is the interface that must be implemented by all Java Data Explorer plug-ins for ModelCenter. Please note that due to an issue in Java 8, we do not explicitly override toString here, but you still need to implement it.

Functions

Name Summary
construct abstract fun construct(dhid: Long, freeDaX: Boolean, dialogParent: JFrame, pluginid: Int, dh: DataHistory, mc: ModelCenter, context: String): Container
Construct your plug-in.
dataChanged abstract fun dataChanged(varIndex: Long, runIndex: Long)
Called by the Data Explorer to notify the plug-in that the data in the DataHistory has changed.
exportImage abstract fun exportImage(hints: String, filename: String)
Tells the plug-in to export an image to a file.
fromString abstract fun fromString(s: String)
Called to restore the state of a Plug-In.
getPageTitle abstract fun getPageTitle(): String
Called by the Data Explorer to get the plug-in title.
getRequiredLicense abstract fun getRequiredLicense(): String
If this plot needs a license to operate, return the feature name in this function and ModelCenter will check it out for you.
getThumbnail abstract fun getThumbnail(hints: String): String
Called by the Data Explorer to get the name of a file that contains the thumbnail image.
invokeMenuItem abstract fun invokeMenuItem(id: Int)
Called by the Data Explorer to notify the plug-in that a user has selected a menu item.
onEnd abstract fun onEnd()
Called by the Data Explorer to notify the plug-in that it is about to be destroyed
progressMeterStop abstract fun progressMeterStop()
Called by the Data Explorer to notify the plug-in that its progress meter has stopped
variablesChanged abstract fun variablesChanged()
Called by the Data Explorer to notify the plug-in that the variables in the DataHistory have changed.

Connect with Ansys