Skip to main content

ModelCenter APIs 2025 R2

IComponentPlugIn

Last update: 16.07.2025

interface IComponentPlugIn

This is the interface that must be implemented by all Java 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(mc: ModelCenter, atm: AddToModel)
called when the plug-in is launched from ModelCenter
fromString abstract fun fromString(state: String)
Called to restore the state of a Plug-In.
onEnd abstract fun onEnd()
called when the plug-in is about to be deleted.
run abstract fun run()
called when the plug-in should run
show abstract fun show(): Boolean
called to display the plug-in

Connect with Ansys