Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Master/Detail with Interface
Master/Detail with Interface [message #647636] Fri, 07 January 2011 14:07 Go to next message
Sir Wayne is currently offline Sir Wayne
Messages: 210
Registered: July 2009
Senior Member
Hello,

i create a Master Detail Block, but if i register my DetailPage with the Interface as key it doesn't work. Do i have to register the detail pages always with the impl as key? Or is there a possibilty to work with interfaces?

    protected void registerPages(DetailsPart detailsPart) {
//work
            detailsPart.registerPage(MyItemImpl.class, new FahrtDetailPage());
//doesn't work
            detailsPart.registerPage(MyItem.class, new FahrtDetailPage());
        }


Thanks
Re: Master/Detail with Interface [message #654788 is a reply to message #647636] Thu, 17 February 2011 07:49 Go to previous message
Sir Wayne is currently offline Sir Wayne
Messages: 210
Registered: July 2009
Senior Member
nobody an idea?
Previous Topic:cannot make a simple rcp as a product
Next Topic:[Bindings] Removing a key-binding
Goto Forum:
  


Current Time: Fri Sep 19 20:01:19 GMT 2014

Powered by FUDForum. Page generated in 0.02061 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software