Hi,

I don't know of a generic way to do what you want. You could create your 
own "save project" action and place it in the main application main menu 
instead of QmitkExtFileSaveProjectAction.

Best,
Sascha

On 02/20/2013 10:47 PM, Nil Goyette wrote:
> Hi,
>
> In our application, we create a BoundingObject that we put in a DataNode
> with the property "helper object" = true, so the user sees it on the
> screen but not on the DataManager. This works quite well, but we also
> want this BoundingObject to be saved when we click on Save Project.
>
> - Line 108 in QmitkExtFileSaveProjectAction.cpp makes it impossible to
> save helper object, which is probably a good idea.
> - The method UpdateNodeVisibility() in QmitkDataStorageTreeModel.cpp
> seems to mean that there's only 2 ways to hide an object : helper object
> and/or empty data. I can't use a helper object and my DataNode is not empty.
>
> So, is there a way to hide an object (probably BaseData object) in the
> DataManager and to still be able to save it with the scene? Thanks for
> your time.
>
> Nil Goyette, M.Sc.
> www.imeka.ca
>
> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_d2d_feb
> _______________________________________________
> mitk-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mitk-users


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to