Hi Martin,

On Fri, Mar 11, 2016 at 9:54 PM, Martin Grigorov <[email protected]>
wrote:

> Hi Ernesto,
>
> What do you mean exactly ?
> Interfaces in Java 8 could have default and static methods but cannot have
> member variables (like in Scala).
>

I was expecting them to be similar to Scala Traits :-( os, there not much
to be done in this case :-(


>
> Martin Grigorov
> Wicket Training and Consulting
> https://twitter.com/mtgrigorov
>
> On Fri, Mar 11, 2016 at 7:26 AM, Ernesto Reinaldo Barreiro <
> [email protected]> wrote:
>
> > 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
> >
>



-- 
Regards - Ernesto Reinaldo Barreiro

Reply via email to