Nice! Maybe something similar could be done for ISortableDataProvider
and *private
final *SingleSortState<S> *state *= *new *SingleSortState<S>(); ?

On Thu, Mar 10, 2016 at 9:48 PM, <[email protected]> wrote:

> Repository: wicket
> Updated Branches:
>   refs/heads/master afc4d539d -> 76f289cc7
>
>
> WICKET-6117 Make IGenericComponent a mixin/trait so it could be easily
> reused in custom components
>
>
> Project: http://git-wip-us.apache.org/repos/asf/wicket/repo
> Commit: http://git-wip-us.apache.org/repos/asf/wicket/commit/76f289cc
> Tree: http://git-wip-us.apache.org/repos/asf/wicket/tree/76f289cc
> Diff: http://git-wip-us.apache.org/repos/asf/wicket/diff/76f289cc
>
> Branch: refs/heads/master
> Commit: 76f289cc7a66c54640eb4296f964d717aa4e6197
> Parents: afc4d53
> Author: Martin Tzvetanov Grigorov <[email protected]>
> Authored: Thu Mar 10 21:47:49 2016 +0100
> Committer: Martin Tzvetanov Grigorov <[email protected]>
> Committed: Thu Mar 10 21:47:49 2016 +0100
>
> ----------------------------------------------------------------------
>  wicket-core/src/main/java/org/apache/wicket/IGenericComponent.java | 2 ++
>  1 file changed, 2 insertions(+)
> ----------------------------------------------------------------------
>
>
>
> http://git-wip-us.apache.org/repos/asf/wicket/blob/76f289cc/wicket-core/src/main/java/org/apache/wicket/IGenericComponent.java
> ----------------------------------------------------------------------
> diff --git
> a/wicket-core/src/main/java/org/apache/wicket/IGenericComponent.java
> b/wicket-core/src/main/java/org/apache/wicket/IGenericComponent.java
> index fb7d0a0..27e2216 100644
> --- a/wicket-core/src/main/java/org/apache/wicket/IGenericComponent.java
> +++ b/wicket-core/src/main/java/org/apache/wicket/IGenericComponent.java
> @@ -24,6 +24,8 @@ import org.apache.wicket.model.IModel;
>   *
>   * @param <T>
>   *     the type of the model object
> + * @param <C>
> + *     the type of the component
>   */
>  public interface IGenericComponent<T, C extends IGenericComponent<? super
> T, ?>>
>  {
>
>


-- 
Regards - Ernesto Reinaldo Barreiro

Reply via email to