Hi Sven,
the only thing you have to do is to set a valid path in your plugin.xml (top
level of your bundle folder). E.g. for the DataManager you will find something
like:
<view
id="org.mitk.views.datamanager"
name="Datamanager"
category="org.mitk.views.general"
icon="resources/DataManager_48.png"
class="QmitkDataManagerView" />
The icon attribute must hold a valid path relative to the plugin.xml file.
Please check it for your own bundle and let us know if it worked.
Regards,
Michael
-----Ursprüngliche Nachricht-----
Von: Sven Strohmer [mailto:[email protected]]
Gesendet: Dienstag, 6. April 2010 13:21
An: [email protected]
Betreff: [mitk-users] Problem in creating own plugin
Dear all,
I'm trying to start with my own plugin. I created its skeleton by using
the generator suggested by the "How to create a new MItK Plug-in"
document. For the sake of simplicity I copied the <CUSTOM_PROJECT_NAME>
directory into the checked out source tree (Sources: current trunk (Apr.
6th 2010) under Modules/Bundles/<CUSTOM_PROJECT_NAME> and re-ran CMake.
Everything worked fine so far: the Plug-in was recognized by CMake and I
checked the box to compile it in. The compilation succeeded also and I
started the ExtApp binary but no icon of the new Plug-in showed up. I
loaded a data set and checked the paths in ExtApp.ini: the result was
all the same.
As a last try I copied the sources of the org.mitk.gui.qt.simpleexample
Plug-in and modified them accordingly, to get a unique ID in coherence
with the directory name. Everything worked fine, except that the icon of
the plugin showed up neither in the toolbar nor in the menu, like above.
What am I missing?
Regards,
Sven
OS: SUSe 11.1
gcc 4.4.1
MITK trunk
VTK 5.4.2
ITK 3.16
Qt 4.6.2
--
------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------
Forschungszentrum Juelich GmbH
52425 Juelich
Sitz der Gesellschaft: Juelich
Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
Vorsitzende des Aufsichtsrats: MinDir'in Baerbel Brumme-Bothe
Geschaeftsfuehrung: Prof. Dr. Achim Bachem (Vorsitzender),
Dr. Ulrich Krafft (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt,
Prof. Dr. Sebastian M. Schmidt
------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users