Hi,

this has been regularly discussed internally :-)

The probably most pressing issue was this:

What should be the behaviour if you repeatedly use the command line form 
to load images, for example if ".mitk" scene files or ".pic" files are 
associated with "ExtApp" in the Windows Explorer and you double click on 
them. (new ExtApp instances, or reuse a running instance -> needs IPC).

I think there is already a bug for it floating around and maybe we 
should just go on and implement a simple working solution (like yours).

Best,
Sascha

On 10/04/2011 08:31 PM, Clarkson, Matt wrote:
> Hi there,
>
> has anyone tried making their application load images or other data from the 
> command line on startup?
> Something like:
>
> ./bin/ExtApp image1.nii image2.nii image3.img etc.
>
> I have tried to do this in QmitkExtWorkbenchWindowAdvisor.cpp, and it appears 
> to work.
> (see attached patch).
>
> Is this the right way to do it? It can probably be improved, as it does 
> duplicate code from the FileOpenAction a bit.
> If we want it including more generally, I can raise a bug, fork MITK, and get 
> it checked in.
>
> Thanks
>
> Matt
>


------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to