On 06/05/2014 11:46 AM, Hortense KIRISLI wrote:
Hi all,
I am struggling understanding how can the default perspective of
plugins be set? I use MITK 2013.09.0.
For instance, how can i specify that a plugin of my project should by
default appear:
- on the left side of workbench, for instance between the 'data
manager' and the 'Image Navigator' plugins.
- as a second tab with the 'Display' renderer in middle of workbench.
Any tip is welcome :)
Regards,
Hortense
Hi Hortense,
if your project does not contain it's on "application extension" (i.e.
it provides a plug-in which contributes an extension to the
org.blueberry.osgi.applications extension point, like for example in
[1]), you currently cannot specify another default perspective. However,
you can extend the default perspective. I can give you hints about that
if this is the case.
If you have your own application extension (and all the other "advisor"
classes needed for a custom workbench application), follow the tips from
Caspars email. You can also have a look at the
my.awesomeproject.exampleapp plug-in of the MITK-ProjectTemplate [2] and
how it defines its default perspective [3].
Best,
Sascha
[1]
https://github.com/MITK/MITK-ProjectTemplate/blob/master/Plugins/my.awesomeproject.exampleapp/plugin.xml
[2] https://github.com/MITK/MITK-ProjectTemplate
[3]
https://github.com/MITK/MITK-ProjectTemplate/blob/master/Plugins/my.awesomeproject.exampleapp/src/internal/QmitkAwesomePerspective.cpp
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users