Customize import dialog [message #1404027] |
Tue, 29 July 2014 08:36 |
Stefan Beer Messages: 4 Registered: July 2014 |
Junior Member |
|
|
Hi,
is it possible to customize the "Import" dialog of a process? (See Properties View when Process is selected -> Definitions -> Import List) I'd like to define imports of a custom type. It would be good to be able to edit the fields "Namespace Prefix", "Location", etc. directly. Using the default implementation I can only import XSD, WSDL, BPMN2 and Java files.
Kind regards,
Stefan
PS: I'm using the nightly build of the Juno release of the modeler with Eclipse 3.8. Can't upgrade to newer version right now.
|
|
|
Re: Customize import dialog [message #1404079 is a reply to message #1404027] |
Tue, 29 July 2014 13:20 |
|
Hi Stefan,
Yes it is. Have a look at the org.eclipse.bpmn2.modeler.wsil plugin which contributes a <importDialog> to the "org.eclipse.bpmn2.modeler.ui" extension point. Let me know if you have any questions on how to implement this.
Cheers,
Bob
|
|
|
|
|
Re: Customize import dialog [message #1404286 is a reply to message #1404200] |
Wed, 30 July 2014 23:48 |
|
Hi Stefan,
The Import object is added to the "Import List" in DefinitionsPropertyComposite. If you need to set your own namespace prefix and import type, you'll have to provide your own <propertyTab> extension and then handle the addListItem(EObject object, EStructuralFeature feature) in your own DefinitionsPropertyComposite. Sorry about this - I didn't foresee this usecase when I wrote the initial API for this feature.
Let me know if you need help with this.
Bob
|
|
|
|
Powered by
FUDForum. Page generated in 0.02773 seconds