+++ /dev/null
-/*
-@VaadinApache2LicenseForJavaFiles@
- */
-
-package com.vaadin.terminal.gwt.server;
-
-import java.io.Serializable;
-
-import com.vaadin.terminal.Paintable;
-
-/**
- * Mapper between server side paintable IDs and the actual {@link Paintable}
- * objects.
- *
- * @since 7.0
- */
-public interface PaintableIdMapper extends Serializable {
- /**
- * Get the {@link Paintable} instance corresponding to a paintable id.
- *
- * @param paintableId
- * id to get
- * @return {@link Paintable} instance or null if none found
- */
- public Paintable getPaintable(String paintableId);
-
- /**
- * Get the paintable identifier corresponding to a {@link Paintable}
- * instance.
- *
- * @param paintable
- * {@link Paintable} for which to get the id
- * @return paintable id or null if none found
- */
- public String getPaintableId(Paintable paintable);
-}