Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Mylyn » Adding attachment programmatically
Adding attachment programmatically [message #1116243] Wed, 25 September 2013 02:23
Bastian Wagenfeld is currently offline Bastian Wagenfeld
Messages: 162
Registered: January 2013
Senior Member

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!
Previous Topic:Automatically Fold Uninteresting Elements Button Missing
Next Topic:MKS Integration
Goto Forum:

Current Time: Mon Jul 28 12:35:15 EDT 2014

Powered by FUDForum. Page generated in 0.08994 seconds