|Adding attachment programmatically [message #1116243]
||Wed, 25 September 2013 06:23
| Bastian Wagenfeld
Registered: January 2013
I want to use Mylyn to send bug reports from my own RCP. The UI is quite simple and has custom title and description fields. So when the user presses 'Send' a new task is created (newTask = new TaskData(mapper, repository.getConnectorKind(),repository.getRepositoryUrl(), "");).
But I'd also like to add a file as attachment to this task. Does anyone know, how to achieve this?
Is there something like task.addAttachment()?
Best regards and thanks for any kind of help!
Powered by FUDForum
. Page generated in 0.02753 seconds