[API] dealing with priorites [message #597365] |
Mon, 06 April 2009 14:22 |
Philippe Marschall Messages: 121 Registered: July 2009 |
Senior Member |
|
|
Hi
I'm writing a Mylyn connector for a proprietary in-house issue tracker.
I'm using the connector crash course examples from the EclipseCon
presentation as a basis for my work. I'm now at the end of the examples
and at the point where my issues show up in Mylyn and basic query
functionality works.
The current problem I have is that custom and standardized task
attributes don't show up in the task editor. Right now I'd like to get
the priority to work. I create the priority attribute like this:
TaskAttribute priority =
data.getRoot().createAttribute(TaskAttribute.PRIORITY);
priority.getMetaData().setReadOnly(false).setType(TaskAttrib ute.TYPE_SINGLE_SELECT).setLabel( "Priority:");
However it doesn't show up in the task editor. Additionally I don't know
what value I should set for the attribute PriorityLevel#toString() or
PriorityLevel#getDescription().
Cheers
Philippe
|
|
|
Powered by
FUDForum. Page generated in 0.01943 seconds