public class ClientActionHelper extends AbstractClientHelper
Coordinates global and MDI-scoped FormAction instances, builds the action definition
tree from XML configuration, and synchronizes action states with ClientPluginHelper.
| Constructor and Description |
|---|
ClientActionHelper(Client _client)
Constructs a new action helper bound to the specified client context and plugin subsystem.
|
| Modifier and Type | Method and Description |
|---|---|
void |
action_about() |
boolean |
action_changeGuiThemeToDefault_available()
Indicates whether the action to reset the GUI theme to default is currently available.
|
void |
action_changeGuiThemeToDefault()
Resets the user's configured GUI theme back to the platform default.
|
void |
action_changeLocale() |
void |
action_changePW() |
void |
action_exportSystemObjects() |
void |
action_flatlafDefaults() |
void |
action_flatlafInspector(java.awt.event.ActionEvent event)
Triggers the FlatLaf UI inspector for runtime visual debugging of any current UI LAF.
|
void |
action_flushCaches() |
void |
action_groovyConsole() |
boolean |
action_importLicense_available() |
void |
action_importLicense() |
void |
action_importSystemObjects() |
boolean |
action_installDawn_available() |
void |
action_installDawn()
Action installDawn will download the binary fitting to the current os/arch and
call it the "-install $codebase/solstice.ds"
|
void |
action_keys() |
void |
action_openL10n() |
void |
action_quit() |
void |
action_reloadProfile() |
void |
action_reportAnIssue(FormAction action)
Opens the issue report form from the global menu (desktop screenshot).
|
void |
action_reportAnIssueFromMDIElement(FormAction action,
java.awt.event.ActionEvent event)
Opens the issue report form from an MDI element toolbar (captures the specific element).
|
void |
action_saveProfile()
Captures current window geometry and persists profile preferences and session state.
|
void |
action_schemaTool() |
void |
action_serverConsole() |
void |
action_showReportIssueForm(BO sourceBO,
Struktur sourceStruktur,
java.awt.event.ActionEvent ae)
Deprecated.
|
boolean |
action_switchToMultiWindowDesktopManager_available() |
void |
action_switchToMultiWindowDesktopManager() |
boolean |
action_switchToSingleWindowDesktopManager_available() |
void |
action_switchToSingleWindowDesktopManager() |
void |
action_syncNG() |
void |
action_takeScreenshot()
Convenience overload that captures a screenshot without a triggering action event.
|
void |
action_takeScreenshot(java.awt.event.ActionEvent ae)
Captures a screenshot of the currently focused desktop component and exports it as a PNG file.
|
void |
action_toggleBOProperties(FormAction action) |
void |
action_toggleHiddenProperties(FormAction action) |
void |
action_toggleHistory(FormAction action) |
void |
action_zoomIn() |
void |
action_zoomOut() |
void |
action_zoomReset() |
void |
addAction(FormAction fa,
MDIElementI mdie)
Registers an action either globally or scoped to a specific MDI element.
|
void |
checkActionsEnabledStatus()
Evaluates and updates the enablement state of all active actions.
|
java.util.Map<java.lang.String,FormAction> |
getActions()
Deprecated.
|
java.util.Map<java.lang.String,FormAction> |
getAllActions()
Returns all registered actions, including local and global definitions.
|
java.util.Map<java.lang.String,FormAction> |
getGlobalActions(FormContextI ftx)
Resolves all global actions applicable within the specified form context.
|
void |
initActElRoot()
Parses and initializes the root action definition tree from its XML configuration.
|
void |
initActions()
Schedules action re-initialization on the Event Dispatch Thread (EDT).
|
void |
initActionsOnEDT()
Rebuilds the action hierarchy on the Event Dispatch Thread (EDT).
|
boolean |
isIssueReportFormEnabled() |
void |
refreshActions()
Asynchronously refreshes the state and enablement of all registered actions on the EDT.
|
void |
refreshActionsOnEDT(boolean sync)
Refreshes the state and enablement of all registered actions on the EDT.
|
void |
removeAction(FormAction fa,
MDIElementI mdie)
Unregisters an action either globally or from a specific MDI element scope.
|
void |
setActions(java.util.HashMap<java.lang.String,FormAction> m)
Deprecated.
|
void |
setAllActions(java.util.LinkedHashMap<java.lang.String,FormAction> m)
Deprecated.
|
clientpublic ClientActionHelper(Client _client)
_ctx - client runtime context@Deprecated public java.util.Map<java.lang.String,FormAction> getActions()
@Deprecated public void setActions(java.util.HashMap<java.lang.String,FormAction> m)
m - map of action identifiers to form actionspublic java.util.Map<java.lang.String,FormAction> getAllActions()
@Deprecated public void setAllActions(java.util.LinkedHashMap<java.lang.String,FormAction> m)
m - ordered map of action identifiers to form actionspublic java.util.Map<java.lang.String,FormAction> getGlobalActions(FormContextI ftx)
ftx - active form contextpublic void addAction(FormAction fa, MDIElementI mdie)
fa - form action to registermdie - target MDI element for locally scoped actions, or null to register globallyjava.lang.IllegalArgumentException - if a non-local, non-prototype action is registered in a multi-window environmentpublic void removeAction(FormAction fa, MDIElementI mdie)
fa - form action to removemdie - target MDI element, or null to remove from the global scopepublic void initActions()
Skips execution if initialization is already queued or if no user session is active.
public void initActElRoot()
throws electric.xml.ParseException
electric.xml.ParseException - if the underlying XML action structure is invalid or cannot be parsedpublic void initActionsOnEDT()
Clears existing registrations, parses core XML action definitions,
triggers plugin action re-registration via ClientPluginHelper,
and synchronizes action enablement states across the UI.
public void refreshActions()
public void refreshActionsOnEDT(boolean sync)
sync - true to block until EDT execution finishes; false to queue asynchronouslypublic void checkActionsEnabledStatus()
public void action_reloadProfile()
public void action_serverConsole()
public void action_groovyConsole()
public void action_toggleHiddenProperties(FormAction action)
public void action_toggleBOProperties(FormAction action)
public void action_toggleHistory(FormAction action)
public void action_zoomIn()
public void action_zoomReset()
public void action_zoomOut()
public void action_syncNG()
public void action_exportSystemObjects()
public void action_importSystemObjects()
public void action_openL10n()
public void action_schemaTool()
public void action_switchToMultiWindowDesktopManager()
public boolean action_switchToMultiWindowDesktopManager_available()
public void action_switchToSingleWindowDesktopManager()
public boolean action_switchToSingleWindowDesktopManager_available()
public void action_saveProfile()
Delegates window position serialization to ClientProfileSettingsHelper.saveWindowPosition(de.ipcon.swing.WindowState)
before committing persistent session storage.
public boolean action_changeGuiThemeToDefault_available()
public void action_changeGuiThemeToDefault()
Delegates XML profile cleanup and persistence to
ClientProfileSettingsHelper.resetGuiThemeToDefault().
public void action_changePW()
public void action_quit()
public void action_about()
public void action_keys()
public void action_importLicense()
public boolean action_importLicense_available()
public void action_changeLocale()
public void action_reportAnIssue(FormAction action)
public void action_reportAnIssueFromMDIElement(FormAction action, java.awt.event.ActionEvent event)
public void action_takeScreenshot()
action_takeScreenshot(ActionEvent)public void action_takeScreenshot(java.awt.event.ActionEvent ae)
Target selection adapts to the active window management mode:
Presents a modal file selection dialog for destination path and filename selection. Displays a confirmation dialog upon successful write, or surfaces a descriptive error dialog if image capture, encoding, or file I/O operations fail.
ae - the triggering action event; may be null if invoked programmaticallypublic boolean isIssueReportFormEnabled()
@Deprecated public void action_showReportIssueForm(BO sourceBO, Struktur sourceStruktur, java.awt.event.ActionEvent ae)
public void action_installDawn()
public boolean action_installDawn_available()
public void action_flushCaches()
public void action_flatlafDefaults()
public void action_flatlafInspector(java.awt.event.ActionEvent event)
Only responds if invoked explicitly via menu item to avoid collision with the inspector's built-in global key listener.
Copyright © 2000-2026 OAshi S.à r.l. All Rights Reserved.