public class ClientMenuManager extends AbstractClientPlugin implements ClientPluginI
Constructor and Description |
---|
ClientMenuManager(ClientContextI _ctx,
electric.xml.Element _el) |
Modifier and Type | Method and Description |
---|---|
void |
addSpecialMenu(java.lang.String menuName,
int priority) |
static java.lang.String |
canonMenuName(java.lang.String s) |
void |
close() |
ClientContextI |
getCtx() |
javax.swing.JMenu |
getMenu(java.lang.String s) |
javax.swing.JMenuBar |
getMenuBar() |
java.lang.String |
getName() |
void |
handleSpecialMenu(electric.xml.Element el) |
static boolean |
isPermitted(ClientContextI _ctx) |
void |
localeChanged(java.util.Locale oldLocale,
java.util.Locale newLocale)
Called whenever the default locale in @see de.ipcon.tools.L10n is changed.
|
void |
postInit() |
void |
refreshActions() |
void |
refreshActions(boolean sync) |
void |
serverConnectionEstablished(java.lang.String serverURL)
Called if a new server connection was established.
|
void |
serverConnectionLost(java.lang.String serverURL,
java.lang.String reason)
Called if the current server connection was lost.
|
void |
serverIsShutdown(java.util.Date _dateShutdownOnClient,
java.util.Date _dateShutdownOnServer)
Called if the server we were connected to was shut down.
|
void |
setCtx(ClientContextI $21) |
void |
setMenuBar(javax.swing.JMenuBar $22) |
static boolean |
wantsConfigL10ned(ClientContextI _ctx) |
clientCloseVeto, forcedClientDisconnectInitiated, forcedClientDisconnectStopped, reloadConfig, reregisterActions, serverConnectionRollingOver, serverShutdownInitiated, serverShutdownStopped, updateServerHealth
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clientCloseVeto, forcedClientDisconnectInitiated, forcedClientDisconnectStopped, reloadConfig, reregisterActions, serverConnectionRollingOver, serverShutdownInitiated, serverShutdownStopped, updateServerHealth
public ClientMenuManager(ClientContextI _ctx, electric.xml.Element _el)
public void close()
close
in interface ClientPluginI
close
in class AbstractClientPlugin
public static boolean wantsConfigL10ned(ClientContextI _ctx)
public void handleSpecialMenu(electric.xml.Element el)
public void addSpecialMenu(java.lang.String menuName, int priority)
public static java.lang.String canonMenuName(java.lang.String s)
public java.lang.String getName()
getName
in interface ClientPluginI
getName
in class AbstractClientPlugin
public void localeChanged(java.util.Locale oldLocale, java.util.Locale newLocale)
ClientPluginI
localeChanged
in interface ClientPluginI
localeChanged
in class AbstractClientPlugin
public void serverIsShutdown(java.util.Date _dateShutdownOnClient, java.util.Date _dateShutdownOnServer)
ClientPluginI
serverIsShutdown
in interface ClientPluginI
serverIsShutdown
in class AbstractClientPlugin
public void serverConnectionEstablished(java.lang.String serverURL)
ClientPluginI
serverConnectionEstablished
in interface ClientPluginI
serverConnectionEstablished
in class AbstractClientPlugin
public void serverConnectionLost(java.lang.String serverURL, java.lang.String reason)
ClientPluginI
serverConnectionLost
in interface ClientPluginI
serverConnectionLost
in class AbstractClientPlugin
public void postInit()
postInit
in interface ClientPluginI
postInit
in class AbstractClientPlugin
public void refreshActions()
refreshActions
in interface ClientPluginI
refreshActions
in class AbstractClientPlugin
public void refreshActions(boolean sync)
refreshActions
in interface ClientPluginI
refreshActions
in class AbstractClientPlugin
public static boolean isPermitted(ClientContextI _ctx)
public javax.swing.JMenu getMenu(java.lang.String s)
public ClientContextI getCtx()
public void setCtx(ClientContextI $21)
public javax.swing.JMenuBar getMenuBar()
public void setMenuBar(javax.swing.JMenuBar $22)
Copyright © 2000-2025 OAshi S.à r.l. All Rights Reserved.