A general rule of thumb is to implement algorithms in modules so that their 
implementations can be shared by different plugins. BlueBerry extensions like 
Views should be implemented in plugins and only contain, well, let's say "GUI 
logic". The actual work is delegated to modules. Look at the Segmentation 
modules of MITK for example. They even have a SegmentationGUI module which 
contains reuseable GUI parts, which are used by the Segmentation Views.

Of course you can also write your whole code including your algorithms in a 
plugin but then you can't share them with other plugins.
________________________________________
Von: vahid kadivarkadivar [[email protected]]
Gesendet: Dienstag, 25. August 2015 06:20
An: [email protected]
Betreff: [mitk-users] the best solution

Hi,
Thanks Stefan for your help and guide in my last post I have a question about 
working with any plugin in mitk what's your  suggestion  about working with 
modules or plugins there are two ways follow bellow:
For example : I want to work with segmentation feature as implemented in plugin 
format which work with blue berry ...... and in other hand we can use 
segmentation module ...

1: using of mitk plugin with out interact with blue berry application framework 
as you mentioned I should refactor and move the part of code in a module and 
......
2;using the module directly and implementation by my self
which way is good in aspect time and simple way
Thanks

------------------------------------------------------------------------------
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to