I'm implementing a custom integrator for Mylyn and my
company's internal bug tracker.
When opening a task into Mylyn's TaskEditorPage how can I control the order of
the different widgets (text fields, combo boxes, etc.)?
I have a class that extends AbstractTaskDataHandler. In this class I create
TaskAttributes. The editor then automatically displays widgets for the
TaskAttributes but in seemingly random order. The widgets are not in the order
I create the TaskAttributes, and are not in alphabetic order.
Here's the method I wrote to create the TaskAttributes:
public static TaskAttribute createAttribute(final TaskAttribute parent, final
HsdAttribute key) {
final TaskAttribute attribute =
parent.createAttribute(key.getKey());
attribute.getMetaData().defaults()
.setReadOnly(key.isReadOnly())
.setKind(key.getKind())
.setLabel(key.toString())
.setType(key.getType());
return attribute;
}
I've used the Trac integrator as an example to develop a lot of the other parts
of my code.
I've also referenced the wiki here: http://wiki.eclipse.org/Mylyn/Integrator_Reference
_______________________________________________
mylyn-integrators mailing list
mylyn-integrators@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/mylyn-integrators