public interface GralPlugUser_ifc
extends java.io.Closeable
| Modifier and Type | Field and Description |
|---|---|
static int |
version
Version, history and license.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addGuiMenu(GralWindow_ifc wind)
This routine can be implemented to add some specific menu entries.
|
void |
changedView(java.lang.String sTitle,
int cmd)
This method is called if the view is changed.
|
void |
init(GralPlugUser2Gral_ifc plugUser2Gui,
GralMng gralMng,
java.util.Map<java.lang.String,java.lang.String> dataReplacement,
GuiCallingArgs args,
LogMessage log)
This is the first routine that will be called for the plugin.
|
void |
initGui(GralMng gralMng)
This routine can be implemented to add some graphic elements to the gui, including special windows.
|
void |
registerMethods(GralMngBuild_ifc guiMng) |
static final int version
void init(GralPlugUser2Gral_ifc plugUser2Gui, GralMng gralMng, java.util.Map<java.lang.String,java.lang.String> dataReplacement, GuiCallingArgs args, LogMessage log)
GuiCfg.userInit() or any of its derivation
in the constructor of org.vishia.gral.cfg.GuiCfg#GuiCfg(org.vishia.gral.area9.GuiCallingArgs, org.vishia.gral.area9.GralArea9MainCmd, GralPlugUser2Gral_ifc)
in the main thread, not in the graphic thread.plugUser2Gui - Access from the plugin to the Gui main implementation. It is offer to use.gralMng - dataReplacement - info about alias for some data paths, application-specific. See GralCfgData.dataReplacelog - void registerMethods(GralMngBuild_ifc guiMng)
void changedView(java.lang.String sTitle,
int cmd)
sTitle - title of a window or panel.cmd - any command. TODO what.void initGui(GralMng gralMng)
gralMng - void addGuiMenu(GralWindow_ifc wind)
wind - The main window access