public class CmsPrincipalSelectExtension extends com.vaadin.server.AbstractExtension implements I_CmsPrincipalSelectRpc
com.vaadin.server.ClientConnector.AttachEvent, com.vaadin.server.ClientConnector.AttachListener, com.vaadin.server.ClientConnector.ConnectorErrorEvent, com.vaadin.server.ClientConnector.DetachEvent, com.vaadin.server.ClientConnector.DetachListener| Modifier and Type | Method and Description |
|---|---|
protected static CmsPrincipalSelectExtension |
getInstance()
Returns the principal select extension instance for the current UI.
|
void |
setCurrentSelect(CmsPrincipalSelect select)
Sets the current select widget.
|
void |
setPrincipal(int type,
java.lang.String principalName)
Sets the principal.
|
extend, getParent, getSupportedParentType, remove, setParentaddAttachListener, addDetachListener, addExtension, addListener, addListener, addListener, addMethodInvocationToQueue, attach, beforeClientResponse, createState, detach, encodeState, equals, fireEvent, getAllChildrenIterable, getConnectorId, getErrorHandler, getExtensions, getListeners, getResource, getRpcManager, getRpcProxy, getSession, getState, getState, getStateType, getUI, handleConnectorRequest, hashCode, hasListeners, isAttached, isConnectorEnabled, isThis, markAsDirty, markAsDirtyRecursive, registerRpc, registerRpc, removeAttachListener, removeDetachListener, removeExtension, removeListener, removeListener, removeListener, removeListener, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler, setResource, updateDiffstateclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitaddAttachListener, addDetachListener, attach, beforeClientResponse, detach, encodeState, getErrorHandler, getExtensions, getRpcManager, getStateType, getUI, handleConnectorRequest, isAttached, isConnectorEnabled, markAsDirty, markAsDirtyRecursive, removeAttachListener, removeDetachListener, removeExtension, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandlerprotected static CmsPrincipalSelectExtension getInstance()
public void setCurrentSelect(CmsPrincipalSelect select)
This needs to be called, when the select window is opened.
select - the select widgetpublic void setPrincipal(int type, java.lang.String principalName)
I_CmsPrincipalSelectRpcsetPrincipal in interface I_CmsPrincipalSelectRpctype - the principal typeprincipalName - the principal nameI_CmsPrincipalSelectRpc.setPrincipal(int, java.lang.String)