[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.rcp] Re: CommonNavigator display problem on rcp application starting

Sebastien BALARD wrote:
Hi,
i tried this :

@Override
public IAdaptable getDefaultPageInput() {
    return ResourcesPlugin.getWorkspace();
}

No change.

So close :-) Check out org.eclipse.ui.internal.ide.application.IDEWorkbenchAdvisor for the way we set it up, but basically you need:


ResourcesPlugin.getWorkspace().getRoot()


-- Paul Webster http://wiki.eclipse.org/Platform_Command_Framework http://wiki.eclipse.org/Command_Core_Expressions http://wiki.eclipse.org/Menu_Contributions http://wiki.eclipse.org/Menus_Extension_Mapping http://help.eclipse.org/help33/index.jsp?topic=/org.eclipse.platform.doc.isv/guide/workbench.htm