List of usage examples for com.vaadin.client ServerConnector isEnabled
public boolean isEnabled();
From source file:org.opencms.ui.client.CmsMaxHeightConnector.java
License:Open Source License
/** * @see com.vaadin.client.extensions.AbstractExtensionConnector#extend(com.vaadin.client.ServerConnector) */// w ww. j a v a 2 s . c o m @Override protected void extend(ServerConnector target) { target.isEnabled(); // Get the extended widget m_widget = ((ComponentConnector) target).getWidget(); addMutationObserver(m_widget.getElement()); addStateChangeHandler(new StateChangeHandler() { @SuppressWarnings("synthetic-access") public void onStateChanged(StateChangeEvent stateChangeEvent) { m_currentHeight = -1; handleMutation(); } }); }