like RActionAdapter:
function EAction(guiAction) { RActionAdapter.call(this); this.guiAction = guiAction; if (!isNull(guiAction)) { this.setGuiAction(guiAction); } // Constructor is called without arguments to create prototype // for derived class. At this point, includeBasePath is set correctly: if (isNull(guiAction)) { this.includeBasePath = includeBasePath; } this.state = undefined; this.settingsGroup = undefined; this.uiFile = undefined; this.splitUiOptions = false; this.additionalOptionsToolBars = undefined; this.optionsToolBarEnabled = true; this.relativeZeroPos = undefined; }