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:how to create different sections in Preferences Pages
Next Topic:Synchronize product definition to plugin.xml in headless build?
Goto Forum:
  


Current Time: Fri Aug 18 15:00:03 GMT 2017

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

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