Skip to main content


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
Dennis Melzer is currently offline Dennis MelzerFriend
Messages: 244
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
Dennis Melzer is currently offline Dennis MelzerFriend
Messages: 244
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: Thu Mar 28 18:15:35 GMT 2024

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

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

Back to the top