How to get enumeration values without using work item attribute
Hi,
I created a custom enumeration.
I would display in the follow-up action a drop-down list containing the values of this enumeration.
How can I do this without using a work item attribute to find these values ?
I want use directly the enumeration.
The RTC server version is 3.0.1.4.
Thanks.
Regards,
Olivier
One answer
see the IEnumerationClient (and thus some matching service) in the 4.0.1 javadoc.
com.ibm.team.workitem.common.internal.enumeration.Enumeration[] resolveEnumerations(IProjectAreaHandle projectArea, org.eclipse.core.runtime.IProgressMonitor monitor) throws TeamRepositoryException
-
Resolves all persisted enumerations of the provided project area.
-
- Parameters:
-
projectArea
- the project area to find persisted enumerations in. - Returns:
- persisted enumerations of the provided project area.
- Throws:
-
TeamRepositoryException
- in case of an error.