I need to equip the module containing a custom view (not being a diagram, properties, etc.) - it should be a simple dockable (e.g. SWT, or Swing) panel with a list of items to select from.
is there any example/tutorial on how to create a custom view inside a Modelio module ? I tried to go through all the modules ad forge, but there seems to be only <PropertyPage> tag inside <Views> in module.xml ...
4 years 4 months ago - 4 years 4 months ago#5099by abe
Hi,
To create a custom view for a module, you need to create a PropertyPage, so you can check this guide
.
Your handler need to implement the IModulePropertyCustomPanel
interface, instead of extending the AbstractModulePropertyPage.
You will then have access to the IPanelProvider
interface from which you can provide your own SWT panel.