• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Implementing inter face that is inner in public class

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I'm starting with GWT and MVP architecture, and I'm trying to implement in on of the classes interface, that is an inner in other class. It looks like:

BeerView class in com.package.application.client.view



and this BeerPresenter.Display interface is defined in BeerPresenter class in com.package.application.client.presenter




an there is Presenter interface in com.package.application.client.presenter, that looks like



and it looks like, BeerView doesn't see this Display interface, and I cannot import it unfortunately.

Thanks in advance
 
Bartender
Posts: 2236
63
IntelliJ IDE Firefox Browser Spring Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
And the question is ??
 
Radek Sta
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
question is what I'm doing wrong, because eclipse underlines this BeerPresenter.Display implementation, and only solution it provides is to create new interface class. I don't know why it's not getting implemented.

edit.

ok, sorry for this dumb question, I've manually added import for BeerPresenter class and it solved my problem. Cheers.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic