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, updateServerHealthequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclientCloseVeto, forcedClientDisconnectInitiated, forcedClientDisconnectStopped, reloadConfig, reregisterActions, serverConnectionRollingOver, serverShutdownInitiated, serverShutdownStopped, updateServerHealthpublic ClientMenuManager(ClientContextI _ctx, electric.xml.Element _el)
public void close()
close in interface ClientPluginIclose in class AbstractClientPluginpublic 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 ClientPluginIgetName in class AbstractClientPluginpublic void localeChanged(java.util.Locale oldLocale,
java.util.Locale newLocale)
ClientPluginIlocaleChanged in interface ClientPluginIlocaleChanged in class AbstractClientPluginpublic void serverIsShutdown(java.util.Date _dateShutdownOnClient,
java.util.Date _dateShutdownOnServer)
ClientPluginIserverIsShutdown in interface ClientPluginIserverIsShutdown in class AbstractClientPluginpublic void serverConnectionEstablished(java.lang.String serverURL)
ClientPluginIserverConnectionEstablished in interface ClientPluginIserverConnectionEstablished in class AbstractClientPluginpublic void serverConnectionLost(java.lang.String serverURL,
java.lang.String reason)
ClientPluginIserverConnectionLost in interface ClientPluginIserverConnectionLost in class AbstractClientPluginpublic void postInit()
postInit in interface ClientPluginIpostInit in class AbstractClientPluginpublic void refreshActions()
refreshActions in interface ClientPluginIrefreshActions in class AbstractClientPluginpublic void refreshActions(boolean sync)
refreshActions in interface ClientPluginIrefreshActions in class AbstractClientPluginpublic 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.