Hi,

Recently a new preference has been added to the datamanager view that
enables showing nodes that do not contain data. I want to turn it on
in my application.

I added this into the Start function of my application:

  berry::IPreferencesService::Pointer prefService =
berry::Platform::GetServiceRegistry()
    .GetServiceById<berry::IPreferencesService>(berry::IPreferencesService::ID);

  berry::IPreferences::Pointer prefNodesWithNoData =
prefService->GetSystemPreferences()->Node("org.mitk.views.datamanager");
  prefNodesWithNoData->PutBool("Show nodes containing no data", true);

But the code has no effect. How to turn this option on?

Thanks,
Miklos

------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better 
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to