List of usage examples for com.vaadin.server AbstractExtension subclass-usage
From source file com.haulmont.cuba.web.widgets.addons.contextmenu.ContextMenu.java
@SuppressWarnings("serial") public class ContextMenu extends AbstractExtension implements Menu { private AbstractMenu menu = new AbstractMenu(); private ContextClickListener contextClickListener = new ContextClickListener() {
From source file com.haulmont.cuba.web.widgets.CubaClientManager.java
public class CubaClientManager extends AbstractExtension { public void updateSystemMessagesLocale(SystemMessages msgs) { Map<String, String> localeMap = new HashMap<>(); localeMap.put(CubaClientManagerClientRpc.COMMUNICATION_ERROR_CAPTION_KEY, msgs.communicationErrorCaption);
From source file com.haulmont.cuba.web.widgets.CubaCopyButtonExtension.java
public class CubaCopyButtonExtension extends AbstractExtension { protected Button component; protected CubaCopyButtonExtension(Button button) { component = button;
From source file com.haulmont.cuba.web.widgets.CubaFileDownloader.java
public class CubaFileDownloader extends AbstractExtension { public static final String DOWNLOAD_RESOURCE_PREFIX = "download-"; public static final String VIEW_RESOURCE_PREFIX = "view-"; protected boolean overrideContentType = true;
From source file com.haulmont.cuba.web.widgets.CubaHistoryControl.java
public class CubaHistoryControl extends AbstractExtension { protected HistoryBackHandler handler; public CubaHistoryControl() { registerRpc((CubaHistoryControlServerRpc) () -> { if (handler != null) {
From source file com.haulmont.cuba.web.widgets.CubaImageObjectFitPolyfillExtension.java
@WebJarResource("object-fit-images:ofi.min.js") public class CubaImageObjectFitPolyfillExtension extends AbstractExtension { public void extend(CubaImage image) { super.extend(image); }
From source file com.haulmont.cuba.web.widgets.CubaTimer.java
public class CubaTimer extends AbstractExtension implements CubaTimerServerRpc { private static final Logger log = LoggerFactory.getLogger(CubaTimer.class); protected final List<ActionListener> actionListeners = new ArrayList<>(); protected List<StopListener> stopListeners; // lazily initialized
From source file com.mcparland.john.vaadin_mvn_arch.samples.ResetButtonForTextField.java
/**
* An extension adding a button in a text field for clearing the field. Only
* shown when the text field is non-empty.
*
* @see <a href="https://vaadin.com/blog/-/blogs/2656782">Extending components
* in Vaadin 7</a>
From source file com.wcs.vaadin.userinactivity.UserInactivityExtension.java
/** * Extension to track user activity, and inactivity timeout. * * @author kumm */ public class UserInactivityExtension extends AbstractExtension {
From source file com.wcs.wcslib.vaadin.widget.filtertablestate.extension.FilterTableState.java
/** * * @author gergo */ public class FilterTableState extends AbstractExtension {